finding the client Id of combo box inside panel bar

3 posts, 1 answers
  1. Anjali
    Anjali avatar
    101 posts
    Member since:
    Dec 2010

    Posted 09 Jun 2011 Link to this post

    i am using the example of related combo box

    http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multiplecomboboxes/defaultcs.aspx

    The only problem, I am having is my combo box is inside the RadpanelBar. I could not figure out what to write for this

    function pageLoad()
    {
        // initialize the global variables
        // in this event all client objects
        // are already created and initialized
        countriesCombo = $find("<%= RadComboBox2.ClientID %>");    
        citiesCombo = $find("<%= RadComboBox3.ClientID %>");
    }


    when I do this
    $find("<%= RadComboBox2.ClientID %>");    

    It could not find the control because this combo box is inside the rad panel bar. can anyone please tell me the script to get the client ID of the control inside the radpanel bar,

    any help will be apprecaited.
  2. Answer
    Kalina
    Admin
    Kalina avatar
    918 posts

    Posted 10 Jun 2011 Link to this post

    Hi Anjali,

    Please take a look at the “Finding combobox on the client-side when it is embedded in another control”  help article.

    Kind regards,
    Kalina
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. Anjali
    Anjali avatar
    101 posts
    Member since:
    Dec 2010

    Posted 10 Jun 2011 Link to this post

    Thanks Kalina!
Back to Top