Author: SaraDob | Posted on: 6/30/2009 6:48:58 AM | Views : 343

 Hi,
I have going around this error for a while now.Now i realised , there is nothing wrong with my code.can you please help me realise , Why the erros is being thrown?
I'm calling a javascript function ( on textchanged on text box).In that  javascript, i  have Used Pagemethods to call a server side function(in Code behind) to check ,if the Customer entered is in database or not?
I have used
1) Script manager and enabled page methods
2) I have declared the server side method with 
<System.Web.Services.WebMethod()> _

The roor throws up if i enter anything in the textbox: The Server Method"CheckCust" failed. everytime. But few time, it does not. it works correctly. I don't know under what circumstances, the error is throwing up.
 
I will paste my code below.PLEASE HELP ME in solving this scandulous error.
Thanks.
&nbs ...

Go to the complete details ...