Display Same RadGridView on multiple RadPageView RadPageViewPages

3 posts, 1 answers
  1. MikeB
    MikeB avatar
    42 posts
    Member since:
    May 2008

    Posted 25 Jul Link to this post

    Hello,

    Is it possible to display a single RadGridView on more than one RagePageViewPage of a RadPageView in the same form?  We have a need for this and do not want to have multiple RadGridView instances to do it because of the overhead.  It seems like you should be able to display the same control in multiple places of a form but so far I haven't had much luck. 

    Thank you for any help with this,

    Mike

  2. Answer
    Dimitar
    Admin
    Dimitar avatar
    1404 posts

    Posted 26 Jul Link to this post

    Hi Michael,

    Thank you for writing. 

    To achieve this you must change the grid parent when the selected page is changed:
    private void RadPageView1_SelectedPageChanged(object sender, EventArgs e)
    {
        radGridView1.Parent = radPageView1.SelectedPage;
    }

    Let me know if I can assist you further.

    Regards,
    Dimitar
    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. MikeB
    MikeB avatar
    42 posts
    Member since:
    May 2008

    Posted 26 Jul Link to this post

    Hello Dimitar,

    Wow!  Was that easy!

    Thank you so much,

    Mike

Back to Top