Skip to main content

Microsoft Silverlight

Answered Question Masked Textbox anyone?RSS Feed

(0)

nasiraziz
nasiraziz

Member

Member

245 points

88 Posts

Masked Textbox anyone?

Seriously, no masked Textbox in SL2? Anyone?

-------------------------------------------------
{DeVigner} :: http://blog.geomentary.com/

fullsailrick
fullsail...

Contributor

Contributor

3699 points

829 Posts

Re: Masked Textbox anyone?

Yup. Crazy stuff.

nasiraziz
nasiraziz

Member

Member

245 points

88 Posts

Re: Re: Masked Textbox anyone?

You know what I am talking about right?

 Like I want to force a format (425)123-4567 - that mask?

-------------------------------------------------
{DeVigner} :: http://blog.geomentary.com/

murtaza.dharwala
murtaza....

Participant

Participant

1659 points

378 Posts

Re: Re: Re: Masked Textbox anyone?

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

Murtaza Dharwala
Diaspark Inc.
www.diaspark.com
email:murtaza.dharwala@diaspark.com


Please remember to click “Mark as Answer” on the post that helps you

nasiraziz
nasiraziz

Member

Member

245 points

88 Posts

Re: Re: Re: Masked Textbox anyone?

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!

-------------------------------------------------
{DeVigner} :: http://blog.geomentary.com/

fullsailrick
fullsail...

Contributor

Contributor

3699 points

829 Posts

Re: Re: Re: Masked Textbox anyone?

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.

nasiraziz
nasiraziz

Member

Member

245 points

88 Posts

Re: Re: Re: Masked Textbox anyone?

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.

-------------------------------------------------
{DeVigner} :: http://blog.geomentary.com/

MarkMonster
MarkMonster

Contributor

Contributor

5220 points

1,046 Posts

Answered Question

Re: Re: Re: Masked Textbox anyone?

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

Mark Monster - MCPD Enterprise
http://mark.mymonster.nl
Silverlight and Expression Insiders UG

Dont forget to click "Mark as Answer" on the post that helped you.

fullsailrick
fullsail...

Contributor

Contributor

3699 points

829 Posts

Re: Re: Re: Masked Textbox anyone?

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.

nasiraziz
nasiraziz

Member

Member

245 points

88 Posts

Re: Re: Re: Masked Textbox anyone?

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!

-------------------------------------------------
{DeVigner} :: http://blog.geomentary.com/

nasiraziz
nasiraziz

Member

Member

245 points

88 Posts

Re: Re: Re: Masked Textbox anyone?

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:

  1. 3D Support/Engine
  2. Line of Business controls/features (same like WPF)
  3. Bitmap Effects (Shadows, Glow, etc)
  4. Frame support (like WPF)
  5. Forgetting some... have a list somewhere.

Planning on going to MIX09 this March. Hopefully they release SL3 CTP or something....

-------------------------------------------------
{DeVigner} :: http://blog.geomentary.com/
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities