changing the action of web form

  • Thread starter Thread starter z f
  • Start date Start date
Z

z f

Hi,

i have vb.net asp.net web application.
i use a <form runat=server> tag
i need to change the action attribute of the form to submit to other page
(actually it's the same page but i need to add a folder prefix, because the
whole page have a <base href=> that points all url to other folder, so i
need to tell the form action to be at the form's folder specifically.
but even when i change the action attribute in the ASPX code or in code
behind,
the framework allways change it back to the default value.
what should i do?

TIA, z.
 
I have not tried this but you might want to a look:
http://www.codeproject.com/aspnet/jsnopostback.asp

Hi,

i have vb.net asp.net web application.
i use a <form runat=server> tag
i need to change the action attribute of the form to submit to other page
(actually it's the same page but i need to add a folder prefix, because the
whole page have a <base href=> that points all url to other folder, so i
need to tell the form action to be at the form's folder specifically.
but even when i change the action attribute in the ASPX code or in code
behind,
the framework allways change it back to the default value.
what should i do?

TIA, z.
 
Back
Top