|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Input/Display Masks??Is there a method for Masks to be used in C# web application? I found
documentation on MaskedProviders but I can’t find any detailed examples of how it’s implemented. On top of that I think it’s just for client based win forms and not ASP. Basically, the user needs to be able to free type a date , phone, or whatever the case may be 1102006 and either on lost focus in the control I want to redisplay with mask or before saving to the database I want to mask it as 11/10/2006. I would hope that a mask property of some sort would help me here so I wouldn’t have to write a bunch of tedious string manipulation code. Any ideas? -- JP ..NET Software Developer > documentation on MaskedProviders but I can't find any detailed examples of MaskedProviders for ASP.Net? I don't think they exist yet> how it's implemented. On top of that I think it's just for client based > win You'll need to write javascript that will be in action on "onchange" (client-side, javascript) of the textbox (input type=text). It should be easy to write... if you want to have a "generic arch" for masked providers... have a look at NetAdvantage to get a clue on how it can be built. -- Happy Hacking, Gaurav Vaish | www.mastergaurav.com www.edujinionline.com http://eduzine.edujinionline.com ----------------------------------------- |
|||||||||||||||||||||||