Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple Button Problem

Status
Not open for further replies.

liamba

Technical User
Jan 6, 2007
21
IE
Hi, I'm having a problem with a button..what i wanted to happen is if the "Submit" button has being pressed then find the button and perform that code within it else just do another function.

if (btnSubmit.Something == true)
{
Buttton btn = (Button)FindControl("btnSubmit");
btnSubmit_Click(btn,e)
}
else
{
Fillmemberdeatails();
}

the something is where the problem lies...i dont no what should go there

Thank You
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top