Search This Blog

Thursday, May 14, 2009

How to set the Deafult Button in Web Pages

How to set the Deafult Button in User Control

protected void Page_Load(object sender, EventArgs e)
{
Page.Form.DefaultButton = ButtonId.UniqueID;
}


How to set the Deafult Button in Web Form


form id="thisForm" runat="server" defaultbutton="ButtonId"

Popular Posts