Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

masked textbox in asp.net 2.0

Status
Not open for further replies.

LonnieJohnson

Programmer
Apr 16, 2001
2,628
US
I want to put input mask on two texboxes.

One for military time "22:15"

One for short date "01/01/07"

I know there is a masked textbox in the toolbox but I can't seem to be able to get it in the toolbox container. Does this only work with windows forms?

Is there someother control I can pull in?

How do others do it?


ProDev, MS Access Applications
Visit me at ==>
May God bless you beyond your imagination!!!
 
The masked textbox is s windows control. Since you want to do this on the client, you'll have to use javascript.

The AJAX toolkit has a control with this functionality built into it if you wanted to use that one:



____________________________________________________________
Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]

Need help finding an answer? Try the Search Facility or read FAQ222-2244 on how to get better results.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top