P
Paul Hodgson
Anyone know how to access the main Form of a page programmatically, in order
to change its Action property? I seem to be up against two difficulties:
1. Can't find any obvious property on the Page class that lets me get to the
form.
2. I've noticed that even if I hard-code a different Action in the .aspx
page by saying <Form runat="server" Action="OtherPage.aspx" ... etc., the
new Action seems to get lost in the server processing and the current page
gets substituted instead.
(Before anyone asks, I'm not using the Viewstate.).
Thanks!
to change its Action property? I seem to be up against two difficulties:
1. Can't find any obvious property on the Page class that lets me get to the
form.
2. I've noticed that even if I hard-code a different Action in the .aspx
page by saying <Form runat="server" Action="OtherPage.aspx" ... etc., the
new Action seems to get lost in the server processing and the current page
gets substituted instead.
(Before anyone asks, I'm not using the Viewstate.).
Thanks!