PC Review


Reply
Thread Tools Rate Thread

Dymanic mask for C# ASP.NET TextBox in Web Form

 
 
Joe
Guest
Posts: n/a
 
      24th Sep 2005
I want to provide a mask for a web textbox control that will opperate to
contain a phone number as follows.

Step 1. Text Box is empty:
Step 2 OnFocus the following will appear inside the text box: (___) -
(___ ____)
Step 3 underscores are replaced as user enters data : (123) -(45_ ____)
Step 4 Example of the text box filled : (123) - (456 7890)
Step 5 user deletes a character underscore reappears: (123) - (456 789_)

This all has to happen dynamically - no submit happening.
Anyone know if this is even possible?


--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
check for an instant of a dymanic form Barkingmadscot Microsoft VB .NET 1 9th Apr 2008 02:15 PM
mask a textbox =?Utf-8?B?TWljaGFsaXMgSi4=?= Microsoft Access 19 16th May 2005 06:25 PM
In dotNET windows_based deployment project user interface form, How to mask a textbox for input password? Emaga75 Microsoft C# .NET 1 3rd Aug 2004 11:20 AM
INPUT MASK FOR TEXTBOX IN WINDOWS FORM Cor Ligthert Microsoft VB .NET 4 13th May 2004 02:40 PM
INPUT MASK FOR TEXTBOX IN WINDOWS FORM Val Mazur Microsoft C# .NET 2 4th May 2004 11:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:11 PM.