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

4 posts, 0 answers
  1. Sindhuri
    Sindhuri avatar
    2 posts
    Member since:
    Sep 2013

    Posted 04 Sep 2013 Link to this post

    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
  2. George
    Admin
    George avatar
    500 posts

    Posted 09 Sep 2013 Link to this post

    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 >>
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Sindhuri
    Sindhuri avatar
    2 posts
    Member since:
    Sep 2013

    Posted 11 Sep 2013 Link to this post

    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.
  5. George
    Admin
    George avatar
    500 posts

    Posted 16 Sep 2013 Link to this post

    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 >>
Back to Top