Skip to main content
Home Forums Silverlight Programming Programming with .NET - General DateMask and Currency mask
5 replies. Latest Post by Agnushallard on November 5, 2009.
(0)
Agnushal...
Member
54 points
140 Posts
11-04-2009 4:13 PM |
How I make Date mask (99/99/9999) and currency mask (0,00)??
How I able the textbox to recive only letters or only numbers??
Sergey.L...
Contributor
7256 points
1,354 Posts
11-04-2009 4:27 PM |
Look http://www.codeproject.com/KB/silverlight/STextBox.aspx
Ardman
3436 points
947 Posts
11-04-2009 4:28 PM |
For a textbox to receive only numbers or text, you'll need to set a validation check to make sure that the entry is valid. You can use regular expressions to make sure that a number has only been entered in a textbox which should only accept numbers.
11-04-2009 5:16 PM |
You are using Stextbox in Silverlight 3??
11-05-2009 2:16 AM |
Yes. And in the metadata class I have, I've assigned a Regular Expression to only allow numbers.
11-05-2009 5:47 AM |
OK, but I have to include stextbox.dll in my project, or I have to include stextbox project in my project?? I read the article in the code project but I don´t understand how I put the stextbox in my project