.NET Framework Bookmark and Share   
 index > JScript for the .NET Framework > Ajax Sys.WebForms.PageRequestManagerServerErrorExecption Problems
 

Ajax Sys.WebForms.PageRequestManagerServerErrorExecption Problems

Ok, I have looked everywhere to find help on this but no one seems to know much about it. This is all in C# using .NET 2.0 with the corresponding version of the MS Ajax Controls.Here is the general page layout.

[ScriptManager]

[UpdatePanel]

{

[TABLE]

{

[COL1]

{

[TEXTBOX][BUTTON]

}

[COL2]

{

[UpdatePanel]

{

[LABEL]

[AJAX Timer(1000)]

}

}

}

[UpdatePanel]

{

[DIV]

{

[GRIDVIEW]

}

}

}

That is the basic idea. The gridview is bound to a link list that is populated by the textbox. The app works fine unless "<x"(x being any char) is typed in to the textbox. HTMLEncode is enabled on the gridview. I have tried multiple things, such as removing the textbox from any updatePanels, verifying that tracing is not enables and every other suggestion I could find on the net. I get the following error:

[Dialog: "Windows Internet Explorer"]

{

Sys.WebForms.PageRequestManagerServerErrorExecption: An unknown error while processing the request on the server. The status code returned from the server was: 500

}

The error coincides with the timer ticks. The label is also updated with the current time. There are no events associated with the textbox other than readingthe value on click of the button. Any thoughts or suggestions would be greatly appreciated.

Joshua.Pumphrey

Well, just for the record I think I found the problem. The standard textbox does not like HTML of any kind so inserting anything that looks like a markup it gives the error. Must have something to do with the dynamic postback because it works without the AJAX.

Joshua.Pumphrey

Well, just for the record I think I found the problem. The standard textbox does not like HTML of any kind so inserting anything that looks like a markup it gives the error. Must have something to do with the dynamic postback because it works without the AJAX.

Joshua.Pumphrey

You can use google to search for other answers

Custom Search

More Threads

• Eval and \
• Detect selection change? IE6
• Screen Capture usig JavaScript
• DLR support
• VEMap and inherit from it
• Problem with Eval.JScriptEvaluate
• C# + Jscript for game-data?
• sql and javascript
• combobox or Listbox control overlaps
• jQuery in visual studio 2008