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

How can i connect 2 RadPageViews

3 Answers 70 Views
PageView
This is a migrated thread and some comments may be shown as answers.
Saydou
Top achievements
Rank 1
Saydou asked on 21 Mar 2015, 03:01 PM

I have 2 RadPageViews the first one is the main (RadpageView1)
and the second one (RadpageView2) and it is inside the RadpageView1's tab 5, so i
want when i click a button located (RadpageView2), to open RadpageView1's
tab 6.

This Picture shows more clearly please look.

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimitar
Telerik team
answered on 25 Mar 2015, 02:21 PM
Hello Saydou,

Thank you for writing.

You can use the SelectedPage property:
radPageView1.SelectedPage = radPageView1.Pages[5];

Please let me know if there is something else I can help you with. 
 
Regards,
Dimitar
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Saydou
Top achievements
Rank 1
answered on 25 Mar 2015, 05:53 PM
Thanks for the reply Dimitar it solved the problem.
but this code was C# so i had to convert to VB code thanks to telerik code converter

For those behind this is the VB code:
radPageView1.SelectedPage = radPageView1.Pages(5)
0
Dimitar
Telerik team
answered on 26 Mar 2015, 03:44 PM
Hi Saydou,

Thank you for writing back.

If the preferred language is not specified, we use C#. If you are using Visual Basic you should specify that and we will use it. And indeed the Telerik Online Converter is a very good tool for this.

Do not hesitate to contact us if you have other questions.

Regards,
Dimitar
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
PageView
Asked by
Saydou
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Saydou
Top achievements
Rank 1
Share this question
or