HI,
1) take two buttons on a webform.
2) Double click on both the button to generate their click events and then write the following :
Button1(object sender ,Eventargs e)
{
Response.write("i am button1");
Button2_click(Button2, null);
}
Button2(object sender ,Eventargs e)
{
Response.write("i am button2");
}
Gud luck.