"Loading" Text

2 posts, 0 answers
  1. Shahi
    Shahi avatar
    17 posts
    Member since:
    Apr 2013

    Posted 05 Jun 2013 Link to this post


    I am populating a radcombobox using the item requested server event. The data is fetched from the database instantly and its being populated. I want to display a "Loading" text explicitly and then only it should be populated.  Any possible method?

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

    Posted 05 Jun 2013 Link to this post

    Hi Shahi,

    I guess you need to show the Loading text even if data is instantly fetched and populated from the database. You can try the following C# code in the beginning of the ItemRequested server side event.

    protected void RadComboBox1_ItemsRequested(object sender, Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs e)
        System.Threading.Thread.Sleep(2000); //Loading text is shown for 2 seconds.
        //Your code

Back to Top