This is a migrated thread and some comments may be shown as answers.

[Solved] JSONP and Web Service Databinding

0 Answers 20 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Gary
Top achievements
Rank 1
Gary asked on 19 Apr 2011, 09:40 PM

I am trying to get a project working with JSONP and WebService Databinding.   I saw this thread which shows a working example of the JSONP and the MVC Grid, but I am having a problem with the latest version of the grid that uses the GridState object to pass state information to the web service.   Since I am using WCF REST services the GridState object can not be parsed by the QueryStringConverter.  There is away around this issue using a custom behavior, but I was wonder if there is an option to pass just the primative types like in example code in the thread mentioned.

I want this method signature:

[OperationContract]
[WebGet(ResponseFormat = WebMessageFormat.Json)]
public GridModel GetCustomers(int page, int size, string orderBy, string groupBy, string filter)
Tags
Grid
Asked by
Gary
Top achievements
Rank 1
Share this question
or