Folks,
In earlier versions I was using onmouseover attribute to display content of linkbutton i added in codebehind in Group > items. for some reason now its not working?
Its not even adding onmouseover events in html viewsource. its only displaying span tags..
Here is my code code
If dtSet.Tables("NewDataSet").Rows.Count = Nothing Then strFlag = strFlag + 1 Else For Each rw As DataRow In dtSet.Tables("NewDataSet").Rows ' linkbutton Dim lbNt As New LinkButton lbNt.CausesValidation = False lbNt.Text = dtSet.Tables("NewdataSet").Rows(r).Item("TicketNo") & " " & Format(dtSet.Tables("NewdataSet").Rows(r).Item("DateRaised"), "dd-MMM-yyyy HH:mm:ss") & "" Dim myDiaryText As String = Replace(dtSet.Tables("NewdataSet").Rows(r).Item("Request"), "'", "\'") myDiaryText = Replace(myDiaryText, """", """) myDiaryText = Replace(myDiaryText, Chr(10), "<br>") myDiaryText = Replace(myDiaryText, Chr(13), "") Dim reqNm As String = "Requested By : " & dtSet.Tables("NewdataSet").Rows(r).Item("RequestedByName") lbNt.Attributes.Add("onmouseover", "Tip('" & myDiaryText & "', SHADOW, true, WIDTH, 600, BGCOLOR, '#FFE347', DELAY, 100, FONTWEIGHT, 'bold',TITLE, '" & reqNm & "', TITLEFONTSIZE, '12px', TITLEBGCOLOR ,'#C6AF37')") lbNt.Attributes.Add("onmouseout", "UnTip()") lbNt.PostBackUrl = "~/Pages/Main.aspx?SecureEnc=" & "1" & "&eTicketID=" & dtSet.Tables("NewdataSet").Rows(r).Item("TicketNo") & "" Dim item As New ExplorerBarItem() item.Text = dtSet.Tables("NewdataSet").Rows(r).Item("TicketNo") & " " & Format(dtSet.Tables("NewdataSet").Rows(r).Item("DateRaised"), "dd-MMM-yyyy HH:mm:ss") & "" item.NavigateUrl = "~/Pages/Main.aspx?SecureEnc=" & "1" & "&eTicketID=" & dtSet.Tables("NewdataSet").Rows(r).Item("TicketNo") & "" item.ImageUrl = "../images/New.gif" group.Items.Add(item) r = r + 1 Next
Any ideas?
resolved by calling the code in form initialize stage.