Hi.
I have a couple of RADComboBoxes on a page. When a value in the first combo box is selected, the second one is dynamically filled in with values using javascript.
I've been trying to attach image tooltips (via RadToolTip) to items on the second RadComboBox, but I can't seem to find a way to do this. The following code does not work:
Is there any way to add tooltips to dynamically added items?
Thanks ...
I have a couple of RADComboBoxes on a page. When a value in the first combo box is selected, the second one is dynamically filled in with values using javascript.
I've been trying to attach image tooltips (via RadToolTip) to items on the second RadComboBox, but I can't seem to find a way to do this. The following code does not work:
var
target = $find(
"<%= ddlTypes.ClientID %>"
);
...
item =
new
Telerik.Web.UI.RadComboBoxItem();
item.set_text(
"Text1"
);
item.set_value(
"Value1"
);
target.get_items().add(item);
var
tooltip = $find(
"<%= RadToolTip1.ClientID %>"
);
tooltip.set_targetControl(item);
Is there any way to add tooltips to dynamically added items?
Thanks ...