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

TelerikDockPanel Expand and Collapse

1 Answer 56 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ruth
Top achievements
Rank 1
Ruth asked on 04 Oct 2013, 02:29 PM
HI All,

        I need an idea how to implement the below one.
        
            I have two RadDockPanels in a usercontrol,where one dock panel has another usercontrol which consists of telerik rad gridview as a child element and another as the graph related to the data in the grid view.

The requirement is there is one control whether a button or toggle when we click on it only dock panel 1 with grid view expanded should be appeared in the screen and the other dock panel should get collapsed and a button to reset it else if it is a toggle when we again click on it,it should get reset.

I am short of ideas,could any one help me out in this soon,

Thanks,
Ramya

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 09 Oct 2013, 01:56 PM
Hi Ramya,

As far as we understand the desired scenario you need basically to have two Panes and by clicking a Button to changed their visibility? If so you can easily switch their IsHidden property in order to show/hide them. For your convenience we have prepared sample project which demonstrates the approach.

Please check the attachment and let us know if this works for you. If this is not the desired behavior I will ask you to provide some more details on the requirements.

Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
General Discussions
Asked by
Ruth
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or