This is a migrated thread and some comments may be shown as answers.
SelectedPage Bug?
4 Answers 52 Views
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 01 Jun 2011, 11:48 AM
hi there

RadWizard-Control does not select the pages which are assigned!

radWizard1.SelectedPage = wizardPage1  ->does not set the current page correctly
radWizard1.SelectedPage = radWizard1.Pages[n]    -->does not set the current page correctly

My Example inlcudes 0=welcomePage, 1=CalenderPage, 2=RulePage, 3=Staffinfopage (Help page), 4=FinishPage

Routes allowed are: 0-4,  0-1-4,  0-2-4,  0-3-0, 1-3-1, 2-3-2, 4-3-4

If checking RadWizard.Pages[2].AccessibleName it show the correct Name "RulerPage"
but if assigning "radWizard1.SelectedPage = radWizard1.Pages[2]  another page is displayed.

I have shuffled around the Pages in the Pages.Collection and it seems that a wrong Pointer is returned.
Also it should be possible to  select a WizardPage by "radWizard1.SelectedIndex=1"

Please fix or show me another way thats working, currently its not usable for me!

Thanks Daniel

4 Answers, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 06 Jun 2011, 08:04 AM
Hello Daniel,

Thank you for your question.

I have attached a sample project which demonstrates the selection of RadWizard pages using simple assignment:
this.radWizard1.SelectedPage = this.wizardPage1;

Could you please give us more details / code snippets concerning your scenario? It will help me to investigate your case.

I am looking forward to your reply.

Best regards,
Alexander
the Telerik team
Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
0
Richard Slade
Top achievements
Rank 2
answered on 23 Sep 2011, 04:43 PM
Hi Alexander,

I'm having a similar issue, but I need to invesatigate a little more. In this case, I started with the standard 3 pages (welcome, page, complete) and renamed the pages, and added a new interior page. Selecting it takes me to the complete page instead. I'll try in a test project as soon as I can to try and replicate for you.
Richard
0
Alexander
Telerik team
answered on 28 Sep 2011, 10:12 AM
Hello Richard,

I will be glad if you manage to reproduce the issue you observed. It will help us to investigate it and address it in a future release.

Best regards,
Alexander
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Richard Slade
Top achievements
Rank 2
answered on 29 Sep 2011, 08:54 AM
Hi,

It's fine. I had picked up the project from another dev and there was an error in the code which was causing this. The RadWizard works great.
Thanks
Richard
Asked by
Daniel
Top achievements
Rank 1
Answers by
Alexander
Telerik team
Richard Slade
Top achievements
Rank 2
Share this question
or