Disable button on click ASP.Net 2.0 or higher (prevent double click)

Posted by Chris Straw on January 20, 2012 in ASP.net, c# |

Tweet There is a need, at times, to prevent the user from clicking a button?multiple?times. ?Since ASP.Net already wraps something into the onclick event, you need to change this behavior. ?Below is the code to do this: btnSave is the name of the button you want to disable during postback.

Tags: ,


Find missing Foreign Keys in SQL Server

Posted by Chris Straw on January 13, 2012 in Database, SQL Server |

Tweet I was looking working on a script to find possibly missing foreign keys, when I stumbled upon Michael J Swart’s blog and it gave me exactly what I was looking for. You might need to tweak this a little to match your naming conventions. Here is another flavor I found on this blog Here […]

Tags: ,

Copyright © 2011-2020 Chris Straw All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.