I am currently using jqGrid to display data. Part of the jqGrid interface will provide you with search parameters by placing the search data in a JSON string, for example:
{"groupOp":"AND","rules":[{"field":"PersonID","op":"eq","data":"123"},{"field":"LastName","op":"eq","data":"Smith"}]}
(means I'm looking for personID = 123, and LastName = 'Smith')
so I hope that it somehow converts it back into something that I can use on the server side.
Does anyone have a solution for this that can convert it back to some kind of object? My current solution would be to convert to xml, parse with linq, and instantiate my own search class with the "rules" collection.
source
share