Groups | Blog | Home
all groups > asp.net webcontrols > november 2003 >

asp.net webcontrols : Disable linkbutton via javascript - how?


James Radke
11/6/2003 10:32:42 AM
Hello,

Is it possible to disable a linkbutton via client-side javascript? If so,
how?

Thanks!

Jim

michmo NO[at]SPAM online.microsoft.com (
11/6/2003 5:45:28 PM
Hi Jim,

Please try the following.
<script>
document.all("LinkButton1").disabled = true;
</script>

Thank you, Mike
Microsoft, ASP.NET Support Professional

Microsoft highly recommends to all of our customers that they visit the
http://www.microsoft.com/protect site and perform the three straightforward
steps listed to improve your computer’s security.

This posting is provided "AS IS", with no warranties, and confers no rights.


--------------------
[quoted text, click to view]
cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08
..phx.gbl!TK2MSFTNGP10.phx.gbl
[quoted text, click to view]
AddThis Social Bookmark Button