LoadOnDemandURL Problem not seen as a property of RadComboBox

2 posts, 0 answers
  1. david
    david avatar
    1 posts
    Member since:
    Jan 2009

    Posted 09 Mar 2011 Link to this post

    Hello dear representative of Telerik. We have problems with the new version of Telerik Combobox.
    In the Old version of Telerik you had the .dll file of RadCombobox.Net2.dll. And there we had a possibility of seeing the property LoadOnDemandURL as seen in the example below:

    :RadComboBox ID="Systems" runat="server" AllowCustomText="true" AutoPostBack



    DataTextField="Name" DataValueField="Id" DropDownWidth="360px" EnableLoadOnDemand



    HighlightTemplatedItems="true" IsCaseSensitive="false" ItemRequestTimeout



    MarkFirstMatch="true" OnClientDropDownClosing="showContactType();" OnClientDropDownOpening



    OnClientKeyPressing="showDropDown(this);" OnClientSelectedIndexChanged



    OnItemsRequested="Systems_ItemsRequested" OnSelectedIndexChanged



    ShowDropDownOnTextboxClick="true" Skin="ClassicLongWidth" ToolTip="" ShowMoreResultsBox



    Please see the Function Below:




    debugger ;





    customers = <%= Customers.ClientID %>;




    products = <%= Products.ClientID %>;




    platforms = <%= Platforms.ClientID %>;




    sstes = <%= SSTes.ClientID %>;


    //inserts the selected tier to the ajax request


    var tierString = "&ContactTypes=" + $F('<%= ContactTypes.ClientID %>' );



    tierString +=




    + customers.GetValue();



    if(sstes !=null )





     tierString +=




    + sstes.GetValue();



    if(products!=null )



    tierString +=




    + products.GetValue();



    if(platforms!=null )



    tierString += 




    + platforms.GetValue();



    if (sender.LoadOnDemandUrl.indexOf(tierString) != -1)




    return ;




    var indexOfTiers = sender.LoadOnDemandUrl.indexOf("&ContactTypes=" )




    if (indexOfTiers != -1)




    //assume is last parameter


    sender.LoadOnDemandUrl = sender.LoadOnDemandUrl.substring(0,indexOfTiers); 




    sender.LoadOnDemandUrl = sender.LoadOnDemandUrl + tierString;

    if ((Sys.Browser.agent === Sys.Browser.InternetExplorer) && (Sys.Browser.version < 7))





    '<%= LogicalUnits.ClientID %>').style.visibility = 'hidden' ;





     '<%= Severities.ClientID %>').style.visibility = 'hidden' ;





    '<%= Urgencies.ClientID %>').style.visibility = 'hidden' ;





    As you can see there was a possibility of setting a new LoadonDemandURL.
    I tried to do the same in Telerik.Web.UI, Version 2010.2.817.40
    But I don't have over there this property.

    I wanted first of all to ask if you have any other function which can help me to make what is described below.
    If I make LoadOndeMand = true for some combobox it won't be able to see the value of other combos which were loaded in the same way with AutoPostBack = false.
    With LoadOnDemandURL I could set the new URL and receive the values by request.querystring.

    Wait for your reply.




  2. Kalina
    Kalina avatar
    918 posts

    Posted 14 Mar 2011 Link to this post

    Hello david,

    The LoadOnDemandURL property is obsolete and available only in RadComboBox for ASP.NET.
    If you intend to use our RadComboBox for ASP.NET AJAX – please use the context object to pass additional parameters server-side.

    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top