views:

1317

answers:

0

Hi,

I have just started wrking on Asp.net MVC. For filtering a table i am using a Html.listbox() to select multiple items and a button to apply filter on the table.

<%=Html.ListBox("CategoryOptions", new MultiSelectList(TypeModel.Category))%>

But after clicking the filter button ,the listbox doesn't show(maintain) the items as selected .Can anybody help me in this ?