raddock Title background color

2 posts, 0 answers
  1. Adam King
    Adam King avatar
    23 posts
    Member since:
    May 2010

    Posted 10 May 2013 Link to this post

    I'm trying to set a radDock Title's background color in a user control dynamically in code-behind.
    I can set the dock's background but Im not sure how to access just the title bar

    The one thing I've found that works is some css I've placed on the control
    <style type="text/css">     
        background-color: pink;

    however this changes all the radDocks on the page and is not dynamic.
    so Is there a way to access in codebehind dock title background dynamically.
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 13 May 2013 Link to this post


    I guess you want to access the RadDock TittleBar from code behind and give BackGround Color.

    protected void Page_Load(object sender, EventArgs e)
           RadDock1.TitlebarContainer.BackColor = System.Drawing.Color.Aqua;

  3. DevCraft R3 2016 release webinar banner
Back to Top