Regular Expression Validator on dropdownlist

  • Thread starter Thread starter Bas Groeneveld
  • Start date Start date
B

Bas Groeneveld

Hi

I want to detect a name in brackets - eg (Bas) - being selected in a
dropdownlist. I intended to use the RegEx validator with ^\(.*\)$ which
should work.

My problem is that the value of the dropdownlist is not the same as the
displayed text (ie it is the ID of the selected item) and the validator
appears to operate on the list value.

Is there a way to link the validator to the displayed text instead of the
value of a dropdownlist control?

(I am using ASP.NET V1)

Thanks
Bas

--

==========================================
Bas Groeneveld
Benchmark Design System and Software Engineering
PO Box 165N, Ballarat North, VIC 3350
Phone: +61 3 5333 5441 Mob: 0409 954 501
 
Thanks

I figured that but hoped that there would be another way.

Cheers
Bas


"Karl Seguin [MVP]" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME
net> wrote in message news:[email protected]...
 
Back
Top