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

PageView

1 Answer 45 Views
This is a migrated thread and some comments may be shown as answers.
Greg
Top achievements
Rank 1
Greg asked on 03 Apr 2012, 09:11 PM
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? 

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 06 Apr 2012, 01:07 PM
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,
Stefan
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Asked by
Greg
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or