A more complex search
A more complex search
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)
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)
This discussion has been closed.
Replies
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