Hi,
I'm using the sliding panelbar for main navigation throughout my site. Since PanelItems do not allow for an ID property in the ASPX page, I have added client IDs to the panel items in the code behind:
Dim Item As RadPanelItem |
Dim SubItem As RadPanelItem |
Dim S As Integer = 1 |
For Each Item In RadPanelbar1.Items |
Item.Attributes.Add("id","panel" + CStr((Item.Index + 1))) |
For Each SubItem In RadPanelbar1.Items(Item.Index).Items |
SubItem.Attributes.Add("id", "subpanel_s" + CStr(S) + "_" + CStr((Item.Index + 1))) |
Next |
S = S + 1 |
Next |
Here's a line of code that attaches a tooltip to one of the panel items:
<telerik:RadToolTip Position="MiddleRight" Sticky="true" RelativeTo="Element" ID="RadToolTip1" runat="server" IsClientID="true" TargetControlID="panel1"> |
Explore status of unit(s) against the current timeline. |
</telerik:RadToolTip> |
The tooltip does not display for the panel item in question. What am I doing wrong?
Thanks
Jeff