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

how to move to next tab of radpageview

3 Answers 196 Views
PageView
This is a migrated thread and some comments may be shown as answers.
Tendai
Top achievements
Rank 1
Tendai asked on 02 Mar 2012, 09:58 AM
I have a radpageview control with about six tabs and on run time it starts with the first page open. So if a person wants to enter data into the database he will fill in the information on the first page if he presses the tab button the cursor will be moved to the next predesignated control.but when it comes the time to go to a textbox on another page of the radpageview it does not do this. Ive tried the code below but it has not yielded reults

is there anyone with any suggestions 
RadPageViewPage2.Focus()
 RadPageViewPage2.Select

3 Answers, 1 is accepted

Sort by
0
Ivan Petrov
Telerik team
answered on 07 Mar 2012, 09:25 AM
Hi Tendai,

Thank you for writing.

To select a page in the RadPageView, you can use the SelectedPage property:
Me.RadPageView1.SelectedPage = Me.RadPageViewPage2

I hope this will help you. Should you have further questions, I would be glad to assist.

Kind regards,
Ivan Petrov
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
0
Chuck
Top achievements
Rank 1
answered on 24 Feb 2014, 09:03 PM
I have a radPageView on a form and want to have one button called next that will programmatically select the next tab in the page view.

what ever tab is showing go to the next one. similar to the built in scroll buttons I just want to control them via my own button.

is this possible?

the reply "Me.RadPageView1.SelectedPage = Me.RadPageViewPage2" references the pages by name I want to access them by index.
0
Stefan
Telerik team
answered on 25 Feb 2014, 01:57 PM
Hi Chuck,

Thank you for writing. 

You can do that by using the Pages collection of the RadPageView control, where all the pages are stored and can be accessed via index.

I hope this helps. 

Regards,
Stefan
Telerik
Tags
PageView
Asked by
Tendai
Top achievements
Rank 1
Answers by
Ivan Petrov
Telerik team
Chuck
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or