Canceling the default submit button in ASP.NET

You can set the button’s UseSubmitBehavior = false

btnCategory.UseSubmitBehavior = false;

Leave a Comment