WebGrid TooltipText for cell not working

7 replies. Last post: April 7, 2015 4:07 AM by Yudi
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Dev AshishMember

Hi,

I am getting problem in WebGrid 8.0.7200.258 with TooltipTest for Grid cell. It is getting overritten by the default tooltip text set by the grid when the value exceeds the column width.

I am using HTML5 doctype with .NET 4.5.1 in Visual Studio 2013.

Here is the sample.

I have used one of the page from the samples provided by Intersoft from below project.

C:\Program Files (x86)\Intersoft Solutions\Intersoft Premier Studio 2013 R1\Samples\For ASP.NET\ISNet.WebUI.Samples\vb\WebGridSamples.sln

Please note that I have changes only in the code behind file that to only one line. Its the underline statement in the below code.  

Protected Sub WebGrid1_InitializeRow(ByVal sender As Object, ByVal e As ISNet.WebUI.WebGrid.RowEventArgs)

        If e.Row.Type = RowType.Record Then
            Dim deptCell As WebGridCell = e.Row.Cells.GetNamedItem("DepartmentID")
            deptCell.Image = "images/dept_" & deptCell.Value.ToString() & ".png"
            deptCell.CustomObjectAttributes = "height=16"
            deptCell.TooltipText = "###Tooltip###"
        End If
	End Sub

Regards,

Dev

All times are GMT -5. The time now is 7:13 AM.
Previous Next