Hi, my scenario is just like this telerik example
summaring.. on radgrid ItemDataBound (so for every row button control of the grid) I attach a tooltip to the control button
and debugging it looks like it works like a charm, the ascx is called with right element value
Unfortunally, when the mouse is over my button control shows at first the tooltip with exact content, but then, when I move the mouse to another row, to another button control, ascx shows the same content (the first one) though I can see, debugging, values passed are ok.
It has ajaxmanager as in the telerik example
I can't see why..
Thank you
summaring.. on radgrid ItemDataBound (so for every row button control of the grid) I attach a tooltip to the control button
myDBindex = getWordIndex(AppID, myserv.Name, defaultLang)
mycontrol = CType(dataitem("Name").FindControl("btn_DictionaryName"), Button)
mycontrol.OnClientClick = String.Format("OpenDictionary('{0}', '{1}','{2}','{3}','{4}','{5}');", myDBindex, defaultLang, tblName, "IDSPAService", myIDSpaService, "Name")
Me.RadToolTipManager1.TargetControls.Add(mycontrol.ClientID, myDBindex, True)
Protected Sub OnAjaxUpdate(ByVal sender As Object, ByVal args As ToolTipUpdateEventArgs)
Me.UpdateToolTip(args.Value, args.UpdatePanel)
End Sub
Private Sub UpdateToolTip(ByVal elementID As String, ByVal panel As UpdatePanel)
Dim ctrl As Control = Page.LoadControl("/FrontEndASCX/Dictionary/Dictionary.ascx")
panel.ContentTemplateContainer.Controls.Add(ctrl)
Dim myDict As ASP.GMDictionary = DirectCast(ctrl, ASP.GMDictionary)
myDict.AppID = AppID
myDict.IndexValue = elementID
myDict.showSaveButton = False
End Sub
and debugging it looks like it works like a charm, the ascx is called with right element value
Unfortunally, when the mouse is over my button control shows at first the tooltip with exact content, but then, when I move the mouse to another row, to another button control, ascx shows the same content (the first one) though I can see, debugging, values passed are ok.
It has ajaxmanager as in the telerik example
I can't see why..
Thank you