How to get the selected value of a RadComboBox using javascript?

4 posts, 0 answers
  1. Pooya
    Pooya avatar
    3 posts
    Member since:
    Jun 2009

    Posted 01 Jul 2009 Link to this post

    I have a RadComboBox on my page:
    <telerik:RadComboBox ID="RadComboBoxProduct" runat="server" Height="200px" Width="200px"
                                DropDownWidth="298px" EmptyMessage="Choose a Product" />

    I have populated its data at run time, client name as text and clientId as value.

    How can I get the selectedItem value using javascript?

    function getSelectedValue(radComboBox)
    {
    // how to implement this?
    }

    Any help is much appreciated.
  2. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 01 Jul 2009 Link to this post

    Hello P,

    Please refer to this help article for details on the matter.

    All the best,
    Paul
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Pooya
    Pooya avatar
    3 posts
    Member since:
    Jun 2009

    Posted 02 Jul 2009 Link to this post

    Thanks Paul but the problem is that I am using 

    Telerik.WebControls.

    RadComboBox not the Telerik.Web.UI.RadComboBox.

    Is there anyway to be able to select the selected value of this RadComboBox using JavaScript?

    Pooya,

     

  4. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 03 Jul 2009 Link to this post

    Hello Pooya,

    Please refer to these help articles on the matter.

    The RadComboBox client object model
    The RadComboBoxItem client object model

    Greetings,
    Paul
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top