I have a form tag in my page (Metadata.aspx) as belo
<form id="Form1" method="post" runat="server" action="Metadata.aspx"
My problem is that when this page is accessed from other pages which pass parameters in the query string to Metadata.aspx these are then reflected in the form's action attribute so it looks like this..
<form name="Form1" method="post" action="MetaData.aspx?Param1=2&Param2=z" language="javascript" onsubmit="ValidatorOnSubmit();" id="Form1"
I have tried using
((HtmlForm)Page.FindControl("Form1")).Attributes.A dd("action","Metadata.aspx") to override this behaviour but to no avail
Any ideas how I can turn this behaviour off?
Cheers
Marti