Tuesday, 7 February 2017

C# ASP.NET Disable the Button After First Click Until the Process is Finished

Simply add the following properties to the desired button:

  • UseSubmitBehavior = "false" 
  • OnClientClick = "this.disabled=true; this.value='Processing. Please Wait...';"   more...

No comments:

Create modal using HTML and CSS

<body>   <dialog id = "modal">      <div>        <h1>Title</h1>        <p>Sample Text</p...