How do you filter a table in MVC 4 c# using a dropdown box

Please help
  I have a table with data and trying to do the following
   1) click on an item in the dropdown box
    2) hit the enter button on the page
    3) have the table display the requested data
Sorting.docx
vcurtisAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
käµfm³d 👽Connect With a Mentor Commented:
Just to be clear:  Are you trying to have the filtering occur wholly on the client's side (i.e. via Javascript), or do you actually want to perform an entire post back to the server to effect the filter?

Side note:  For your comment (i.e. the "IMPORTANT NOTE"), you are actually using a client-side comment. This text will be sent back to end-user's machine, and they will be able to view the note by simply viewing the source of your page (as any browser can do). I think you meant to use a server-side comment instead:

e.g.

@* IMPORTANT NOTE:
   We have to use... *@

Open in new window

0
 
vcurtisAuthor Commented:
The filter just filters the data.  There will be no updating the database. The original plan was to do it on the client side. I am told that it should be quick and simple "yea right".
0
 
vcurtisAuthor Commented:
So I already have the data back from the database, I am thinking that I can just do some kind of jquery/ query to filter the view.
  ........Am I close or far off
0
 
vcurtisAuthor Commented:
Thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.