Skip to main content
Home Forums Silverlight Programming Silverlight Controls and Silverlight Toolkit Masked Textbox anyone?
10 replies. Latest Post by nasiraziz on February 26, 2009.
(0)
nasiraziz
Member
245 points
88 Posts
02-25-2009 11:15 PM |
Seriously, no masked Textbox in SL2? Anyone?
fullsail...
Contributor
3699 points
829 Posts
02-25-2009 11:53 PM |
Yup. Crazy stuff.
02-25-2009 11:59 PM |
You know what I am talking about right?
Like I want to force a format (425)123-4567 - that mask?
murtaza....
Participant
1659 points
378 Posts
02-26-2009 12:11 AM |
try using these validators.
in your case u can use the phone validator to format and verify the format in which the input has been given
02-26-2009 12:21 AM |
murtaza.dharwala: try using these validators. in your case u can use the phone validator to format and verify the format in which the input has been given
Which ones? Are you talking about these: http://www.codeplex.com/SilverlightValidator
Well, with SL I hope to make RIAs and expected some common business controls - Above validators are like going back in time... Can't believe how much time is wasted looking for simplest of things. Hopefully SL3 supports real buisness apps/needs. humph!
02-26-2009 12:53 AM |
Any UIElement in Silverlight can have a style or template applied to it to suit your tastes. Sometimes it's difficult for people to learn new things. If there is something you think needs to be added to Silverlight so that you can develop real applications post a topic because the engineers are always open to new ideas.
02-26-2009 1:10 AM |
fullsailrick:Any UIElement in Silverlight can have a style or template applied to it to suit your tastes. Sometimes it's difficult for people to learn new things. If there is something you think needs to be added to Silverlight so that you can develop real applications post a topic because the engineers are always open to new ideas.
I understand that, the styles the templates, and the controls - and how they can be styled and templated all day long. But the standard stuff should be part of the core I suppose. I dont wanna spend hours just to create a masked textbox - but I guess I am gonna have to now.
MS engineers need to be given real-life application specs before they start, I am sure that way the'll figure what would be needed.
MarkMonster
5220 points
1,046 Posts
02-26-2009 1:27 AM |
You are right about this Masked Textbox. But please take a look at the controls mentioned in this post: http://silverlight.net/forums/t/73882.aspx
Those look really nice and yes, Masked Editing is supported.
You can also use google and this is the first post I found: http://www.codeproject.com/KB/silverlight/STextBox.aspx
02-26-2009 1:33 AM |
I totally get what you're talking about. You know, Silverlight is just a sub-set of WPF -- in the beginning it was even called "WPF extended." So, these validation tools that you were expecting do exist ... in WPF. So, because part of the appeal of Silverlight is that it is light-weight, MS has been slowly transferring (and optimizing) features of WPF to Silverlight. They're doing it that way to keep it as light-weight as possible. That's why it's a great idea for you to ask for a feature here, because the MS developers are actually very active on this forum, and I can say that they've been thoughtful and considerate of the features that have been pulled from WPF. I've been here almost a year now, and their progress has been very transparent and measureable. For example, that Silverlight Toolkit will probably be rolled into Silverlight 3, which releases very soonly.
02-26-2009 1:40 AM |
Thanks MarkMonster,
Saw both of those when I googled for it. http://silverlight.net/forums/t/73882.aspx is a preview version and the second one is not happy with SL Version 2. Making my own now... :( Grrrrr!
02-26-2009 1:51 AM |
Yeah, when SL 1.0 came out, I didn't even bother looking at it... I knew it will transform immensely - it was too convoluted then. But when they released the WPF/E version SL2, I was all over it...
I have been working with WPF for some time and part of the frustration is that jumping from WPF to WPF/E (SL2), you come to expect a few things that are simply not there. Although the whole SL2 framework and being WPF subset is a great and a smart idea, but I think SL still has to mature a little bit more when its ready for prime time. I am already pitching SL2 to my clients but at the same time hitting some road blocks that is pushing my deadlines out...
Anyway stuff I'd like to see in next version of SL are:
Planning on going to MIX09 this March. Hopefully they release SL3 CTP or something....