Here is another sample message #
1302237>I had posted the following message in the ASP.NET forum and eventually found a link to solve a problem of restricting a web command button from being clicked twice.
>
>
Re: Stop command button from being clicked twice Thread #
1408368 Message #
1408381>
>The link shows how to add client side code to solve this. Now, since I have not incorporated any client side code into my web app, I am at a loss as to how to do this in my web form. The following shows the aspx code for the button I need to add this code:
>
>
><td style="width: 177px; height: 40px;" align="center">
> <mm:mmButton ID="btnSubmit" runat="server" Text="Save" OnClick="btnSubmit_Click" Width="100px" /></td>
>
>
>The OnClick method is, of course, server side code.
>
>The solution found on the link says to add the following:
>
>
><form action="ProcessFormData.asp"
> onsubmit="alert('The form is being submitted.');">
> <input type="submit" id="btnSubmit" value="Submit"
> onclick="this.disabled=true;this.value='Submitting...';
> this.form.submit();"
> />
></form>
>
>
>I have posted this in the MM.NET forum as my web page utilizes their templates. How do I incorporate this above suggested solution into my MM.NET derived web form?
>
>TIA
>
>Bob
If it's not broken, fix it until it is.
My Blog