Hello,
I'm attempting to create a custom field editor with a combo box with checkboxes. The problem I'm having is that only a single value is being extracted by RadFilterSqlQueryProvider.
When I walk through the code of the custom editor, the ExtractValues() method gets all the checked items. However, the SetEditorValues() method only passes in a single value.
To implement this, just use the code examples provided by Telerik and set CheckBoxes = true on the RadComboBox. Modify the ExtractValues() method to loop through the CheckedItems collection and add to the array. Then loop through the array in SetEditorValues();
Also, I am not using the Apply button I use FireApplyCommand() on PostBack. Plus, it seems that I have to use the RecreateControl() method on the RadFilter. Otherwise, I don't get any values back.
Any help would be appreciated.
Blair
I'm attempting to create a custom field editor with a combo box with checkboxes. The problem I'm having is that only a single value is being extracted by RadFilterSqlQueryProvider.
When I walk through the code of the custom editor, the ExtractValues() method gets all the checked items. However, the SetEditorValues() method only passes in a single value.
To implement this, just use the code examples provided by Telerik and set CheckBoxes = true on the RadComboBox. Modify the ExtractValues() method to loop through the CheckedItems collection and add to the array. Then loop through the array in SetEditorValues();
Also, I am not using the Apply button I use FireApplyCommand() on PostBack. Plus, it seems that I have to use the RecreateControl() method on the RadFilter. Otherwise, I don't get any values back.
Any help would be appreciated.
Blair