I have the following code
I then later in jave script use
to get the current filter. The problem is when I hit this line of code It cliams the filter if blank. Am I missing something?
Just some more backgroud. This is happening in a nested grid taht is nested by use of panels. The ItemCreated is running when the page loads, then when the use selects a record from RadGrid1 it runs a webservice that getst the data then in java script updates the nested grid.
| protected void RadGrid2_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e) |
| { |
| if (e.Item is GridFilteringItem) |
| { |
| RadGrid2.MasterTableView.FilterExpression = "([Active] = true) "; |
| GridColumn column = RadGrid2.MasterTableView.GetColumnSafe("Active"); |
| column.CurrentFilterFunction = GridKnownFunction.EqualTo; |
| column.CurrentFilterValue = "True"; |
| } |
| } |
I then later in jave script use
| nestedView.get_filterExpressions().toDynamicLinq() |
Just some more backgroud. This is happening in a nested grid taht is nested by use of panels. The ItemCreated is running when the page loads, then when the use selects a record from RadGrid1 it runs a webservice that getst the data then in java script updates the nested grid.