Bring a specifc rad pane into focus when using RadPaneGroupRegionAdapter

2 posts, 0 answers
  1. YK
    YK avatar
    6 posts
    Member since:
    Nov 2011

    Posted 03 Jun 2013 Link to this post

    In the application we are developing we have a Raddocking control which hosts a RadSplitContainer, inside of which is a RadPaneGroup. This RadPaneGroup acts a region. RadPaneGroupRegionAdapter is used to add panes to the target (which is a RadPaneGroup in this case). Below is the adding logic that is being used. The problem is that I have to bring the first rad pane into focus. Is there a way to that. Right now whenever a new pane is added the focus shifts to the newly added pane.
    Appreciate any pointers

    region.Views.CollectionChanged += (s, e) =>
                   switch (e.Action)
                       case NotifyCollectionChangedAction.Add:
                           foreach (var i in e.NewItems)
                               if (i is RadPane)
                                   (i as RadPane).CanUserClose = true;                               
  2. Kalin
    Kalin avatar
    1190 posts

    Posted 06 Jun 2013 Link to this post

    Hello Yateesh,

    In order to bring a specific Pane on focus you should use ActivePane property of the Docking control. Please see the following example:

    this.radDocking.ActivePane = pane3;

    Hope this helps.


    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft R3 2016 release webinar banner
Back to Top