Loading msg not appearing for Load on Demand

2 posts, 0 answers
  1. Shuja
    Shuja avatar
    30 posts
    Member since:
    Mar 2011

    Posted 14 Jan 2013 Link to this post


    I have a combobox which i've setup to use the EnableAutomaticLoadOnDemand. This works fine. When you click on the combobox, the dropdown list is populated using the ItemsRequested event.
    However, looking at the demo examples on the telerik site, the load on demand examples have a "loading..." msg appear by default while the combobox is being populated. But my combobox has lost this msg & so it never appears. After you click on the combobox, a blank drop down list appears & then a few sconds later it is populated with the data items. I would like to have the loading msg visible but i can't seem to get it working (even though i have specifically set the msg text in my combobox). See below for my code:
    <telerik:RadComboBox ID="ApprovalItem" runat="server" AllowCustomText="false"
    AppendDataBoundItems="True" CssClass="ComboBoxPadding"
    DataSourceID="DS_CostCentre" DataTextField="CCDesc" DataValueField="costcentre"
    DropDownWidth="420px" EmptyMessage="Select Approval Item:" Enabled="False"
    Font-Names="Verdana" Font-Size="8pt" HighlightTemplatedItems="true"
    MarkFirstMatch="true" TabIndex="9" EnableAutomaticLoadOnDemand="True"
    EnableVirtualScrolling="true" ShowMoreResultsBox="true"
    ShowWhileLoading="true" LoadingMessage="Loading..." ShowDropDownOnTextboxClick="true"

    Am i doing something wrong in my combobox? I've tried the code without the LoadingMessage value to see if it appears by default but i just get a blank.

    Thanks in advance for any help.


  2. Dimitar Terziev
    Dimitar Terziev avatar
    1266 posts

    Posted 18 Jan 2013 Link to this post

    Hello Shuja,

    I have inspected the provided implementation and I have noticed that you are using the AutomaticLoadOnDemand functionality as well as handling the OnItemsRequested server-side event. In general you should ether load items via the aforementioned event or use the automatic functionality and get the items from the data source defined through the DataSourceID property.

    Dimitar Terziev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top