Monday, November 01, 2004

ASP.NET 1.1 sp1 work around

We have live server running more than 18 sites on IIS5 on W2K box. There was no problem until we updated service pack1 for dot net version1.1. After updating the system everything seems to be working upside down. My all forms were filled with all type of validators were firing properly except the submit button was alone not working. But finally got the clue when i googled it .(Thanks to google :-) I couldnt even imagine cause if i don't have access to google.) As it is suggested in the page I tried copying the files manually to the aspnet_client folder of the site. it didnt help me out was worried and aspnet_regiis -i also not helped much, when i tried echo %path% it was not displaying latest verision dot net i tried configuring manually couldnt solve the problem.
Later followed the suggestions which was given in the comments sections worked exactly as i want.
Before Change:
function ValidatorCommonOnSubmit()
{
var result = !Page_BlockSubmit;
Page_BlockSubmit = false;
event.returnValue = result;
return result;
}
After Change:
function ValidatorCommonOnSubmit()
{
event.returnValue = !Page_BlockSubmit;
Page_BlockSubmit = false;
return event.returnValue;
}
thanx wilson.