This question is locked. New answers and comments are not allowed.
Hello Telerik support team.
I have an application that uses n-tier pattern and for presentation I use ASP.NET MVC3. We, as company, are interested in your MVC Extension components but we have a problem with a grid. I set up a page with grid, applied filtering, sorting, paging and custom binding via ajax. It all worked fine but then I wanted to move the code that queries data from DB to other application layer (outside MVC project) and I noticed that custom binding requires me to use GridCommand class a an input to the data request. GridCommand keeps information about filtering as a method that takes and returns an Exppression object which is not what I want in other layer. Also I cannot use GridCommand class directly in bussines logic layer because it will require reference to some Telerik UI dll which is not acceptable.
So my question is: is there a way to change the behaviour of your grid that it uses simplier method of transfering filtering, grouping and sorting data (i.e. in a string format?) or can you provide any other solution to my problem?
Thanks in advance.
Sebastian.
I have an application that uses n-tier pattern and for presentation I use ASP.NET MVC3. We, as company, are interested in your MVC Extension components but we have a problem with a grid. I set up a page with grid, applied filtering, sorting, paging and custom binding via ajax. It all worked fine but then I wanted to move the code that queries data from DB to other application layer (outside MVC project) and I noticed that custom binding requires me to use GridCommand class a an input to the data request. GridCommand keeps information about filtering as a method that takes and returns an Exppression object which is not what I want in other layer. Also I cannot use GridCommand class directly in bussines logic layer because it will require reference to some Telerik UI dll which is not acceptable.
So my question is: is there a way to change the behaviour of your grid that it uses simplier method of transfering filtering, grouping and sorting data (i.e. in a string format?) or can you provide any other solution to my problem?
Thanks in advance.
Sebastian.