Hi,
I'm using a dropdown inside the RadEditor tool strip. I see from the examples how to get the value of the dropdown and how to get the name of the command, but how do i get the text of the drop down in this example?
Thanks!
function OnClientCommandExecuting(editor, args) { |
var name = args.get_name(); //The command name |
var val = args.get_value(); //The drop down value |
Here's an example of what I mean;
<telerik:EditorToolGroup> |
<telerik:EditorDropDown Name="Test" Width="150px" Text="Insert Test" ItemsPerRow="1" PopupWidth="170px" PopupHeight="117px"> |
<telerik:EditorDropDownItem Name="Text 1" value="T1"/> |
I want to get "Text 1" but the only thing I can figure out to get is T1.