Disable linkbutton via javascript - how?

Discussion in 'ASP .Net Web Controls' started by James Radke, Nov 6, 2003.

  1. James Radke

    James Radke Guest

    Hello,

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

    Thanks!

    Jim
     
    James Radke, Nov 6, 2003
    #1
    1. Advertising

  2. 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.


    --------------------
    > Reply-To: "James Radke" <>
    > From: "James Radke" <>
    > Subject: Disable linkbutton via javascript - how?
    > Date: Thu, 6 Nov 2003 10:32:42 -0600
    > Lines: 10
    > X-Priority: 3
    > X-MSMail-Priority: Normal
    > X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
    > X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
    > Message-ID: <#>
    > Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
    > NNTP-Posting-Host: cpe-24-167-241-101.wi.rr.com 24.167.241.101
    > Path:

    cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08
    ..phx.gbl!TK2MSFTNGP10.phx.gbl
    > Xref: cpmsftngxa06.phx.gbl

    microsoft.public.dotnet.framework.aspnet.webcontrols:15961
    > X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
    >
    > Hello,
    >
    > Is it possible to disable a linkbutton via client-side javascript? If so,
    > how?
    >
    > Thanks!
    >
    > Jim
    >
    >
    >
     
    Mike Moore [MSFT], Nov 6, 2003
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. george d lake

    how to disable a linkbutton in a repeater?

    george d lake, Oct 29, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    653
    george d lake
    Oct 29, 2003
  2. Al Cohen

    Disable Linkbutton Before Postback?

    Al Cohen, Dec 19, 2003, in forum: ASP .Net
    Replies:
    6
    Views:
    10,942
    Vikesh Arora
    Dec 28, 2004
  3. Sathyaish
    Replies:
    3
    Views:
    3,153
    Sathyaish
    Sep 8, 2005
  4. Sathyaish

    Linkbutton does not look like a linkbutton

    Sathyaish, Sep 8, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    209
    Sathyaish
    Sep 8, 2005
  5. James Radke

    Disable Linkbutton from Client-Side Javascript - help!

    James Radke, Jan 20, 2004, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    339
    Jeffrey Tan[MSFT]
    Jan 21, 2004
Loading...

Share This Page