Hi,
I have a new request about validators, sample:
1- I have a TTextBox linked to a TRequiredFieldValidator (or any other client validator) displayed in dynamic.
2- I validate with the textbox empty so the error message appear and the button is pushed to the right by the error message
3- I fill the textbox, but when i want to click on the button, the error message disapear so the button is moved to the left, and i must re-click
Sample.page
<com:TTextBox ID="textbox" />
<com:TRequiredFieldValidator ControlToValidate="textbox"
Display="Dynamic"
ErrorMessage="blah blah blah blah"
ValidationGroup="v1" />
<com:TButton Text="Click Me..." ValidationGroup="v1" />
I think this is due to the fact that the onblur event on the textbox is lauched before the onclick of the button, it's not a critical bug, but if there's an easy way to invert events order (maybe a timer of 0,000000000001 s will be enough)...
Thanks
Vince