Allowing only character values in Textboxes
-
-
You can have a onKeyUp event handler and check for the Ascii code of the keys. Vasudevan Deepak Kumar Personal Web: http://www.lavanyadeepak.tk/ I Blog At: http://www.dotnetjunkies.com/weblog/deepak/
http://deepakvasudevan.blogspot.com/
http://deepak.blogdrive.com/ -
You can have a onKeyUp event handler and check for the Ascii code of the keys. Vasudevan Deepak Kumar Personal Web: http://www.lavanyadeepak.tk/ I Blog At: http://www.dotnetjunkies.com/weblog/deepak/
http://deepakvasudevan.blogspot.com/
http://deepak.blogdrive.com/ -
this article checks the date format and it is good example for ur request. http://www.codeproject.com/useritems/txtDate.asp hope helps
-
hi, If you have any code for that then plz send it to me. Waiting for ur help. Regards, riz
http://javascript.internet.com/forms/dfilter.html[^] Vasudevan Deepak Kumar Personal Web: http://www.lavanyadeepak.tk/ I Blog At: http://www.dotnetjunkies.com/weblog/deepak/
http://deepakvasudevan.blogspot.com/
http://deepak.blogdrive.com/ -
-
Why Not just use a regular expression validator on the page with the text box you want to control. End of Line.
-
Why Not just use a regular expression validator on the page with the text box you want to control. End of Line.
-
Drag a regular expression validator from the toolbox onto the page containing the textbox to validate. In the properties panel find the regular expression property and type [a-zA-Z] in the controlToValidate property set the textbox id from the dropdown list. if you want to include spaces as well alpha characters the expression will be /s[a-zA-Z] including the square brackets. for a full and detailed explanation of regular expressions see.. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconCOMRegularExpressions.asp http://www.ViSYNERGY.com End of Line.
-
Drag a regular expression validator from the toolbox onto the page containing the textbox to validate. In the properties panel find the regular expression property and type [a-zA-Z] in the controlToValidate property set the textbox id from the dropdown list. if you want to include spaces as well alpha characters the expression will be /s[a-zA-Z] including the square brackets. for a full and detailed explanation of regular expressions see.. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconCOMRegularExpressions.asp http://www.ViSYNERGY.com End of Line.
hi, You had specified that: In the properties panel find the regular expression property and type [a-zA-Z]. But i cant find any regular expression property. Where do i have to type [a-zA-Z]? I got the controlToValidate property.Please guide me on this point. Thanks a lot.