Error in casting

Posted by Nasser Hajloo on Stack Overflow See other posts from Stack Overflow or by Nasser Hajloo
Published on 2010-05-29T12:36:32Z Indexed on 2010/05/29 12:42 UTC
Read the original article Hit count: 276

Filed under:
|
|
|
|

I have a simpleAsp.net page which I make it Ajaxable. everything works fine but I face with a problem whenever a specific method calls.

Actually the Browser tell me that

  Sys.WebForms.PageRequestManagerServerErrorException: Unable to cast object of type 'System.Web.UI.LiteralControl' to type 'System.Web.UI.WebControls.WebControl'.

I do not know how to resolve it. Any help appriciates.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about ASP.NET