force RadAjaxPanel to update

2 posts, 0 answers
  1. Dave Hollen
    Dave Hollen avatar
    46 posts
    Member since:
    Jan 2010

    Posted 28 Feb 2012 Link to this post


    I currently have a form that contains a User Control (User Control A).  This User Control contains yet another User Control (User Control B).

    On the Form, I have a button called "Create User". 

    On User Control A, I have wrapped User Control B in a RadAjaxPanel.

    When I click the "Create User" button, the User Control B does not update because it is in the RadAjaxPanel.  If I take User Control B out of the RadAjaxPanel, it updates fine when clicking the "Create User" button.

    However, I want to keep User Control B in the RadAjaxPanel so that when I do stuff in User Control B, only User Control B reloads and not the entire page.

    How can I make the "Create User" button click force the RadAjaxPanel wrapped around User Control B post back?

    I would prefer to do all of this (or as much as possible) server side.


  2. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 01 Mar 2012 Link to this post

    Hi Dave,

    The RadAjaxPanel does not provide an Update() method as the regular asp UpdatePanel does. However with RadAjax you can pass different parameters to the ajaxRequest() method and handle the controls updating in the server AjaxRequest accordingly.

    Kind regards,
    Maria Ilieva
    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.
Back to Top