I have a page 'Registration.aspx' . Left Menu contains username,password field and 'Login' button(submit button). In the content area
i have some textboxes(Use to get the information from the user) and i have 'Register' button(submit button).
When i click the 'Login' button. It takes to post registration form.
How to use two submit button in one web form?
Thanks.
Loading

Jiteendra SampathiraoPosted Jul 21, 2011, 6:54 AM
use two button click events.......and write the functionality....
protected void button1_Click(object sender, eventargs e)
{
//your first button functionality
}
protected void button2_Click(object sender, eventargs e)
{
//your second button functionality
}
hope it help you.......
Blocked AccountPosted Jul 21, 2011, 6:02 AM
Check the events of both button, i think click events are same for both buttons.