Hi all, I am using same asp.net page to edit and add data,onle with some feilds disabled and enabled accordingly.Now when i call webmethod from the add page,its working fine.But when i call it from edit page,it is not.Though i am using the same javascript function to call the server side method.Please see the code: .aspx: function KeyCheck() { var KeyID = event.keyCode; if(KeyID==46) { PageMethods.Delete_files(CurrentObj.id); } Now when i try to call this same method through edit,its generating following error : Microsoft JScript runtime error: Sys.Net.WebServiceFailedException: The server method 'Delete_files' failed with the following error: Please help. ...
Go to the complete details ...