Image at the end of textbox while typing

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

    Posted 25 Apr 2014 Link to this post

    I'm using a SQL DataSource to bind to RadAutoCompleteBox in the Page Load. The RadAutoCompleteBox  is inside a RadAjaxPanel. However, when I type anything into the box, I do not see the loading/spinning image at the end of the text box as shown in the sample here:

    Here's my code:

    <telerik:RadAjaxPanel runat="server" ID="Panel1">
                               <telerik:RadAutoCompleteBox runat="server" ID="MailTo" Filter="StartsWith" DropDownHeight="400"
                                   DropDownWidth="250" AllowCustomEntry="true" DataTextField="Text" DataValueField="Value">
                                       <table cellpadding="0" cellspacing="0">
                                               <td align="left" style="width: 50%; padding-left: 10px;">
                                                   <%# DataBinder.Eval(Container.DataItem, "Text")%>
    protected void Page_Load(object sender, EventArgs e)
               MailTo.DataSource = GetUsers();       

  2. Konstantin Dikov
    Konstantin Dikov avatar
    2123 posts

    Posted 30 Apr 2014 Link to this post

    Hello Kanishka,

    I have tested your RadAutoCompleteBox settings, but everything seems to work correctly with the spinning image. However, if you test this locally, it is possible that there is no time for the spinning image to be displayed (due to fast response time).

    For testing purposes only I could suggest that you force the response to be delayed with the following and see if the spinning image will be displayed:
    protected void Page_Load(object sender, EventArgs e)
        MailTo.DataSource = GetUsers(); 

    Hope that helps.

    Konstantin Dikov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top