This error comes when you are using ajax control on your page and also having some java script codes which include the built-in java script function with invalid arguments Or user defined function override the built-in function with invalid arguments.
e.g
function Number() {
var evnt = window.event;
if (parseInt(evnt.keyCode) >= 48 && parseInt(evnt.keyCode) <= 57) {
evnt.keyCode = evnt.keyCode;
return true;
}
else {
evnt.keyCode = 8;
return false;
}
}
Above function Number() is the actually built-in function with some arguments but here it is used as a user defined function width no argument.
Note: Change the function name or give the appropriate arguments to the function to resolved the above error.
Search This Blog
Wednesday, March 30, 2011
Wednesday, March 16, 2011
How to drop sql connection
USE master
GO
ALTER DATABASE database name
SET OFFLINE WITH ROLLBACK IMMEDIATE
ALTER DATABASE database name
SET ONLINE
GO
ALTER DATABASE database name
SET OFFLINE WITH ROLLBACK IMMEDIATE
ALTER DATABASE database name
SET ONLINE
Wednesday, March 2, 2011
Subscribe to:
Posts (Atom)