I have a page with a textbox which is used to enter numeric data. If
data is entered, the code goes to the database and gets the relevant
data. If it's left blank, the code assumes that new data is being
entered and allocates a number.
The problem is that the client side validation (custom validator with
Jscript to check for numeric input) on the text box is firing twice.
Any ideas?
Ta.
The textbox has autopostback = true, cos it needs to get the relevant
data (if not invalid). Unless I'm wring (which in reality is most
likely), it's running the code once for the "lost focus" and once for
the postback.
If I'm right, how do I stop one of them?
-- bruce (sqlwork.com)