Jquery get_items() of RadListBox

4 posts, 0 answers
  1. Saquib
    Saquib avatar
    18 posts
    Member since:
    Aug 2011

    Posted 26 Apr 2013 Link to this post


    I struggling through an IE9 specific issue. 
    I have RadListBox which I am trying to get its Client ID in Jquery. The way I am doing it is recommended on telerik.com.

    var lstBusinessModel = $find("<%=lbBusinessModel.ClientID %>");
    var items = lstBusinessModel.get_items();

    HTML markup

    <telerik:RadListBox ID="lbBusinessModel" Width="200px" Height="300px" OnClientSelectedIndexChanged="BusinessModelSelected" 

    It works perfectly fine in Chrome, Firefox, IE8, IE7. The only browser it doesn't support is IE9.

    Are you guys aware of this issue?
    Can you guys please look into this one and provide me the solution.

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 28 Apr 2013 Link to this post


    You can use the approach mentioned in the following help article.
    Using jQuery

  3. Saquib
    Saquib avatar
    18 posts
    Member since:
    Aug 2011

    Posted 30 Apr 2013 Link to this post

    Hello Shinu,

    I am using Sitefinity 5, Can you or someone from the Telerik team tell me how can I add script reference to the inherited master pages. 

    I tried to add RadScriptManager with the required script references in the user control that I built, but it thrown an error saying that I cannot have more than one RadScriptManager in a page. So I am assuming that there is a RadScriptManager in the Master page (Page Template). But the Page Template that my page uses is an inherited one. This inherited page template is based on a master page which is not inherited, in other words, I can view the code. Guess what? there is no RadScriptManager is this master page. That should mean that the inherited master page has created RadScriptManager which is not accessible. 

    Did I reach the correct conclusion?

    Note: I don't have "Include RadScriptManager"  checked on my page level.

  4. Jen Peleva
    Jen Peleva avatar
    3 posts

    Posted 04 May 2013 Link to this post

    Hello Saquib,

    Can you try to add your scripts with a ResourceLinks control or a Javascript embed control? Here's some further reference:


    You will also find this blog post useful:


    Here's also a forum thread, where I have provided sample references with the ResourceLinks control.

    You can also use the JavaScriptEmbedControl (which is the javaScript widget from our toolbox):

    <%@ Register Namespace="Telerik.Sitefinity.Web.UI.PublicControls" Assembly="Telerik.Sitefinity" TagPrefix="sf" %>
    <sf:JavaScriptEmbedControl runat="server" ID="JavaScriptEmbedControl6" Url="http://ajax.microsoft.com/ajax/beta/0910/MicrosoftAjaxAdoNet.js"
        ScriptEmbedPosition ="Head">
    <sf:JavaScriptEmbedControl runat="server" ID="JavaScriptEmbedControl1" Url="~/Scripts/MicrosoftAjaxTemplates.js"
        ScriptEmbedPosition ="Head">
    <sf:JavaScriptEmbedControl runat="server" ID="JavaScriptEmbedControl2" Url="http://ajax.microsoft.com/ajax/beta/0910/MicrosoftAjax.js"
        ScriptEmbedPosition ="Head">

    Jen Peleva
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top