This is a migrated thread and some comments may be shown as answers.

disable radbutton after click

1 Answer 189 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Savyo
Top achievements
Rank 1
Savyo asked on 07 Oct 2013, 12:22 PM
 
   Hi,
       How can I disable radbutton after button-click. Please guide me somebody.

   Thanks
    Savyo

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 07 Oct 2013, 12:38 PM
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
Tags
General Discussions
Asked by
Savyo
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or