A more complex search

A more complex search

bogusbogus Posts: 16Questions: 0Answers: 0
edited December 2009 in General
Hi there
Suppose i have the grid(without the default search) and a search form (with 4 parameters for example) and a button to make the search.
How do you think it's the best way to do it?
I am using asp.net-mvc and when i click the search button i make a post and i save the search values in TempData and as a callback for the post i refresh the grid( the source method for the grid verifies the search values from the TempData)

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Hi bogus,

    Just to confirm, are you asking how to do the search on the server-side with ASP.NET? The impression I get from your post is that you have the search data being sent to the server-side correctly, but aren't sure how to do the search. If this is correct, then I'm afraid I can't help as I know next to nothing about ASP.NET :-). Probably best to ask this one on an ASP.NET forum. However, if you are having problems sending the data to the server-side, then I can help with that: http://datatables.net/examples/server_side/custom_vars.html - but I think you already know this!

    Regards,
    Allan
This discussion has been closed.