Hello all -
I am just getting started on working with ASPX pages. I have a form tag that the runat="server". For some reason my form action is not posting to the correct page but actually to the same page. Meaning, My current page is page1.aspx and the form action is to page2.aspx. When I submit the page it does not go to page2.aspx.
Why is this happening???
What I have currently done to solve this issue is that in the click event of the button I redirect to page2.aspx. That is fine for now but what about if I have a lot of controls on the form. I am gonna have to build a really long string/url to direct 2. That would really suck!!!!
Please say there is a way!
Thanks in advance,
Frandazzo
NYC.
I am just getting started on working with ASPX pages. I have a form tag that the runat="server". For some reason my form action is not posting to the correct page but actually to the same page. Meaning, My current page is page1.aspx and the form action is to page2.aspx. When I submit the page it does not go to page2.aspx.
Why is this happening???
What I have currently done to solve this issue is that in the click event of the button I redirect to page2.aspx. That is fine for now but what about if I have a lot of controls on the form. I am gonna have to build a really long string/url to direct 2. That would really suck!!!!
Please say there is a way!
Thanks in advance,
Frandazzo
NYC.