Possible to remove the link on one single row in a DataGrid

  • Thread starter Thread starter Henke
  • Start date Start date
H

Henke

Hi

I have a System.Web.UI.DataGrid on a WebForm. In one of the columns I have a
LinkButton. Can I on one single row in the grid, remove the link so the user
can not click it?

Thanks in advance!
/Henke
 
Thanks Eliyahu, that worked nice!

/Henke

Eliyahu Goldin said:
Sure. In PreRender event find the button you want to hide and set Visible
attribute to false.

Eliyahu

have
 
Sure. In PreRender event find the button you want to hide and set Visible
attribute to false.

Eliyahu
 
Back
Top