Blogs

News

Email Subscriptions

Mehul Harry's DevExpress Blog

ASP.NET Combo Box - Incremental Filtering Using 'Contains' – v2010 vol 1

     

Check out the live demo of our ASP.NET Combo Box here: ASPxComboBox Incremental Filtering

The ASPxComboBox editor now supports searching for items using the new ‘contains’ filter mode when using the ‘incremental filtering’ feature.

Find As You Type Filtering

Based on the text that’s typed into the editor's input box, the ASPxComboBox will incrementally filter on the client side. The following filter modes are available for you:

  • None - Filtering is not applied to list items.
  • StartsWith - The editor is filtered for list items that begin with the search string.
  • New Contains - The editor is filtered for list items that contain the search string. The found search string is highlighted within items for usability purposes.

Check out this image that shows the Contains filter in action:

asp-combo-incremental-filter 

DXperience v2010.1 Releasing…

Very soon! Ok, a beta for DXperience subscribers will be available as early as next week. We’re just waiting for the released version of VS2010 in order to do some last minute testing.

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/

 

Published Apr 07 2010, 08:00 AM by Mehul Harry (DevExpress)
Bookmark and Share

Comments

 

Neal said:

I sure hope you're keeping features the same across your suites, i.e. the Winforms combo should have this exact functionality, XPF, etc.

April 7, 2010 11:38 AM
 

Jared Johnson said:

Yessss!  You guys rock!

April 7, 2010 11:40 AM
 

Andre Azevedo said:

Will DXperience v2010.1 full compatilble with VS2008?

April 7, 2010 11:58 AM
 

Henrik Brinch said:

YES!!! My prayers have been heard!

THANK-YOU

April 7, 2010 11:59 AM
 

Benjamin Ark said:

Thank you. Thank you. Thank you. Thank you.

April 7, 2010 1:14 PM
 

Chris Walsh [DX-Squad] said:

Andre,

yes it is...

April 7, 2010 6:32 PM
 

Jim Winchell said:

When using in Contains mode, can you use multiple patterns?  So for instance, using your example screen shot, if I were to type 'av es' would it then filter out everything except the second item in the list (picking up on 'sAVory saucES'?

April 13, 2010 8:02 AM
 

Mehul Harry (DevExpress) said:

@Jim,

No, it doesn't work like that. The contains mode matches as you type so typing AV will match 'sAVory' but it will not accept the space since there is nothing with AV+Space in the item list.

Btw, wild cards do not work either. Hope that helps. :)

April 13, 2010 1:17 PM
 

Simon Bonanno said:

Can I ask why wildcards are not supported in this scenario?  It would be useful if you set the list to 'StartsWith' but if you want to use 'contains' you just use percentage in the beginning just as you can do in the aspxgridview filters

November 8, 2010 11:20 AM
 

Mehul Harry (DevExpress) said:

@Simon,

The Incremental filtering searches across multiple column and with strings as well, try it here:

demos.devexpress.com/.../IncrementalFiltering.aspx

If you need the wildcard option, you may suggest it here:

www.devexpress.com/.../CreateIssue.aspx

Thanks.

November 11, 2010 4:41 PM

About Mehul Harry (DevExpress)

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
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.