RadPageView stripmode 's selected page index

2 posts, 1 answers
  1. Divya
    Divya avatar
    47 posts
    Member since:
    Mar 2011

    Posted 27 Apr 2011 Link to this post

                    I am using the strip mode in this if i select a page then i need to get the index of that page selected .How can i do this can anyone please explain it......

  2. Answer
    Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 27 Apr 2011 Link to this post


    You can select a page, and then use IndexOf of the Pages collection in the SelectedPageChanged event to get the index of the page

    private void Form1_Load(object sender, EventArgs e)
        this.radPageView1.SelectedPageChanged += new EventHandler(radPageView1_SelectedPageChanged);
        this.radPageView1.SelectedPage = this.radPageViewPage3;
    void radPageView1_SelectedPageChanged(object sender, EventArgs e)
        MessageBox.Show("Page Index " + this.radPageView1.Pages.IndexOf(this.radPageView1.SelectedPage).ToString());

    Hope that helps
Back to Top