I have a grid view in which I want to customize the combobox entries for a given row depending on user selection of another combobox entry in the row. Different rows would have different data sources. Is this possible, and if so, can you tell me how to do it?
var editor = e.ActiveEditor asRadDropDownListEditor;
if(editor == null)
{
return;
}
var editorElement = editor.EditorElement asRadDropDownListEditorElement;
editorElement.DataSource= someOtherDataSource;
}
}
}
Best Regards,
Emanuel Varga
0
Ivan Petrov
Telerik team
answered on 14 Sep 2011, 04:32 PM
Emanuel, thank you for the provided solution.
Claude, the approch that Emanuel has provided is the right way to go in this situation. Please remember to mark his post as an answer, so that others can easily find it if they have the same question like you did.
If you need further help, do not hesitate to write again. We will do our best to help you.
Greetings,
Ivan Petrov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>