or
| Protected Sub appfilter_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles appfilter.CheckedChanged |
| RadGrid1.MasterTableView.FilterExpression = Nothing |
| If appfilter.Checked = True Then |
| RadGrid1.MasterTableView.FilterExpression = "(([Icount] > '0' and [ActivityStatus] = 'Vacant') or [Ecount] > '0')" ' consider the first two items or consider the third. |
| RadGrid1.MasterTableView.Rebind() |
| Else |
| RadGrid1.MasterTableView.FilterExpression = "([ActivityStatus] = 'Vacant')" |
| RadGrid1.MasterTableView.Rebind() |
| End If |
| End Sub |
