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.
Hi Infra Jag,
Please let me know if you have any further information available that could help me reproduce this issue.
I don't currently have enough information to understand what you are trying to do with this. Are you having trouble adding the link button to the WebExplorerBar or displaying the tooltips on mouseover. What should be moused over to display the tooltips?
I just need more information to see what you are looking to accomplish. If you could provide more details and possibly a simple sample, that would help me out.
Please let me know how I can assist you further with this issue.
Thank buddy...
I'm posting to let you know that I'm looking into this for you. I will need a couple days to test and research this. I will have an update for you by the end of Thursday.
If you have any further questions, please let me know and I'll be glad to help.