disable radbutton after click

2 posts, 0 answers
  1. Savyo
    Savyo avatar
    75 posts
    Member since:
    Apr 2012

    Posted 07 Oct 2013 Link to this post

     
       Hi,
           How can I disable radbutton after button-click. Please guide me somebody.

       Thanks
        Savyo
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 07 Oct 2013 Link to this post

    Hi Savyo,

    Please try the following code snippet to disable a button on its click.

    ASPX:
    <telerik:RadButton ID="Button1" runat="server" Text="Click" OnClick="Button1_Click">
    </telerik:RadButton>

    C#:
    protected void Button1_Click(object sender, EventArgs e)
       {    
         Button1.Enabled = false;     
       }

    Thanks,
    Shinu
Back to Top