in
Forums
Blogs
DevExpress.com
Client Center
Support Center
DevExpress Channel

This Blog

Syndication

News

Email Subscriptions

The ASPx Blog - Mehul Harry's DevExpress Blog

[Besides this blog, you can also follow me on twitter at: twitter.com/mehulharry]

ASP.NET, DevExpress, ASP.NET MVC, WebForms, ASPxGridView, Controls and News - This is The ASPx Blog, Mehul Harry's work blog. I write about all the latest info on DevExpress ASP.NET news and bring you relevant developer content including: Screencasts, How-Tos, Videos, and new features/controls from Developer Express.

ASP.NET Mask Edit Preview

imageWant to get the first look at our upcoming ASP.NET Mask editors? Check out this preview image that shows many of the different masks.

Versatile Mask Editors

The new mask will support literals, digit and letter placeholders, ranges, enums, and date format specifiers (yyyy, MM, dd, etc).

Attention To Detail

The R&D team has paid special attention to the details for this control. I had a chance to try an early prototype and the demo is very impressive.

One feature that you'll love is that you can use the keyboard arrow keys or the mouse wheel while editing a value that is an enum or within a range. For example, when clicking on the date mask, you can increment or decrement the parts of the date by using the up or down keys.

No New Control

The mask editor support will be integrated into the ASPxTextEdit control. This means that the ASPxTextBox, ASPxButtonEdit, and ASPxDateEdit will provide the MaskSettings property.

Coming Soon

While the mask features are almost complete, the team still needs to fix some small bugs and implement small mask related features (hints, null text). However, these new ASP.NET mask edit features will be part of the DXperience 2009 volume 1 release!

This release is targeted for March 2009 but a beta will made available to DXperience customers a few weeks before the release. Need more info on DXperience or the new mask features? Feel free to drop me a line here.

Published Jan 23 2009, 11:17 AM by Mehul Harry (Developer Express)

Comments

 

Christopher D. Todd said:

Mehul,

Questions regarding numeric masks.

1) Are numeric lenghts limited by mask lengths? I assume yes, but I just wanted to ask.

2) Are numeric fields padded with characters to represent available positions? (I hope not) i.e. ___,___,___.__

(I hope it is more like ###,###,##0.00 is shown as 0.00 to the user.)

3) Will numeric fields have fixed characters like $, etc?

Thanks for info!

January 23, 2009 10:09 PM
 

heather said:

Hi Mehul,

Thanks for the update.  Am I correct to assume null text is the same as the watermark feature in ajax control toolkit?

January 24, 2009 12:03 AM
 

Raul said:

Mehul I guess this is the MOST impressive control you have released in the last years. Really, this is so important, having to count on AjaxToolkit is rather awkward these days DevExpress controls almost all my pages.

Let me ask you something: For the date mask, will I be able to set a mask like dd/MM/yyyy?

January 24, 2009 7:02 AM
 

Dave Rowland said:

Excellent.

Just hoping your considering date formats with masking for countries as in my case being in England, we would format the date 23.01.2009 instead of 01.23.2009

January 24, 2009 7:11 AM
 

A270071 said:

Harry, Is Regular Expression (RegEx) supported?

January 24, 2009 2:05 PM
 

Christopher D. Todd said:

Mehul,

When you say "hints", are you speaking of Watermarks? I think Heather's assumption would be great! Even if that is not the case, I still think Watermarks should be an added feature.

January 24, 2009 8:11 PM
 

Christopher D. Todd said:

A270071,

Regular Expression is already supported in their validation.

January 24, 2009 10:38 PM
 

Sebastian said:

Yezzzz....we`ve wated a long time for this!

January 31, 2009 3:27 PM
 

Mark G said:

Great news!! Keep up the good work guys!

February 2, 2009 1:37 PM
 

Mehul Harry (Developer Express) said:

Hi Christopher,

1. Yes, of course. I.e., using the mask "9999", it doesn't allow typing more than 4 digits.

2. Unfortunately they do. No changes are made to a mask in the display mode.

Ranges might serve as a solution. Look at the following mask:

$<0..9999>.<00..99>

It accepts any number between 0 and 9999.99.

Also, we have plans for DisplayFormat feature in future versions.

3. Yes.

February 2, 2009 5:18 PM
 

Mehul Harry (Developer Express) said:

Hi heather,

We're working on the null text feature right now.

February 2, 2009 5:19 PM
 

Mehul Harry (Developer Express) said:

Hi Raul,

Yes. And, you get date auto correction performed in the same way as our WinForms mask does it. (to avoid "Feb 30", "April 31", etc)

February 2, 2009 5:20 PM
 

Mehul Harry (Developer Express) said:

Hi Dave,

Yes, sure.

February 2, 2009 5:21 PM
 

Mehul Harry (Developer Express) said:

A270071/Christopher,

Unfortunately no. There is no chance of implementing RegExp web mask with acceptable performance. The limited speed of JavaScript is the reason.

February 2, 2009 5:22 PM
 

Mehul Harry (Developer Express) said:

Christopher,

About the hints:

No, hints are optional tooltips for range / enum mask parts.

Watermarks (or null text) are also planned. Smile

February 2, 2009 5:24 PM
 

sk said:

I fi mention the mask type as '9999'.. it wont allow more than 4 digits.. That is fine.. suppose if i gave only two digits na it automatically added two zeroes.. y?..

February 10, 2009 8:01 AM
 

Alexey M (Developer Express) said:

Hi sk,

In your case, the following zero-filling range mask would be perfect:

<00..9999>

February 12, 2009 4:29 AM
 

awake said:

when can we expect a vol 1 release

February 19, 2009 10:32 AM
 

Mehul Harry (Developer Express) said:

Hi Awake,

The 2009 volume 1 release is targeted for March 2009 time frame.

February 19, 2009 2:49 PM
 

matt said:

Thanks for sharing!!!

June 9, 2009 1:41 AM

Leave a Comment

(required)  
(optional)
(required)  
Verification code: Required
   
Add

About Mehul Harry (Developer Express)

Mehul Harry is an ASP.NET technical evangelist at Developer Express. You can reach him directly at mharry@DevExpress.com. You can also follow him on Twitter: http://twitter.com/mehulharry
Copyright © 1998-2010 Developer Express Inc.
ALL RIGHTS RESERVED