RadAutoCompleteBox Loading/Spinning Image Not Showing

6 posts, 0 answers
  1. kp
    kp avatar
    4 posts
    Member since:
    May 2013

    Posted 25 Apr 2014 Link to this post

    I've a RadAutoCompleteBox bound to a SQL data Source. When I type a text into the box, I want to have the loader/spinner show at the end as shown in this sample:

    http://demos.telerik.com/aspnet-ajax/autocompletebox/examples/default/defaultcs.aspx

    I've tried using the sample code which is extremely basic, but it still doesn't show the circular image at the end. Please help.

    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1">
            <telerik:RadAutoCompleteBox ID="RadAutoCompleteBox1" runat="server" Width="250" DropDownHeight="150"
                DropDownWidth="250">
            </telerik:RadAutoCompleteBox>
        </telerik:RadAjaxPanel>
     
     
    protected void Page_Load(object sender, EventArgs e)
            {
                RadAutoCompleteBox1.DataSource = new List<string>() { "Europe", "America", "Asia", "Africa", "Australia" };
            }

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 28 Apr 2014 in reply to kp Link to this post

    Hi Kp,

    The loading image of RadAutoCompleteBox will show only if it take time to load the items. In your scenario there is not that much items so it will show the loading image for a very small period of time. Please add the following C# code and check it will show the loader image for sometimes. 

    C#:
    protected void Page_Load(object sender, EventArgs e)
    {
        Thread.Sleep(1000);
        RadAutoCompleteBox1.DataSource = new List<string>() { "Europe", "America", "Asia", "Africa", "Australia" };
    }

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. kp
    kp avatar
    4 posts
    Member since:
    May 2013

    Posted 28 Apr 2014 in reply to Princy Link to this post

    Thanks for the reply Princy but my original connection to sql database takes some time so that's why the need for the image in the first place. I did try to add Thread.Sleep in the above example as suggested, but it still didn't work. I tried increasing the sleep time to 5 seconds but still no luck.
  5. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 29 Apr 2014 in reply to kp Link to this post

    Hi kp,

    Unfortunately I couldn't replicate the issue at my end. 

    Thanks,
    Princy.
  6. kp
    kp avatar
    4 posts
    Member since:
    May 2013

    Posted 29 Apr 2014 Link to this post

    Hi Princy, can you please tell me which version of Telerik library you're using? I'm wondering if that's the issue. My version is 2013.3.114.40

    Thanks,
    KP
  7. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 29 Apr 2014 in reply to kp Link to this post

    Hi kp,

    I am able to replicate the issue in telerik version Q3 2013, I tried with the latest version and it is working fine at my end. As a suggestion you can upgrate the telerik version to Q1 2014.

    Thanks,
    Princy.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017