This is a migrated thread and some comments may be shown as answers.

DropDownTree - OnClientItemsRequested

0 Answers 34 Views
DropDownTree
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 17 Aug 2015, 02:49 PM

I am converting one of the controls on our page, from being a RadComboBox to a RadDropDownTree, as the page (read control) is a filter page, the values are no populated until the user clicks on them. When a web service is called. This method just saves on processing and page size, for functionality that is rarely used

We have previously used OnClientItemsRequested (on the combo box) to pass client specific data to the webservice, however this doesn't appear to be possible on the DropDownTree, I've tried using OnClientDropDownOpening but this doesn't appear to have access to the context

 
function RequestingContractCategories(sender, eventArgs) {
     var context = eventArgs.get_context();
     var companyCode = $find(FilterCompanyId).get_value();

}

I note in all your examples that the webservice signature has a context, and ours when called has a value ... just 0 length, with no children

No answers yet. Maybe you can help?

Tags
DropDownTree
Asked by
Chris
Top achievements
Rank 1
Share this question
or