User control with a script manager causes error with razor view
I am moving a sql server reporting services report viewer to v6 and i am getting a nasty error that looks to be caused by the script manager and the way postback is working.
The report viewer control is encapsulated in a user control which also has the script manager and i am calling the usercontrol from a macro and this is called from my razor view.
I would just remove the script manager but I cant as the report viewer requires it as it has ajax functions for loading the report filters etc.
Here is the error and does anyone know a way i can stop this happening or a way around it? Is it possible to have a standard master page when using Views? This might get around the issue as it all worked fine in v4.
Uncaught Sys.WebForms.PageRequestManagerParserErrorException: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near '
<div style="width:1'.
This may also be down to viewstate. Is it possible to keep using using usercontrols that have controls the utilise viewstate when in the MVC world and umbraco v6 razor views?
User control with a script manager causes error with razor view
I am moving a sql server reporting services report viewer to v6 and i am getting a nasty error that looks to be caused by the script manager and the way postback is working.
The report viewer control is encapsulated in a user control which also has the script manager and i am calling the usercontrol from a macro and this is called from my razor view.
I would just remove the script manager but I cant as the report viewer requires it as it has ajax functions for loading the report filters etc.
Here is the error and does anyone know a way i can stop this happening or a way around it? Is it possible to have a standard master page when using Views? This might get around the issue as it all worked fine in v4.
This may also be down to viewstate. Is it possible to keep using using usercontrols that have controls the utilise viewstate when in the MVC world and umbraco v6 razor views?
Still no luck with this. Any ideas?
Anyone got a standard user control that has a script manager on it working in an MVC view?
is working on a reply...