Questions tagged [maskededitextender]

56 questions
5
votes
2 answers

Is it possible to set a mask for MaskedEditExtender for the date format MMM-yyyy that would work in any culture?

The problem I'm having, as the title says, is that I need to use the short month name format with the year for Dates being validated by a MaskedEditExtender from the AjaxControlToolkit. MMM-yyyy for a DateTime is not the same as…
Tute
  • 6,943
  • 12
  • 51
  • 61
4
votes
3 answers

AjaxControlToolkit MaskedEditExtender - custom mask appearance

I'm using a MaskedEditExtender to show users what format they should use to enter a date into a textbox. How do I change the mask to be dd/MM/yyyy instead of __/__/____?
kristian
  • 22,731
  • 8
  • 50
  • 78
3
votes
2 answers

How to use Ajax MaskedEdit with certain date format?

We have a text box, where the user can input date. The only valid date allowed is MM/dd/yyyy. After going through all the trouble, I think MaskedEditExtender is the best choice. But I have some problems using it. Following is my ASPX code,
GLP
  • 3,441
  • 20
  • 59
  • 91
3
votes
1 answer

"Unable to get value of the property 'split': object is null or undefined" error in IE

I am trying to use ASP.NET AJAX Toolkit's MaskedEditExtender Control (with MaskedEditValidator) in my web application. The control works fine in Google Chrome but IE9 throws a "Unable to get value of the property 'split': object is null or…
A9S6
  • 6,575
  • 10
  • 50
  • 82
3
votes
1 answer

ASP.NET MaskedEditExtender needs to show mm/dd/yyyy when user clicks on textbox

I am using the MaskedEditExtender control for a textbox field that contains Date of Birth. I want the mask to show "mm/dd/yyyy" when the user clicks on the textbox when it is empty. Right now it only shows "__/_/__"
user31673
  • 13,245
  • 12
  • 58
  • 96
3
votes
4 answers

Convert time to decimals in .net

Is there an easy way to present time (hh:mm) as a decimal value? Example, 01:08 should become 1,13. I have an asp:textbox masked (ajax) as time with the mask format "99:99". Next to this box I need to present the entered value as decimal.…
henrico
  • 93
  • 1
  • 2
  • 11
3
votes
1 answer

Textbox with MaskedEditExtender not showing value when the Textbox.text is set

I am trying to set a value to a textbox which has MaskedEditExtender. Here is what is tried.
Praveen Mitta
  • 1,408
  • 2
  • 27
  • 48
2
votes
1 answer

Why is my MaskedEditValidator is not working?

I have following controls in my page, my CompareValidator works, but not the MaskedEditValidator. Am I missing anything?
GLP
  • 3,441
  • 20
  • 59
  • 91
1
vote
3 answers

How to create a MaskedEditExtender on the fly?

I want to create a number of masked edit extenders from codebehind. Something like: private MaskedEditExtender m_maskedEditExtender; protected override void OnLoad(EventArgs e) { base.OnLoad(e); m_maskedEditExtender = new…
Serhat Ozgel
  • 23,496
  • 29
  • 102
  • 138
1
vote
1 answer

MaskedEditExtender for international phone number

A page contains ajax MaskedEditExtender for international phone number. How do I setup MaskedEditExtender? It can allows me to input phone numbers like +1(454)123-45-67 or 8(113)123-45 or 132(1)123-45-67. The phone number contains the country…
Alexandre
  • 13,030
  • 35
  • 114
  • 173
1
vote
1 answer

How to get the EmptyMask of a MaskedEdit extender by using C#?

According to a thread in forums.asp.net, the Empty Mask is the displayed mask on the input text box, e.g. "_ _ _ _ / _ _ / _ _". On the server side code, the MaskedEdit.Mask property keeps only the configuration mask string which is not replaced by…
William X
  • 6,751
  • 6
  • 31
  • 50
1
vote
2 answers

Using a CalendarExtender with a MaskedEditExtender

I'm trying to have a textbox function exactly like the third textbox down on this page: http://www.asp.net/AJAX/AjaxControlToolkit/Samples/MaskedEdit/MaskedEdit.aspx. I'm trying to use a CalendarExtender control with a MaskedEditExtender, because I…
1
vote
3 answers

Why InputType password is shown?

My code : final EditText input = new EditText(VideoRunActivity.this); LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( LinearLayout.LayoutParams.MATCH_PARENT, …
user6264840
1
vote
1 answer

MaskedEditExtender not holding Mask after clicking away

I cannot figure out why my one field (Phone Number) isn't holding its MaskedEditExtender after you click away, while the others work just fine. I compared the properties and controls and they're all the same. I suspect that it has something to do…
Kudin
  • 81
  • 1
  • 10
1
vote
1 answer

RegularExpressionValidator with 4 or 5 characters

A new requirement for me is to expand error validation on an input field. Currently it looks like this:
Johnny Bones
  • 8,786
  • 7
  • 52
  • 117
1
2 3 4