Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to Click a Button when a variable set 1. example
Here is My button Name
C#
protected void btnFinish_Click(object sender, ImageClickEventArgs e)
{
.
.
.
}

I want to click it when
C#
if(i==1)
{
     Click = btnFinish_Click;
}

I am new in ASP. Please Help me.
Posted

C#
btnFinish_Click(null,null);
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900