Client Side RadComboBox Programming

2 posts, 0 answers
  1. Alex
    Alex avatar
    6 posts
    Member since:
    Dec 2007

    Posted 15 Jun 2008 Link to this post

    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?

  2. Rosi
    Rosi avatar
    2527 posts

    Posted 16 Jun 2008 Link to this post

    Hello Mark ,

    I suggest you try the following code:

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

    Kind regards,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. DevCraft R3 2016 release webinar banner
Back to Top