I am looping through controls on the client and need to know the type of control. For example, control.type returns whether it is text or a checkbox. However, I cannot get the type if it is a RadComboBox. Is there another way to achieve this?
1 Answer, 1 is accepted
answered on 12 Nov 2008, 02:11 PM
Hello Feizal Amlani,
You can use the isInstanceOfType method. The actual client-side object is attached as an expando property ("control") to its corresponding html element:
var isCombo = Telerik.Web.UI.RadComboBox.isInstanceOfType($get("RadComboBox1").control);
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.