ASP.NET GridView Filter Template (coming soon in v2013 vol 1)

10 May 2013

Customize the filter row any way you choose with the DevExpress ASP.NET GridView in our first major release of DXperience for 2013.

New Filter Template

The DevExpress ASP.NET GridView has added a new template for the Filter Row. The Filter Row allows your end-users to filter the GridView easily and quickly. For example, in the grid image below, I’ve filtered it to find all the produce that has been discontinued:

DevExpress ASP.NET GridView Filter Row

Visual Studio Designer Support

When you’re configuring the DevExpress ASP.NET GridView in Visual Studio, you can use the smart tag and select "Edit Templates”. Then you’ll see the list of available templates for editing:

DevExpress ASP.NET GridView Filter Template

Once you select the “FilterTemplate”, the designer will allow you enter just about anything you want. That’s why ASP.NET Templates are so useful! In the grid below, I’ve added an Image and Text to the Filter Row for the Command Column. But I could enter just about anything else here like another control for filtering.

DevExpress ASP.NET GridView Filter Template Editing

And the final result is a stunning grid with the exact output that I was looking for:

DevExpress ASP.NET GridView with Filter Row

Source View Support

If you don’t like the designer, you can use the Source View too:

DevExpress ASP.NET GridView Filter Row Source

The Most Templates Evah!

The DevExpress ASP.NET GridView is incredibly versatile: it provides the largest set of templates for extending any ASP.NET Grid control.

Take a look for yourself by downloading a free trial: http://www.devexpress.com/Home/Try.xml

Part of 2013.1 Release

The DXperience v2013.1 release will be available to everyone in June 2013 from devexpress.com.

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: http://www.devexpress.com/Downloads/NET/

5 comment(s)
James Zhong

Hi Mehul, thanks for your information.

I have a question: Can 'Filter Row' in ASPxGridView in 13.1 support Nullable enum, Nullable DateTime, Nullable int?

11 May, 2013
James Zhong

The following Nullable types should be supported in 'Filter Row' feature in 13.1:

Enum?

DateTime?

Integer?

Boolean?

11 May, 2013
Vlаd

Ha-ha! Super! Good job!

Now people will start puttin whatever they want into the Filter Row template (from post-back buttons to popups and HTML Editors) (^__^)

12 May, 2013
Mehul Harry (DevExpress)

James,

With the template, you can embed just about anything in the FilterRow now. Please try it in June when the v13.1 release is out. Thanks.

13 May, 2013
Mehul Harry (DevExpress)

Vlad,

Thanks and as Spiderman's Uncle Ben said:

"With great power comes great responsibility" :)

Ok, maybe it was Voltaire who said it.

wiki.answers.com/.../Who_said_that_with_great_power_comes_great_responsibility

Point is, that yes, ASP.NET developers have the power of templates and will be able to leverage them to deliver great solutions for their customers. :)

13 May, 2013

Please login or register to post comments.