This is a migrated thread and some comments may be shown as answers.

Set / Change MVC MaskedTextBoxFor mask clientside

4 Answers 155 Views
MaskedTextBox
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 2
Chris asked on 27 Aug 2015, 09:44 PM
Hello

Is it possible to set / change the mask of an UI for ASP.NET MVC MaskedTextBoxFor clientside?  If so, can you please provide a sample?  As an example if a onSelect of a dropdown.

Thanks

4 Answers, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 31 Aug 2015, 10:53 AM

Hello Chris,

 

The configuration options of the widgets, such as the mask for the MaskedTextBox cannot be changed after the widget has been initialized. 

 

Regards,
Kiril Nikolov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Kiril Nikolov
Telerik team
answered on 31 Aug 2015, 12:14 PM

Hello Chris,

 

After some further investigation it turns out that the mask can be changed after initialization using the setOptions method. please check the following example and let me know if it helps:

 

http://dojo.telerik.com/egOBa

 

Please accept my apologies for the delayed response.

 

Regards,
Kiril Nikolov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Chris
Top achievements
Rank 2
answered on 31 Aug 2015, 02:11 PM
Thank you! I'll give that a try.
0
Kiril Nikolov
Telerik team
answered on 01 Sep 2015, 07:49 AM

Hello Chris,

 

In case you have any further questions, please do not hesitate to contact us.

 

Regards,
Kiril Nikolov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
MaskedTextBox
Asked by
Chris
Top achievements
Rank 2
Answers by
Kiril Nikolov
Telerik team
Chris
Top achievements
Rank 2
Share this question
or