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.
Update : here is the code : I'll remove this section after getting answer
I removd the code because there were no answer