Hi,
I am trying to programmatically (Server side) to filter a rad grid based on combo boxes and radio buttons and before the page loads for the user.
using VB.NET I am using this on LoadComplete (I know this is two different methods, but neither work to an extent).
The first option puts in the value of 0 in that column but doesn't display the results filtered only the entire data source.
The second option just doesn't do anything from what I can tell. (I had to sent LINQ to False as it just errored out as I found out in a previous thread).
Any ideas why this doesn't work? Or how to get it to work please?
Thanks,
Alex
I am trying to programmatically (Server side) to filter a rad grid based on combo boxes and radio buttons and before the page loads for the user.
using VB.NET I am using this on LoadComplete (I know this is two different methods, but neither work to an extent).
Dim rowStateColumn As GridColumn = RadGrid1.MasterTableView.GetColumnSafe("Comp_ProjectCount") rowStateColumn.CurrentFilterFunction = GridKnownFunction.GreaterThan rowStateColumn.CurrentFilterValue = 0 RadGrid1.MasterTableView.FilterExpression = "([Comp_ProjectCount] > 0 ')" RadGrid1.Rebind()The first option puts in the value of 0 in that column but doesn't display the results filtered only the entire data source.
The second option just doesn't do anything from what I can tell. (I had to sent LINQ to False as it just errored out as I found out in a previous thread).
Any ideas why this doesn't work? Or how to get it to work please?
Thanks,
Alex