This is a migrated thread and some comments may be shown as answers.

Related combobox javascript "combobox.set_text" question

2 Answers 68 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Greg
Top achievements
Rank 1
Greg asked on 20 Oct 2011, 07:30 PM
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 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 21 Oct 2011, 06:47 AM
Hello Greg,

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

Thanks,
Shinu.
0
Ivana
Telerik team
answered on 25 Oct 2011, 02:12 PM
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
Tags
ComboBox
Asked by
Greg
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Ivana
Telerik team
Share this question
or