Jul 08, 2011, 7:37 PM
[CLOSED] how to control the validation sequence between the client side validation and remote validation
Hi:
I have a textfield which I need to apply some validation rules on it.
1. the input length must between 4 and 50
2. if the input length is ok, then use remote validation to check the input is match the business rules
here is my textfield markup
Even I input 3 length string, the remote validation will always fired.
My question is whether is a way to control the validation process?
Thank you
I have a textfield which I need to apply some validation rules on it.
1. the input length must between 4 and 50
2. if the input length is ok, then use remote validation to check the input is match the business rules
here is my textfield markup
<ext:TextField ID="textPlanName" Width="270" AllowBlank="false" MaxLength="50" MinLength="4"
runat="server" FieldLabel="Name"
ValidateOnBlur="false" MsgTarget="Side" Text=""
BlankText="You must input the name." IsRemoteValidation="true">
<RemoteValidation Url="~/Controller/CheckName" Json="true" Delay="300" >
</RemoteValidation>
</ext:TextField>
I found I can not control the validation sequence.Even I input 3 length string, the remote validation will always fired.
My question is whether is a way to control the validation process?
Thank you
Last edited by Daniil; Jul 11, 2011 at 10:11 AM.
Reason: [CLOSED]