public class Button : WebControl, IButtonControl, IPostBackEventHandler{ // Block your enter code here by overriding the onclick event }
if (e.KeyCode == Keys.Enter) { e.SuppressKeyPress = true; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)