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

Display Same RadGridView on multiple RadPageView RadPageViewPages

2 Answers 103 Views
GridView
This is a migrated thread and some comments may be shown as answers.
MikeB
Top achievements
Rank 1
MikeB asked on 25 Jul 2016, 04:30 PM

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 Answers, 1 is accepted

Sort by
0
Accepted
Dimitar
Telerik team
answered on 26 Jul 2016, 07:43 AM
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.
0
MikeB
Top achievements
Rank 1
answered on 26 Jul 2016, 07:44 PM

Hello Dimitar,

Wow!  Was that easy!

Thank you so much,

Mike

Tags
GridView
Asked by
MikeB
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
MikeB
Top achievements
Rank 1
Share this question
or