Showmodaldialog, Usercontrol and RadAjaxManager

2 posts, 0 answers
  1. Babu Raghu
    Babu Raghu avatar
    13 posts
    Member since:
    Mar 2010

    Posted 30 Nov 2010 Link to this post

    Hi,

    I have the below controls in my page. (Main Page)
    1. Webuser control (Contains a radtreeview with radmenu)
    2. Radgrid
    3. Button

    Functionality:
    Onclicking button I am opening a Showmodaldialog window. On this window I will add new record and I need to update my Webusercontrol and Radgrid from the main page. But its not updating the usercontrol.

    Please refer the below code what I have in my main page:

    <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="btnAddNewFolder" EventName="Click">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="ucDocumentConsole" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="btnAddNewDocument" EventName="Click">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="ucDocumentConsole" LoadingPanelID="RadAjaxLoadingPanel1" />
                    <telerik:AjaxUpdatedControl ControlID="ucDocumentSpace" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="ucDocumentConsole">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="grdDocumentManager" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>

    Please let me know how can I update the usercontrol after the showmodalwindow closed.

    Thanks in advance.

    Regards,
    Babu R
  2. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 30 Nov 2010 Link to this post

    Hello Babu,

    Please, take a look at this help article that explains how RadAjax control should be used in page->user control scenario and let us know if any of your questions remain unanswered afterwards.

    Best wishes,
    Pavlina
    the Telerik team
    Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top