I have a RadComboBox "RadComboBox_reject" with 2 options, "Rejected", and "Not Rejected", the value of "Rejected" is "true", the value of "Not Rejected" is "false", RadGrid is bound to sqldatasource, sqldatasource definition as following:
<asp:SqlDataSource ID="Sql_docket" runat="server" SelectCommand ="SELECT DOCKET.DOCKETID ................... FilterExpression ="reject='{0}'" >
<FilterParameters>
<asp:ControlParameter Name="reject" ControlID="RadComboBox_reject" PropertyName="SelectedValue" Type="Boolean" ConvertEmptyStringToNull="true" />
</FilterParameters>
</asp:SqlDataSource>
Basically, my idea is to set "RadComboBox_reject" property "AutoPostback" = true, so that everytime user choose option from RadComboBox_reject, the selectedValue will be passed to sqldatasource by SqlDataSource FilterParameters.
The above code is working fine. But, now, I am trying to add "Get All" option to "RadComboBox_reject", so that RadGrid will show all records when user select "Get All". My question is: what value should be for "Get All" option that will be passed to FilterParameters? Please note that FilterParameters type is "Boolean".
Thank you very much