Version 2010.3.1317.20 (it's a .NET 2.0 site)
This code removes the underline from the links but the user can mouse over the text, making the underline come back and click the button. How can I stop this?
Protected Sub grdMaintReceived_ItemDataBound(sender As Object, e As Telerik.Web.UI.GridItemEventArgs) Handles grdMaintReceived.ItemDataBound
If TypeOf e.Item Is GridDataItem Then
Dim item As GridDataItem = DirectCast(e.Item, GridDataItem)
Dim deactivated As Boolean = DirectCast(item("deactivated").FindControl("checkDeactivated"), CheckBox).Checked
Dim contractBtn As LinkButton = DirectCast(item("service_provider_name").Controls(0), LinkButton)
If deactivated Then
contractBtn.Enabled = False
End If
End If
End Sub
This code removes the underline from the links but the user can mouse over the text, making the underline come back and click the button. How can I stop this?