Sys.WebForms.PageRequestManagerServerErrorException
-
Hi, I'm getting an error when i am calling the click event of asp button through javascript. Error : Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Text property cannot be set. String was not recognized as a valid DateTime. I am not getting the cause of the error. Pls help me in this matter.
-
Hi, I'm getting an error when i am calling the click event of asp button through javascript. Error : Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Text property cannot be set. String was not recognized as a valid DateTime. I am not getting the cause of the error. Pls help me in this matter.
You are setting a string that is not a date to a "Text" property of a control that expects a date string.
______________________ Dominic Goulet FroggedSoft
-
You are setting a string that is not a date to a "Text" property of a control that expects a date string.
______________________ Dominic Goulet FroggedSoft
Thanks for your answer. But i am not setting any string to any control that expects a date string. I am just calling click event of asp button from javascript for e.g. document.getElementById("asp:button").click(); I have set a debug point on the click event of the button on aspx.vb file. While debugging before going to the click event of the button i.e. debug point, I am getting mentioned Exception. Pls tell me what to do?
-
Thanks for your answer. But i am not setting any string to any control that expects a date string. I am just calling click event of asp button from javascript for e.g. document.getElementById("asp:button").click(); I have set a debug point on the click event of the button on aspx.vb file. While debugging before going to the click event of the button i.e. debug point, I am getting mentioned Exception. Pls tell me what to do?
Can you provide me : 1. The html code for the button 2. The javascript function that is called. 3. The javascript function call. 4. The button event code. Thanks
______________________ Dominic Goulet FroggedSoft