This is a migrated thread and some comments may be shown as answers.

Dynamically created RadXmlHttpPanel inside an Ajax Panel

3 Answers 34 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 25 May 2012, 10:38 PM
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


3 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 30 May 2012, 12:16 PM
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.
0
Mike
Top achievements
Rank 1
answered on 30 May 2012, 03:04 PM
I just tried this and it did not make a difference.
0
Maria Ilieva
Telerik team
answered on 04 Jun 2012, 07:07 AM
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.
Tags
Ajax
Asked by
Mike
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Mike
Top achievements
Rank 1
Share this question
or