Dynamically created RadXmlHttpPanel inside an Ajax Panel

4 posts, 0 answers
  1. Mike
    Mike avatar
    25 posts
    Member since:
    Aug 2010

    Posted 25 May 2012 Link to this post

    I have an aspx page that contains an asp:panel that has been ajaxified.  This is working successfully for partial page refreshing within this panel.

    There is one scenario that is not working.  In the scenario, I dynamically create a user control inside the ajaxified panel, and inside that user control is a RadXmlHttpPanel. 

    I get the following javascript error when the page loads in the browser after the postback:
    'EditModeStylectl00_cphLeft_ReportPage1_Filter1_63_selVen...' is undefined.

    Within the Visual Studio debugger, I see the error is breaking inside this javascript function:

    function

    Sys$_Application$add_init(handler)

    I think maybe what is happening is that part of what is needed to make the RadXmlHttpPanel work correctly is coming within the response AFTER the end tag for the ajaxified panel.  So after the postback, my browser is ignoring some of the javascript needed to properly wire up or initialize the RadXmlHttpPanel.

    Is there a way to dynamically load a RadXmlHttpPanel inside an ajaxified panel without getting this error?

    Thank you in advance for any help you can provide,
    Mike


  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 30 May 2012 Link to this post

    Hello Mike,

    In case you are using RadScriptManager and RadStyleSheetManager on the page please set EnableScriptCombine="false" for RadScriptManager and EnableStyleSheetCombine="false" to RadStyleSheetManager and verify if this makes any difference.

    Greetings,
    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.
  3. Mike
    Mike avatar
    25 posts
    Member since:
    Aug 2010

    Posted 30 May 2012 Link to this post

    I just tried this and it did not make a difference.
  4. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 04 Jun 2012 Link to this post

    Hello Mike,

    I would suggest you to continue our communication in the support ticket you have opened for the same issue, Thus we will be able to better track the problem.

    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