This is a migrated thread and some comments may be shown as answers.

Add RadPane to Group without navigating to it

2 Answers 21 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Diogo
Top achievements
Rank 1
Diogo asked on 02 Dec 2015, 06:10 PM

Good afternoon,

As the title says, I am looking for a way to add a new pane without navigation to it / having it selected.

I've searched around google and even in the forums and documentation but I haven't found an example or answer (maybe I'm searching for the wrong terms).

Any help will be appreciated.

 

Thanks in advance,

Diogo

2 Answers, 1 is accepted

Sort by
0
Geri
Telerik team
answered on 07 Dec 2015, 02:01 PM
Hi Diogo,

In a nutshell, every RadPane has a IsSelected property that determines which pane is selected at the moment. When adding a pane, its IsSelected property is true by default.

Please find attached a sample project we made to demonstrate the desired behavior. We provided two options:
  • You can set the IsSelected = true to a pane of your choice, that will stay active when adding new panes;
  • You can set IsSelected = false to the newly added pane, which will result in having no selected panes;

Please take a look and let us know does any of the approaches work for you.

Hope this helps.

Regards,
Geri
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Diogo
Top achievements
Rank 1
answered on 07 Dec 2015, 03:08 PM

Thank you for your help Geri. I was aware of that property and its usage, I was just not sure if it was the only way and when was the correct timming to use it. With the sample I finally understood it.

Thank you once again ;)

Tags
Docking
Asked by
Diogo
Top achievements
Rank 1
Answers by
Geri
Telerik team
Diogo
Top achievements
Rank 1
Share this question
or