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

[Solved] Accessing controls from Javascript

1 Answer 125 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
GcM
Top achievements
Rank 1
GcM asked on 09 Jan 2008, 07:23 PM
I am migrating my application from RadControls ASP.NET to Prometheus and have run into a problem with accessing my controls from javascript.  For example, previously I used the following to access a combobox:  var equipmentCombo = <%= rcbEquipment.ClientID %>;  Since the switch, the object doesn't recognize telerik specific API calls (e.g. equipmentCombo.set_text("Loading..."); generates the Object doesn't support this method or property error).  I've also tried using the $find("rcbEquipment") as I've seen in some examples, but that returns a null.  Any ideas on what I missed in the migration?

Thanks

1 Answer, 1 is accepted

Sort by
0
Leon
Top achievements
Rank 1
answered on 10 Jan 2008, 08:33 AM
Hi,

Each Prometheus control docs contain an article about the client-side API. You can find the Combobox described here:

http://www.telerik.com/help/radcontrols/prometheus/combo_client_basics.html


Hope this helps!
-Leon
Tags
General Discussions
Asked by
GcM
Top achievements
Rank 1
Answers by
Leon
Top achievements
Rank 1
Share this question
or