Hi
I am using Xceed Grid for .Net. One of the columns in my grid is a link.
I have enabled this using
Dim lnk As New LinkLabel
lnk.LinkBehavior = LinkBehavior.AlwaysUnderline
lnk.LinkVisited = False
lnk.LinkColor = Color.Blue
lnk.VisitedLinkColor = Color.Blue
lnk.UseCompatibleTextRendering = True
lnk.TextAlign = ContentAlignment.MiddleRight
lnk.ForeColor = Color.Blue
.Columns(“ContactCount”).CellViewer = New ControlViewer(lnk, “Text”)
if the “ContactCount” > 0 then I want to display the link and ContactCount=0 then
I want to hide the Link and want to display as normal value.
currently, link is displayed on all the cells. how can I hide the link (if ContactCount=0)?

Imported from legacy forums. Posted by Tharaka (had 733 views)