Mehul Harry's DevExpress Blog

This Blog


Mehul Harry is the DevExpress Web Program Manager. Follow him on twitter: @Mehulharry

Subscribe (RSS, Email)


January 2009 - Posts

  • 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.

  • DevExpress Plans for ASP.NET in 2009

    iStock_000007736556XSmall Check out this list of the planned features and controls for our ASP.NET products in 2009. The ASP.NET team has put together an aggressive list of items and it looks to be an exciting year.

    Along with the new controls like the mask editor, check combobox/listbox, rating control, there's also major features added. Two major features of ASP.NET 3.5 SP1 are Dynamic Data and the ASP.NET MVC framework and we're going to be supporting both. Stay tuned for more news on these features in the coming weeks. Wink

    The team is also reviewing several of your suggestions which may be included in 2009. In fact, they've already reviewed and implemented several of them.


    • ASP.NET MVC framework support
    • Server installation
    • Dynamic Data support
    • Further optimization of ASP.NET controls rendering


    • Mask editor
    • ASPxListBox – Multi-select mode
    • ASPxComboBox – Multi-column data presentation
    • CheckComboBox
    • CheckListBox 
    • ASPxGridView - Multi-header columns
    • ASPxGridView - Keyboard support
    • ASPxComboBox - Ability to filter or fill dropdown items (like Google search)
    • HtmlEditor column
    • ColorPickerEdit
    • ASPxComboBox - Show the selected item's image within the edit area
    • Horizontal scrolling
    • Fixed Columns


    • Table editing
    • Visual selector for Image dialog /ImageManager/
    • Dialog to insert document links to edit document
    • Ability to change the editor's size using Drag&Drop
    • Custom dialogs


    • SplitterControl
    • Multi-line tabs for ASPxTabControl
    • Validation Summary
    • RatingControl — 5-star control
    • CaptchaControl

    As of this post, the list above covers the ASPxGridView, ASPxperience, and ASPxHtmlEditor Suites. However, keep an eye on our blogs for more information soon.

  • Case Study: Helpdesk Web Application Moves to ASP.NET

    s_webKB Rewriting an 8 year old website from classic ASP to ASP.NET is not easy. So when chose to upgrade their flagship helpdesk software, they had one key goal in mind: performance.

    With over 800 customers around the world, they needed a solid grid as the backbone for the project rewrite. And after comparing other grid options, Todd Hoese from Gritware, discovered the ASPxGridView. Here Todd describes how he chose DevExpress:

    I tested it with a database table of around 5000 records and it took too long to load. I then did some more online searching and came across the Developer Express ASP.NET control suite. The DevExpress ASP.NET Grid Control passed my benchmark tests with flying colors. Not only did I get the grid I was looking for – I also got a ton of other controls to compliment it.

    The move to ASP.NET gave Todd the ease of application maintenance. The DevExpress ASP.NET controls gave him the functionality, speed, styling, shorter release cycle and the inspiration to start new ASP.NET projects.

    Read the full Gritware case study here:

    If you're interested in seeing a demo version of this site, feel free to contact Todd from the Gritware site:

  • How to disable command buttons in ASPxGridView

    Update: Please check this code central example for a better approach: How to use ASPxCheckBox in DataItemTemplate to emulate a selection

    Check out this quick tip on how to disable the Insert, Edit and Delete command buttons in the ASPxGridView.

    We've also created a new ASPxGridView event to simply the approach described above. But more on that later.


    You've enabled edit/insert/delete functionality for your grid, however, you need to disable it for certain rows.


    First, we should dynamically check which rows need to be disabled. Then we'll use the HtmlCommandCellPrepared event because it allows you to change the settings of individual command column cells. For example, this code below will hide the 'New' button and disable the selection check box for every other row:

    protected void ASPxGridView1_HtmlCommandCellPrepared(object sender, ASPxGridViewTableCommandCellEventArgs e)
        if (e.CommandCellType == DevExpress.Web.ASPxGridView.GridViewTableCommandCellType.Data)
            // odd row
            if (e.VisibleIndex % 2 == 0)
                e.Cell.Controls[1].Visible = false;  // hide the New button
                ((WebControl)e.Cell.Controls[3]).Attributes["disabled"] = "true"; // disable the selection checkbox

    You can download and see a live demo of this code at Code Central: How to customize command buttons in individual rows

    New Event For Easier Approach

    While the approach described above is good, the R&D team wanted to improve access to the command buttons at runtime. So a new event was implemented for the upcoming DXperience 2009 Volume 1 release. The new CommandButtonInitialize event allows you to change command button controls visibility and also enable/disable them easily. For example, the code below shows how to hide every third "Select" button and disable every second 'Select" button:

    protected void ASPxGridView1_CommandButtonInitialize(object sender, DevExpress.Web.ASPxGridView.ASPxGridViewCommandButtonEventArgs e)
        if (e.Button.ButtonType != DevExpress.Web.ASPxGridView.ColumnCommandButtonType.Select) return;
        e.Visible = e.VisibleIndex % 3 != 1;
        e.Enabled = e.VisibleIndex % 2 != 1;

    DXperience? What's That?

    DXperience is the .NET developer's secret weapon. Get full access to a complete suite of professional components that let you instantly drop in new features, designer styles and fast performance for your applications. Try a fully-functional version of DXperience for free now:

  • Case Study: Raindrops Server from Prognex

    image  New startup Prognex has created Raindrops, a slick web application that uses just about every DevExpress ASP.NET control. The web app is loaded with enterprise goodness, it packs in the functionality of a CRM, ERP, and more!

    Yang Yu, Prognex CEO and Cofounder, sent us a special Raindrops demo login just for DevExpress blog readers so you can check it out. Use these credentials below to login and experience the slick Raindrops web client:

    Password: success

    Once on the site, navigate around and you'll see DevExpress ASP.NET controls in action. Also, be sure to check out Yang's "Controls Utilization [login required]" article which specifically lists the DevExpress controls and where they're used in the site.

    Then check out this case study where Yang Yu discusses:

    • Raindrops Server functionality/features
    • How they chose DevExpress
    • DevExpress Controls used in the project
    • Time and cost savings using DevExpress

    Click here to read the Developer Express Case Study: Prognex Corp

    Readers, do me a favor will you? Leave a comment here with some kind words for Yang to let him know what you like about the Raindrops web app.

    Thanks, Yang, for sharing your fantastic work with us!

  • DevExpress Channel - 2008 Year In Review

    Check out this short, fun 3 minute video that Jeff put together just for you. It shows outtakes, clips, and various other items from 2008 DevExpress Channel videos. The video also shows how hard we work to get these videos to you. Ok, we're actually having a ton of fun bringing them to you.

    Based on your feedback, you find the videos very helpful. So in 2009, you'll see even more videos on our products, technology, and other topics.

    Click the image below and watch the video. And be sure to check out the end as it'll put a smile on your face:



Chat is one of the many ways you can contact members of the DevExpress Team.
We are available Monday-Friday between 7:30am and 4:30pm Pacific Time.

If you need additional product information, write to us at or call us at +1 (818) 844-3383


DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, Delphi, HTML5 or iOS & Android development. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

Copyright © 1998-2018 Developer Express Inc.
All trademarks or registered trademarks are property of their respective owners