How can I right a regular expression to check if the 2 properties in an asp.net control have the same name?
- by xaisoft
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.