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

Refresh RadGrid Data Inside a RadWindow

1 Answer 179 Views
Window
This is a migrated thread and some comments may be shown as answers.
Fady
Top achievements
Rank 1
Fady asked on 18 Sep 2011, 05:37 PM
Hi all,

I am developing webparts for Sharepoint using Telerik Controls.
I need to put a RadGrid inside a RadWindow so users could acces it when searching for specific data.
RadGrid data change while choosing specific fields from Combobox from a different control.
My problem is the RadGrid Data that is inside the RadWindow is not changing.
I am opening the RadWindow from javascript and reloading RadGrid Data from server side.
Can you help me with this issue please.

Thank you in advance.

Fady

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 20 Sep 2011, 04:11 PM
Hello Fady,

  It seems that you are using a RadWindow with the ContentTemplate (since you stated that you update the grid from the server event of another control, I doubt this is done cross-page). If this is the case the most likely reason for your issue is the fact that the RadWindow moves its content in the DOM - it has to be a direct child of the form, so it is not located in the place it is declared. This means that you need to put the update panel directly in the ContentTemplate and not around the entire RadWindow, as explained in the following help article: http://www.telerik.com/help/aspnet-ajax/radwindow-ajaxifying.html.


Kind regards,
Marin
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
Window
Asked by
Fady
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or