New Found Freakiness for the Day.......
My end users are starting to test the app I'm building and I get this email form one of them telling me that she can fill out the textboxes on the web form and then hit enter several times and it creates many duplicate entries. So I'm thinking "Yeah right". I mean, heck, I put tons of Required Field Validators all over this form. How can you click that button over and over without them firing?
So I check it out for myself, and sure enough, I filled out the form, tabbed to the Submit button, and began hammering away on the Enter key. I think I got to about 17 times before everything finally caught up to me and then the ReqField Validators fired off. SO DANG IT!! my DataGrid now had 17 duplicate entries in it. I asked around if anyone had heard of such an occurance, and one guy had some code that adds an attribute to the button for the onclick that disables the button until Postback. BUT.............guess what? Since I've already got my Field Validators, ASP.NET is generating it's own onclick. So it's not really seeing mine. We looked in the html, and they are both there. We then tried to add the this.disabled code in a manner that would append it to the generated onclick, but apparently it must read our code first and then generate the other onclick last.
What fun fun fun fun fun................................................................................................
So I guess I'll go back and fight with it some more.