DotNet Blogs

Articles of ASP.NET, C# & SQL Server

Archive for March, 2009

disable the default button on a webform

Posted by Sujit Kumar on March 18, 2009

you can disable default button on a webform set to false of button property “UseSubmitBehavior”  .

ex:

 

<asp:Button ID=”btnSave” runat=”server”  Text=”Save” CssClass=”buttons” UseSubmitBehavior=”false” />

Posted in asp.net | Tagged: | Leave a Comment »