How can I right a regular expression to check if the 2 properties in an asp.net control have the same name?
Posted
by
xaisoft
on Stack Overflow
See other posts from Stack Overflow
or by xaisoft
Published on 2014-06-13T15:21:22Z
Indexed on
2014/06/13
15:24 UTC
Read the original article
Hit count: 189
I have the following asp.net custom validator:
<asp:CustomValidator runat="server"
ClientValidationFunction="valUCRRequired" ID="valUCRRequired"
ErrorMessage="Field 7-Date/Time Between is Required"
ControlToValidate="DTE_FROM" />
Notice that the ID
and ClientValidationFunction
have the same value. I want to do a regular expression search where they are the same. Right now, I am just searching for all CustomValidators.
© Stack Overflow or respective owner