Retricting TextBox input

Retricting TextBox input

am 09.01.2008 17:27:32 von Paul Jarvis

I have numerous TextBoxes inside a web form.

Please can anyone tell me how to make sure once some text (a number for e.g.) is placed in into a TextBox, then if the same number is placed into another TextBox, an error message is shown.

Thanks in advance

Paul Jarvis
The University of Manchester

Paul Jarvis
PhD Student
The School of Community Based Medicine
The University of Manchester

--
--------------------------------- --- -- -
Posted with NewsLeecher v3.9 Beta 11
Web @ http://www.newsleecher.com/?usenet
------------------- ----- ---- -- -

Re: Retricting TextBox input

am 09.01.2008 20:30:13 von David Wier

Try looking into the compareValidator control

David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup


"Paul Jarvis" wrote in message
news:v62dnS70z79paBnanZ2dnUVZ8h2dnZ2d@giganews.com...
>I have numerous TextBoxes inside a web form.
>
> Please can anyone tell me how to make sure once some text (a number for
> e.g.) is placed in into a TextBox, then if the same number is placed into
> another TextBox, an error message is shown.
>
> Thanks in advance
>
> Paul Jarvis
> The University of Manchester
>
> Paul Jarvis
> PhD Student
> The School of Community Based Medicine
> The University of Manchester
>
> --
> --------------------------------- --- -- -
> Posted with NewsLeecher v3.9 Beta 11
> Web @ http://www.newsleecher.com/?usenet
> ------------------- ----- ---- -- -
>