I have 3 radio buttons that will do the following
1)
rbAll
: Get all the values2)
rbMapped
: Get all the values where the program column is not blank3)
rbUnMapped
: Get all the values where the program column is blankI have all the button clicks go to the below method
I am getting a blank results for all them. Any ideas
Telerik.Windows.Controls.GridView.FieldFilterDescriptor columnDescriptor = new Telerik.Windows.Controls.GridView.FieldFilterDescriptor("Program", typeof(System.String));
if (rbAll.IsChecked.Value)
{
columnDescriptor.Filter1.Operator = Telerik.Windows.Data.FilterOperator.IsGreaterThan;
columnDescriptor.Filter1.Value = "0";
return;
}
if (rbMapped.IsChecked.Value)
{
columnDescriptor.Filter1.Operator = Telerik.Windows.Data.FilterOperator.IsNotEqualTo;
columnDescriptor.Filter1.Value = "";
}
else if (rbUnmapped.IsChecked.Value)
{
columnDescriptor.Filter1.Operator = Telerik.Windows.Data.FilterOperator.IsEqualTo;
columnDescriptor.Filter1.Value = "";
}
rgvSellingTitles.FilterDescriptors.Add(columnDescriptor);