Validation Bug

  • Thread starter Thread starter Alvin Bruney
  • Start date Start date
A

Alvin Bruney

I've found a bug with the validation controls. If the internet connection is
slow causing the page to load slowly this causes a problem. If the page is
not fully drawn and the data isn't yet in the page, then clicking a button
(which causes validation) will cause a bomb out. I suspect because the data
is not in the field to be validated yet.

This is troubling because the more users use the application the more
familiar they become with it and they won't wait for the entire page to load
instead they will click whatever button they need to as soon as it appears
and not wait for the whole page to load. This will cause the validation
mechanism to bomb out with an annoying script error. Then, the field to be
validated never ever gets its value unless a refresh is done.

Very sucky in my opinion. Very very sucky
 
Hi Alvin,

It's not a validation bug, it's a "feature" of the way that the browser
render the page in the best case. What is happening may happen no matter
what technology you are using, if you start to interact with the page BEFORE
the page is fully loaded this kind of situations may happen, the worst thing
is that there is nothing to do to avoid it !!! , nevertheless there are
workarounds for this.
- You can avoid the iteraction with the page until it's fully loaded, you
can do this by inserting the entire page ( or at least the page's form) in a
layer invisible by default and in the OnLoad event make this layer visible.

You can also think in another solution, that was one that I used a while
ago.

Hope this help,
 
Back
Top