Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange Error message
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Strange Error message
Miscellaneous
Thread ID:
01458427
Message ID:
01458427
Views:
107
I created a user control that has 2 RadioButtonLists and 2 DropDownLists. One set of RadioButtonLists enables one of the DropDownLists. If I drop the control onto a page and run it, it works fine.

However, we're going to end up with 50+ controls, so I'm adding them to the page at runtime, like this:
Control control = LoadControl(ControlName);
PlaceHolder1.Controls.Add(control);
When I click either of the RadioButtonLists or DropDownLists I get
---------------------------
Microsoft Internet Explorer
---------------------------
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 '<!DOCTYPE html P'.
---------------------------
OK  
--------------------------- 
I Googled it and found this, http://weblogs.asp.net/leftslipper/archive/2007/02/26/sys-webforms-pagerequestmanagerparsererrorexception-what-it-is-and-how-to-avoid-it.aspx, but this is all greek to me. I have no clue what's wrong
or how to fix it.

Help!
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform