Author: Chaplain Doug | Posted on: 3/12/2010 4:42:52 PM | Views : 499

 VWD 2008 Express.  Visual Basic.
I have a gridview each row of which contains two textbox controls with an associated validator control (comparevalidators).  When I load the page, it takes forever and I give up and stop debugging.  The gridview would be populated with about 224 records if it ever came up.  If I go into the gridview and disable the validators and make them invisible, then the page loads quickly.  Why would these validators make the page hang up?  Thanks for the help.
Also, when the page does hang up loading, I go into the VWD 2008 debugger and see dozens of temporary "anonymous code" modules have been created that contain code like:
function anonymous() { if (!ValidatedTextBoxOnKeyPress(event)) { event.cancelBubble = true; if (event.stopPropagation) event.stopPropagation(); return false; } }and Go to the complete details ...