L
laziers
Hi,
I have a code like this:
protected void Page_Load(object sender, EventArgs e)
{
// CODE1
}
protected void Button_Click(object sender, EventArgs e)
{
// CODE2
}
I was noticed that when I click the button, CODE1 executea and after
that CODE2 executes.
Here is the problem, I dont want to execute CODE1 but only CODE2 [and
I dont want to use isPostBack].
Is there anyway to do this? I thik that the best way is getting name
or id of the clicked button.
bye
I have a code like this:
protected void Page_Load(object sender, EventArgs e)
{
// CODE1
}
protected void Button_Click(object sender, EventArgs e)
{
// CODE2
}
I was noticed that when I click the button, CODE1 executea and after
that CODE2 executes.
Here is the problem, I dont want to execute CODE1 but only CODE2 [and
I dont want to use isPostBack].
Is there anyway to do this? I thik that the best way is getting name
or id of the clicked button.
bye