views:

20

answers:

1

We were having occasional reports where the value of a set of DropDownBoxs in a GridView would be reset to the first value item in the list.

We finally tracked it down to a timing issue where a user would click Save before the page finished rendering/loading the data, and we are able to repro it on the production server but not locally because the page loads too quickly.

How would we go about detecting this on the server side to know the data returned is invalid or otherwise stop from setting data that the user didn't set?

+1  A: 

thought about enable the save button only if the page is loaded?

another suggestion... does the dropdownlist have an id? i've had some curious issues with dynamically generated controls without an id, returning wrong values after a postback...

p0wl