This question is locked. New answers and comments are not allowed.
Hi,
I've a Asp.Net MVC telerik's Grid which display one of my biggest table. Not all informations are displayed. But I've some links which redirect to the action containing the grid.
Those links basically build and url with telerik parameter(e.g. ...TheGrid-filter=SecondVar~eq~'sdfg'and~Status~eq~1). It works like a charm, telerik read those parameter, and apply filters/Sort on my model.
let's take a fictive case:
I've the following model
I've a Grid named "TheGrid" with three columns, bounds to A, B and C(not D, because we don't want it to be displayed or because it takes to much spaces).
I load the view with this:
mydomain/MyController/MyAction?TheGrid-filter=E~eq~'YEPA'
I got my grid correctly filtered, but now if I set a filter on the C column, my current filter on the E column will be ignored.
At this moment telerik should know that this parameter filters its data, because it's a part of its TheGrid-filter attribute, even if it doesn't find any column bound on this data, but it seems it's isn't the case.
So how can I do that?
I've a Asp.Net MVC telerik's Grid which display one of my biggest table. Not all informations are displayed. But I've some links which redirect to the action containing the grid.
Those links basically build and url with telerik parameter(e.g. ...TheGrid-filter=SecondVar~eq~'sdfg'and~Status~eq~1). It works like a charm, telerik read those parameter, and apply filters/Sort on my model.
let's take a fictive case:
I've the following model
public class MyModel{ public String A{get;set;} public String C{get;set;} public String D{get;set;} public String E{get;set;} }I've a Grid named "TheGrid" with three columns, bounds to A, B and C(not D, because we don't want it to be displayed or because it takes to much spaces).
I load the view with this:
mydomain/MyController/MyAction?TheGrid-filter=E~eq~'YEPA'
I got my grid correctly filtered, but now if I set a filter on the C column, my current filter on the E column will be ignored.
At this moment telerik should know that this parameter filters its data, because it's a part of its TheGrid-filter attribute, even if it doesn't find any column bound on this data, but it seems it's isn't the case.
So how can I do that?