Welcome Guest Search | Active Topics | Sign In | Register

Masking element “C” is not supported Options
Steve
Posted: Wednesday, May 19, 2010 3:45:03 PM
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?
eo_support
Posted: Wednesday, May 19, 2010 4:08:51 PM
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!
Steve
Posted: Thursday, May 20, 2010 7:40:20 AM
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!
eo_support
Posted: Thursday, May 20, 2010 8:19:25 AM
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
Steve
Posted: Thursday, May 20, 2010 8:47:45 AM
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!
eo_support
Posted: Thursday, May 20, 2010 8:50:27 AM
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


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.