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

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
 
H

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
 
E

Eliyahu Goldin

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

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top