SelectedPage Bug?

5 posts, 0 answers
  1. Daniel
    Daniel avatar
    19 posts
    Member since:
    Nov 2010

    Posted 01 Jun 2011 Link to this post

    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

  2. Alexander
    Admin
    Alexander avatar
    306 posts

    Posted 06 Jun 2011 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 23 Sep 2011 Link to this post

    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
  5. Alexander
    Admin
    Alexander avatar
    306 posts

    Posted 28 Sep 2011 Link to this post

    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 >>

  6. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 29 Sep 2011 Link to this post

    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
Back to Top
UI for WinForms is Visual Studio 2017 Ready