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

Reload two Grids, in Main and in UserControl

3 Answers 53 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Erwin
Top achievements
Rank 1
Erwin asked on 04 Oct 2010, 11:02 AM

Hello

I have this senario

 <RadSplitter
      <RadPane
           <RadGrid ID="RadGrid1"></RadGrid>
      </RadPane
      <RadSplitBar />
      <RadPane
           <WebUserControl(inside the usercontrol is a Grid named "RadGrid2")
      </RadPane

 </RadSplitter

 <button1
 <button2

How can i reload the RadGrid1 and RadGrid2 on button1 click???
My problem here is that i can not reload the grid inside the usercontrl.

I have tried to reload the WebUsercontrol and the 2 loadingpanel show but the grid did not update its datasource...
It it went through all WebUserControls serverside codes but even if the datasource was new, the display is still old.

Hope you could Help!

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 04 Oct 2010, 03:09 PM
Hi Erwin,

Please take a look at the online resources below to see how the desired functionality can be achieved.
http://www.telerik.com/help/aspnet-ajax/ajxloadusercontrols.html
http://demos.telerik.com/aspnet-ajax/ajax/examples/common/loadingusercontrols/defaultcs.aspx

I hope this helps.

Best wishes,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Erwin
Top achievements
Rank 1
answered on 05 Oct 2010, 04:34 AM

 

Thank you for the link.

I've look at it but did not really think those can solve my problem. Those examples only discuss about loading a single Grid or Usercontrol.  In my part, I have a Grid(RadGrid1) in the Main program and i have another Grid(RadGrid2) in a usercontrol.

My problem is to load and to update the 2 grids at the same time using AjaxManager on button click.

0
Pavlina
Telerik team
answered on 07 Oct 2010, 02:25 PM
Hello Erwin,

Could you please elaborate a bit more on your scenario? Where is placed the button control?Also posting your Ajax settings could help us provide correct solution of the issue.

Regards,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Ajax
Asked by
Erwin
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Erwin
Top achievements
Rank 1
Share this question
or