Reload two Grids, in Main and in UserControl

4 posts, 0 answers
  1. Erwin
    Erwin avatar
    74 posts
    Member since:
    Apr 2009

    Posted 04 Oct 2010 Link to this post

    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!

  2. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 04 Oct 2010 Link to this post

    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
  3. Erwin
    Erwin avatar
    74 posts
    Member since:
    Apr 2009

    Posted 04 Oct 2010 Link to this post

     

    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.

  4. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 07 Oct 2010 Link to this post

    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
Back to Top