Access raddock in command event

2 posts, 0 answers
  1. Karl
    Karl avatar
    172 posts
    Member since:
    Jun 2009

    Posted 05 Oct 2012 Link to this post

    Hi
    Is it possible in the command event of a radDock to access another radDock. I know I can get the sender raddock but I need to get hold of another raddock so I can change it's skin.

    thanks
  2. Karl
    Karl avatar
    172 posts
    Member since:
    Jun 2009

    Posted 05 Oct 2012 Link to this post

    Solved it like this
    for (int i = 1; i < RadDockLayout1.RegisteredDocks.Count(); i++)
                {
                    if (RadDockLayout1.RegisteredDocks[i].ID.ToString() == ActiveSummaryDockID)
                    {
                        RadDockLayout1.RegisteredDocks[i].Skin = "WebBlue";
                        break;
                    }
                
                }
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top