I want to remove a clickable link from asp:Gridview column when some condition is true.
I tried this:
Gridview.attributes["disabled"] = "disabled";
But the hyperlink is still clickable. I don't want clickable hyperlinks when the grid is disabled. How can I do it in C#.net?