Hi guys
Thanks for all your help so far!
Following the help docs I have added this in code behind to add a very simple tooltip
to my grid which should show the record ID on mouseover.
This doesn't actually do anything - no hand appears on mousover, no tooltip.
Do I also need RadAjax Manger and Tooltip manager in the declarations? The docs don't mention it but
the demo shows them so added this as my grid has paging and sorting (I already have radajaxmanager in master page):
Still haven't succeeded. Maybe some 'imports'missing in code behind?
Can you suggest where I am going wrong?
Thanks
Clive
Thanks for all your help so far!
Following the help docs I have added this in code behind to add a very simple tooltip
to my grid which should show the record ID on mouseover.
| Protected Sub RadGrid1_ItemCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) |
| If (TypeOf e.Item Is GridDataItem) Then |
| Dim gridItem As GridDataItem = CType(e.Item, GridDataItem) |
| For Each column As GridColumn In RadGrid1.MasterTableView.RenderColumns |
| If (TypeOf column Is GridBoundColumn) Then |
| gridItem(column.UniqueName).ToolTip = ("ID: " + gridItem.OwnerTableView.DataKeyValues(gridItem.ItemIndex)("ID").ToString) |
| End If |
| Next |
| End If |
| End Sub |
This doesn't actually do anything - no hand appears on mousover, no tooltip.
Do I also need RadAjax Manger and Tooltip manager in the declarations? The docs don't mention it but
the demo shows them so added this as my grid has paging and sorting (I already have radajaxmanager in master page):
| <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="RadGrid1"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" /> |
| <telerik:AjaxUpdatedControl ControlID="RadToolTipManager1" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManagerProxy> |
| <telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" |
| ManualClose="True"> |
| </telerik:RadToolTipManager> |
Still haven't succeeded. Maybe some 'imports'missing in code behind?
Can you suggest where I am going wrong?
Thanks
Clive