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

Need help in making the radpageview to change it's size flexibly

3 Answers 106 Views
PageView
This is a migrated thread and some comments may be shown as answers.
Sindhuri
Top achievements
Rank 1
Sindhuri asked on 04 Sep 2013, 07:34 AM
Hi Team,

I have a requirement like 
i have a radForm in which radPageview and radPropertygrid controls are present.Here the radPageView size is not resizable,its statis.i want a functionality if i maximize the radPageview at runtime radPropertyGrid has to reduce its size accordingly and vice versa.something just like visual studio docking option

3 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 09 Sep 2013, 08:26 AM
Hello Sindhuri,

Thank you for contacting us.

You can subscribe to the SizeChanged event of the RadPageView and change the RadPropertyGrid's value accordingly. I have prepared a sample project which demonstrates this approach, please find it attached below.

You can also try to Dock or Anchor you controls. There is a nice article here which can help you in that scenario.

I hope this helps.

Regards,
George
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
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 >>
0
Sindhuri
Top achievements
Rank 1
answered on 11 Sep 2013, 07:49 AM
Hi george,
Thanks for your solution.But,i am not supposed to add extra radbuttons to my form according to the requirement given to us.So could you please suggest me other solution using radsplitcontainer.
0
George
Telerik team
answered on 16 Sep 2013, 08:44 AM
Hello Sindhuri,

Thank you for writing back.

Please take a look at the attached modified project. I have docked the RadPropertyGrid and RadPageView and subscribed for the SizeChanged event of the RadPageView.

You can also take a look at our help article about RadDock here - http://www.telerik.com/help/winforms/dock-getting-started.html. This is like the docking feature you are describing in VisualStudio.

I hope this helps. If you have any other questions, please do not hesitate to ask.

Regards,
George
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
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
PageView
Asked by
Sindhuri
Top achievements
Rank 1
Answers by
George
Telerik team
Sindhuri
Top achievements
Rank 1
Share this question
or