Related combobox javascript "combobox.set_text" question

3 posts, 0 answers
  1. Greg
    Greg avatar
    8 posts
    Member since:
    Sep 2011

    Posted 20 Oct 2011 Link to this post

    In the following example: http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multiplecomboboxes/defaultcs.aspx

    I would like to add a small spinning .gif in front of the "loading..." text to indicate activity. Is this possible?

    You can look in the "LoadCountries()" javascript function of the examples source code to see where the "loading" text gets set.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 21 Oct 2011 Link to this post

    Hello Greg,

    You can try the following approaches in the online help article.
    Show/Hide RadAjaxLoadingPanel explicitly.
    Ajax / Templates and Transparency.

    Thanks,
    Shinu.
  3. Ivana
    Admin
    Ivana avatar
    657 posts

    Posted 25 Oct 2011 Link to this post

    Hi Greg,

    Yes, it is possible to achieve this scenario using JavaScript.

    When the items are loaded in the country and city RadComboBoxes you could define an image background for the input fields of the RadComboBoxes and then when selected items are set you could delete the image from the input.

    I have made a sample web page, which shows how the scenario in question could be achieved. Please find attached and give it a try.

    Hope this helps.

    All the best,
    Ivana
    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
Back to Top