I have attached 2 files. An aspx page and a code behind vb page. I am trying to apply filter by implementing filter template. I have a radcombobox that filters the radgrid.
Datasource for the radgrid is a dataset defined in aspx.vb. There are 2 tables in the dataset
Radcombobox datasource is a datatable from the above dataset defined in aspx.vb.
Trying to rebind the radgrid after the radcombobox selection both in code behind and on aspx via JS.
1) using the following lines in cmbStateSelectedIndexChanged event does not rebind the grid.
2) using FilterExpression in radgrid prerender does not rebind the grid
3) using filtering in aspx page does not rebind grid.
In my first and second cases after I select a state and I do rg_dynamic.MasterTableView.Rebind(), the cmbState will not hold the selected value.
In my third case applying just that code to filter the grid on aspx side (that is commenting filter expression code in grid prerender and combobox selected index changed server side events) will hold the selected value.
I have the datasource available for both grid and combox box on my server side. The grid will not rebind post filtered value. I came across an example on your forum pages http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/filtering/filter-templates/defaultcs.aspx
But it is not helping me.
Any help on this is appreciated.
Here is my aspx.vb
Here is my aspx