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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top