Re: Input validation
Densial Edmonds <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.web |
|---|---|
| Message-ID | <8832F6C505518645A1A23F8D8CAFEF57F8CAAD@connzaklex0.thewebconduit.com> |
Go to ajax.asp.net, scroll down the page and click on "watch more asp.net ajax videos" and watch #13 (How Do I: Use the ASP.NET AJAX Client Library Controls), use regexp to check for a valid number Densial Edmonds Conduit International Limited 15 Church Street, Onehunga Private Bag 92816, Penrose Auckland Ph : +64 (9) 915 9100 DDI : +64 (9) 915 9128 Fax : +64 (9) 915 9101 Mob : +64 (27) 293 8410 email : [email protected] website : www.thewebconduit.com "If I'd had more time I'd have written less code." CAUTION - This message may contain privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify Conduit International Limited immediately. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of Conduit International Limited. > -----Original Message----- > From: Discussion of building .NET applications targeted for the Web > [mailto:[email protected]] On Behalf Of Gabriel > Sent: Monday, 14 May 2007 8:13 p.m. > To: [email protected] > Subject: [DOTNET-WEB] Input validation > > Hello, > > How can I check the validity input for a check box, I'd like to be sure > then > the user put a number and not a string, how can I do that ? > > In the code-behind too (with tryparse) but in the GUI ? is there a right > way > > for the decimal, I have to cjeck if decimal separator is . or , in my > country is , > > > Regards, > > =================================== > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com