|
Rank: Newbie Groups: Member
Joined: 5/19/2010 Posts: 9
|
I noticed that the masking element “C” is not a supported mask element. Is there a work around where the MaskedEdit can accept any non-control character?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Unfortunately no. That is not supported in the current version. However I am not sure why you want to support such a mask character though. Nobody is able to enter "non non-control" characters anyway with a textbox. In another word, all characters entered through a textbox or a MaskedEdit control are "regular characters". Special characters (for example Ctrl+C) are usually handled by the browsers directly.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 5/19/2010 Posts: 9
|
Hi,
Thanks again for the quick response. Sorry for misleading you.
Here is what I am trying to attempt. I have a 60 wide search phrase, which allows any inputted character. The inputted phrase might look like this: “Where did I put #@$%^&* ?”
If we can set the MaxLength behavior, I feel this would offer a resolution.
Any thoughts?
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
The MaxLength of a MaskedEdit is automatically determined based on the "Mask" property. For example, if you set "Mask" to "aaa", then the MaxLength would be 3.
A regular asp:TextBox with MaxLength set to 60 though should work better in this case though. Is there any particular reason why you want to use MaskedEdit in this case?
Thanks
|
|
Rank: Newbie Groups: Member
Joined: 5/19/2010 Posts: 9
|
Hi,
My project requires a text input control that limits the inputted characters – OR – uses the EO.Web MaskedEdit elements.
I guess I can conditionally, dynamically load: asp:TextBox - OR - eo:MaskedEdit.
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
That would make sense. eo:MaskedEdit is usually for much more strict scenario such as entering phone numbers, etc. So dynamically loading asp:TextBox or eo:MaskedEdit might be a good solution. You can have both in your form and then set one of them's Visible to false in your code.
Thanks
|
|