2 posts, 0 answers
  1. Greg
    Greg avatar
    2 posts
    Member since:
    Jun 2012

    Posted 03 Apr 2012 Link to this post

    I have a form within which there are several buttons, each of which
    needs to be programmed to render and display a different PageView
    in the same area of the form.  So the PageView would not be visible
    until called.

    Can I create and store each individual PageView separately from
    my main form and programmatically display them.  If so, how? 
  2. Stefan
    Stefan avatar
    2911 posts

    Posted 06 Apr 2012 Link to this post

    Hi Greg,

    Thank you for writing.

    Here are a few thoughts: 
    • You can create and place the page view on the form and make it invisible by setting its Visible property to false. Then, when needed, make it visible.
    • You can create a UserControl with RadPageView in it, place it on the form, and again control it via the Visible property.
    • You can place the page view on the form and leave it there at all times and if you are using the same ViewMode, you can just clear the Pages collection of the control and fill it with the appropriate pages, according to the pressed button.

    I hope that you find this information useful. Let us know if you have any other questions.

    Kind regards,
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Back to Top