Mehul Harry's DevExpress Blog

This Blog


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

Subscribe (RSS, Email)


March 2013 - Posts

  • 3 Reasons to attend the DevExpress ASP.NET In-Person Training

    Here’s 3 reasons why you should attend the DevExpress ASP.NET training from expert trainer, Oliver Strum.

    1. You will love the course

    Listen to what others have said about the course in the past:

    Learn, ask questions, and get a deeper understanding of DevExpress ASP.NET.

    Learn the in’s and out’s of the DevExpress ASP.NET product suite.

    This class provides a complete in-depth look at the DevExpress DXperience ASP.NET suite of products. It takes you through the process of creating a business application, utilizing a typical combination of components throughout the product range. A high standard of knowledge will be achieved that allows you to write similar business applications on your own, and to fully understand the DevExpress suite of ASP.NET components. Advanced questions are encouraged and will be answered as much as time permits!

    This class has 4 extra hours of time scheduled in the evenings, for a total of 2.5 course days!

    Dates and Location:
    May 23-24 2013 (2 Days)
    DevExpress Offices
    Los Angeles, CA, USA
    Includes lunch
    You are responsible for all travel related and lodging costs

    Learn More and Register

    View Course Overview (Syllabus)


    2. DevExpress ASP.NET experts ready to help you

    Ok, it’s mostly just myself and Oliver. But together, we’re like the wonder-twins. We form a powerful team of knowledge for ASP.NET and DevExpress products.


    I can talk with you about DevExpress ASP.NET product plans, any feature ideas, or if you want to pick my brain about a particular issue, then I’d be happy to discuss it.

    3. Visit beautiful Southern California

    The DevExpress head quarters are located in beautiful Glendale, California. Close to downtown and Hollywood, there’s lots to see, eat and do here.


    It’s warm, sunny, and great time to visit Glendale, California. While here, you can visit Hollywood, Disneyland, and a bunch of other fun places. Smile


    Register for the DevExpress ASP.NET training now. I hope to see you there.

    Save time and money...

    Save time and money with high quality pre-built components for ASP.NET, Windows Forms, WPF, Silverlight and VCL as well as IDE Productivity Tools and Business Application Frameworks, all backed by world-class service and support. Our technologies help you build your best, see complex software with greater clarity, increase your productivity and create stunning applications for Windows and Web in the shortest possible time.

    Try a fully-functional version of DXperience for free now:

  • ASP.NET MVC Grid Wildcard Filtering–Like operator setup

    A powerful way to filter the DevExpress ASP.NET MVC GridView is to use the “Like” operator with wildcards:


    How to Enable

    1. First, you’ll need to enable AutoFilterRow by setting the Settings.ShowFilterRow to true. The Header Filter (AutoFilterRow) to allow your end-users to filter the individual columns.

    2. Then you’ll need to set the columns to support the “Like” filter condition. You can either set it explicitly on the column. This uses the “Like” operator as the default.

    3. If you would like to give your end-users a choice then enable the Filter Row Menu using the ShowFilterRowMenu property. And be sure to also set the GridViewDataColumnSettings.ShowFilterRowMenuLikeItem property on the column.

    Take a look at this code below which sets up the “Product Name” column to use the like operator:

        settings =>
            settings.Name = "gvFilterRow";
            settings.CallbackRouteValues = new { Controller = "GridView", Action = "FilterRowPartial" };
            settings.Width = Unit.Percentage(100);
            settings.Columns.Add(column => {
                column.FieldName = "ProductName";
                column.Settings.AutoFilterCondition = AutoFilterCondition.Like;
            settings.Columns.Add(column => {
                column.FieldName = "CategoryID";
                column.Caption = "Category";
                column.ColumnType = MVCxGridViewColumnType.ComboBox;
                var comboBoxProperties = column.PropertiesEdit as ComboBoxProperties;
                comboBoxProperties.DataSource = NorthwindDataProvider.GetCategories();
                comboBoxProperties.TextField = "CategoryName";
                comboBoxProperties.ValueField = "CategoryID";
                comboBoxProperties.ValueType = typeof(int);
                comboBoxProperties.DropDownStyle = DropDownStyle.DropDown;
            settings.Columns.Add("UnitPrice").PropertiesEdit.DisplayFormatString = "c";
            settings.Columns.Add("Discontinued", MVCxGridViewColumnType.CheckBox);
            settings.Settings.ShowFilterRow = true;
            settings.Settings.ShowFilterRowMenu = true;
            settings.CommandColumn.Visible = true;
            settings.CommandColumn.ClearFilterButton.Visible = true;

    This provides your end-users with one of the most powerful GridView filtering options available:

    Wildcard Filtering

    The Like item allows end-users to create filter expressions with wildcards:

    - the '%' symbol - substitutes zero or more characters;
    - the '_' symbol - substitutes a single character.

    The Like menu item's tooltip displays help text that explains which wildcards are supported:

    Represents the LIKE operator that determines whether a specific character string matches a specified pattern or not.

    The following wildcard characters are supported:

    % matches a string of zero or more characters. For instance:CriteriaOperator.Parse("Name like 'Jo%'") - returns all the objects whose Name begins with 'Jo'.
    CriteriaOperator.Parse("Name like '%car%'") - returns all the objects whose Name contains the 'car' substring.

    _ matches a single character. For instance:CriteriaOperator.Parse("Name like 'car_'") - returns all the objects whose Name consists of four characters and begins with 'car'.

    [ ] identifies a single character within the specified range ([a-c]) or set ([abc]). For instance:CriteriaOperator.Parse("Name like '[A-C]%'") - returns all the objects whose Name begins with 'A', 'B' or 'C'.

    [ ^ ] excludes a single character not within the specified range ([^a-c]) or set ([^abc]). For instance:CriteriaOperator.Parse("Name like 're[^de]%'") - returns all the objects whose Name begins with 're', and where the following letter is not 'd' or 'e'.

    See Criteria Language Syntax to learn more.


    Build Your Best - Without Limits or Compromise

    Try the DevExpress ASP.NET MVC Extensions online now:

    Read the latest news about DevExpress ASP.NET MVC Extensions:

    Download a free and fully-functional version of DXperience now:


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