Hello,
Perhaps I'm not going about this the right way, but here is my scenario:
I have a radgrid and a radtooltipmanager. I use the ItemCreated event on the radgrid to add each of the headers of the radgrid to the target controls of the radtooltipmanager (using examples I've seen on this site:
So now, when the user hovers over a header, I want to grab some help content from an XML file and place it in the resulting tooltip. So, I am using the AjaxUpdate event of the RadToolTipManager. However, I would like to use the UniqueName of the column on which the user hovered in order to grab the content from the XML file. I am at a loss as to how to access the column in which the LinkButton that the user is hovering over appears. Any suggestions?
Thanks,
Gene
Perhaps I'm not going about this the right way, but here is my scenario:
I have a radgrid and a radtooltipmanager. I use the ItemCreated event on the radgrid to add each of the headers of the radgrid to the target controls of the radtooltipmanager (using examples I've seen on this site:
Protected Sub _assignedRefsRadGrid_ItemCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles _assignedRefsRadGrid.ItemCreated |
If (TypeOf e.Item Is GridHeaderItem) Then |
Dim headerItem As GridHeaderItem = e.Item |
For Each column As GridColumn In _assignedRefsRadGrid.MasterTableView.RenderColumns |
If ((Not TypeOf column Is GridExpandColumn) And (Not TypeOf column Is GridRowIndicatorColumn)) Then |
Dim hdr As LinkButton = headerItem(column.UniqueName).Controls(0) |
RadToolTipManager1.TargetControls.Add(hdr.ClientID, True) |
End If |
Next |
End If |
End Sub |
So now, when the user hovers over a header, I want to grab some help content from an XML file and place it in the resulting tooltip. So, I am using the AjaxUpdate event of the RadToolTipManager. However, I would like to use the UniqueName of the column on which the user hovered in order to grab the content from the XML file. I am at a loss as to how to access the column in which the LinkButton that the user is hovering over appears. Any suggestions?
Thanks,
Gene