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

Client Side RadComboBox Programming

1 Answer 59 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 15 Jun 2008, 05:02 PM
Any help would be appreciated.

I have RadToolbar, then RadToolBarButton, then ItemTemplate and finally RadComboBox -- much like one of you examples.

I am trying (and failing) to client-side get hold of the combobox:

var combobox = document.getElementById('<%=AnalyzerToolbar.FindItemByText("combo").FindControl("ListofViews").ClientID %>');

and programmatically get the selected item value. I cannot find any examples, and have spent several hours guessing and failing.

Could someone help?
Thanks

1 Answer, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 16 Jun 2008, 07:46 AM
Hello Mark ,

I suggest you try the following code:

var combobox = $find('<%=AnalyzerToolbar.FindItemByText("combo").FindControl("ListofViews").ClientID %>');

Kind regards,
Rosi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ToolBar
Asked by
Alex
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Share this question
or