Hi,
I'm trying to implement the RadToolTip control in the edit form of a RadGrid but I'm having problems assigning the TargetControlIDs for RadEditor and RadUpload controls inside edititemtemplates. I've got it to work for RadTextBox, RadComboBox and RadDatePicker by appending "_text", "_input" and "_dateInput_text" to their ClientIDs respectively.
Here's a sample of the code I'm using in the ItemCreated sub for the grid:
I'm trying to implement the RadToolTip control in the edit form of a RadGrid but I'm having problems assigning the TargetControlIDs for RadEditor and RadUpload controls inside edititemtemplates. I've got it to work for RadTextBox, RadComboBox and RadDatePicker by appending "_text", "_input" and "_dateInput_text" to their ClientIDs respectively.
Here's a sample of the code I'm using in the ItemCreated sub for the grid:
| Dim editFormItem As GridEditFormItem = TryCast(e.Item, GridEditFormItem) |
| Dim rttYear As RadToolTip = CType(editFormItem.FindControl("rttYear"), RadToolTip) |
| Dim rcbYear As RadComboBox = CType(editFormItem.FindControl("rcbYear"), RadComboBox) |
| rttYear.TargetControlID = rcbYear.ClientID & "_input" |
I've tried to use the following for RadEditor and RadUpload but the tooltip never appears:
| Dim rttFile As RadToolTip = CType(editFormItem.FindControl("rttFile"), RadToolTip) |
| Dim rupFile As RadUpload = CType(editFormItem.FindControl("rupFile"), RadUpload) |
| rttFile.TargetControlID = rupFile.ClientID |
| Dim rttDescription As RadToolTip = CType(editFormItem.FindControl("rttDescription"), RadToolTip) |
| Dim redDescription As RadEditor = CType(editFormItem.FindControl("redDescription"), RadEditor) |
| rttDescription.TargetControlID = redDescription.ClientID |
Can you point me in the right direction on this?
Thanks,
V.