Hi,
I have on drop down list , according to the selected values
of that list i want to assign regular expression to regular expression
validator. I did like this:-
If ddlCountry.SelectedValue = "1" Then
RegExpValPostcode.ValidationExpression = GetRegularExp(EnumRegExpList.UK_PostCode_Validation)
Else
RegExpValPostcode.ValidationExpression = GetRegularExp(EnumRegExpList.Only_AlphaNumeric_Without_Space)
End If
But it's not working correctly, Pl any one give me any suggestion.
Thanks in advance
Khushboo
|