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

Refresh radgrid in usercontrol in a multipageview from RadWindow

3 Answers 137 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Shuja
Top achievements
Rank 1
Shuja asked on 12 Mar 2013, 06:00 PM
Hi,

I have a main page which has a RadTabStrip with several tabs & each of these tabs has a page from a RadMultipage assigned to it. Each page has a usercontrol that i have defined which is a Radgrid with different data in each one.

I also have a radwindow which open the edit window to modify records that the radgrids display. This works fine except once i close the RadWindow, the radgrid in the usercontrol within the pageview does not update. I have tried to databind the RadTabStrip, the RadMultipage control & the Radgrid itself but i don't seemt o be able to get the Radgrids to refresh unless i refresh the whole page.

Can anyone help with refreshing (rebinding) the radgrid within a usercontrol which is used on a RadMultipage tabstrip & is being updated from a radwindow?

Regards,

Shuja

3 Answers, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 15 Mar 2013, 12:26 PM
Hello Shuja,

Please refer to our online demo, where similar functionality is implemented. You could observe the implementation under the "View Source" Tab.

Kind regards,
Nencho
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Shuja
Top achievements
Rank 1
answered on 15 Mar 2013, 12:33 PM
Hi Nencho,

Thank you for you rresponse but, as far as i can tell, your online demo does not have a Radgrid created in a custom UserControl.
This is the heart of the problem in my scenario. I need to update the Radgrid, which is created in a custom usercontrol and used in the radTabStrip for multipage tabs, from a pop-up edit window.

Is there a solution for this?

regards,

Shuja 
0
Nencho
Telerik team
answered on 20 Mar 2013, 11:21 AM
Hello Shuja,

Could you elaborate on the approach you had used to load the UserControls in the PageViews? Did you followed the approach demonstrated in the online demo? If so, you could add a reference to the user control in the ViewState and once there is an update, you could access the UserControl and rebind the RadGrid like demonstrated in the previously provided online demo.
If the issue still persist, I would like to ask you to open a support ticket, along with a runnable sample attached, in order to inspect and troubleshoot the problem locally for you.


Kind regards,
Nencho
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
TabStrip
Asked by
Shuja
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Shuja
Top achievements
Rank 1
Share this question
or