Master Pages

2 posts, 0 answers
  1. Kim
    Kim avatar
    24 posts
    Member since:
    Dec 2012

    Posted 19 Dec 2012 Link to this post

    I am really struggling here.

    I have a master page with a Radajaxmanager. On my child form I pop up a Radform. The user enters some data. When they close it the Radajaxmanager ajax_request event fires on the master. How do i update the controls on the child form in code behind withou a full page post back?

    What i was hoping to to is have the ajax_request event fire in the child form so i can update the controls without a postback.

    I tried to capture the event but it is ignored.

     

     


    Dim manager As RadAjaxManager = RadAjaxManager.GetCurrent(Page)

     

    AddHandler manager.AjaxRequest, AddressOf Local_AjaxRequest

     


    Thanks.
  2. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 24 Dec 2012 Link to this post

    Hi,

    In a master page / content page scenarios, the RadAjaxManager instance should go in the master page. The content page should have a RadAjaxManagerProxy defined. This is explained in this online help topic.
    In this case, you can use the RadAjaxManager ajaxRequest() client-side method and handle the AjaxRequest event to update the desired controls.

    All the best,
    Pavlina
    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