Thursday, July 23, 2009

amazing concepts

--> To call an event explicitly.....simply use the below.....

public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Button1_Click(null,null); }
protected void Button1_Click(object sender, EventArgs e)
{
Response.Write("Working");
}
}
like this respective events can be invoked explicitly.it perfectly works, i have run it :Akhilesh

-->