Search:
Namespaces
Discussions
.NET v1.1
Feedback
Possible to remove the link on one single row in a DataGrid
Messages
Related Types
This message was discovered on
microsoft.public.dotnet.framework.aspnet
.
Post a new message to this list...
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
Reply to this message...
Eliyahu Goldin
Sure. In PreRender event find the button you want to hide and set Visible
attribute to false.
Eliyahu
"Henke" <
Click here to reveal e-mail address
> wrote in message
news:
Click here to reveal e-mail address
...
[Original message clipped]
Reply to this message...
Henke
Thanks Eliyahu, that worked nice!
/Henke
"Eliyahu Goldin" <
Click here to reveal e-mail address
> skrev i meddelandet
news:Om$
Click here to reveal e-mail address
...
[Original message clipped]
Reply to this message...
System.Web.UI.WebControls.LinkButton
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com