How to raise Button Event?

 Posted by vishalneeraj-24503 on 5/3/2014 | Category: Visual Studio Interview questions | Views: 792 | Points: 40
Answer:

We have button' ONCLICK event,by which we can raise or fire button event on windows application or web application.

For Example:-
<asp:Button ID="Button1" runat="server" Text="Button" OnClick = "Button1_Click"/>



protected void Button1_Click(object sender, EventArgs e)
{
//write your code
}


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response