What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 8475 |  Welcome, Guest!   Register  Login
 Home > Forums > ASP.NET > I want to Disable Button in asp.net ...
Nuwan

I want to Disable Button in asp.net

Replies: 1 | Posted by: Nuwan on 5/27/2012 | Category: ASP.NET Forums | Views: 315 | Status: [Member] | Points: 10  


Dear All,

I create a CashBook in asp, Now it finish. Now I want to add a Confirm button in that page.
Some user Click that Confirm Button his username,date & time and status going to new sql table.
I do that thing. Bt I want to in that day if some user click this button at once want to disable that button in that button clicking user.
How I do that. Please help me.

Thank You!!!!

Rathnayake


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Dn2010
Dn2010  
Posted on: 5/28/2012 8:51:20 AM
Level: Starter | Status: [Member] | Points: 25


hi,

protected void Button1_Click(object sender, EventArgs e)
{

Button1.Enabled = false;

}

Nuwan, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/23/2013 12:12:05 PM