0

I would like to know if there is a way to filter a gridview using an HTML coded combo box? I am creating a web application using C# and MVC and I need some way to populate a gridview and allow the user to select something from a combo box and for it to filter the gridview.

What would be the best way to do this?

1 Answer 1

1

I would suggest using the built in Filter Builder that DevExpress provides.

It is simple to apply:

settings.Settings.ShowFilterBar = GridViewStatusBarMode.Visible;

and therefore worth a look before going into more complicated methods.

The user can click on the filter string below the gridview. A popup appears that allows the user to build a filter by adding and removing criteria. This provides similar functionality to a checkbox, but with far less code.

Sign up to request clarification or add additional context in comments.

1 Comment

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.