Prevent ASPX form from being renamed
<p>I have an ASPX page, which contains a form. That form has been given a name and and id.
The aspx page also has a master page to which it is linked.</p>

<p>When the page is served up, both the name and id of the form are different. The name, for example, changes from "uploadForm" to "Form1"</p>

<p>The action of the form also appears to be altered.</p>

<p>What is the cause of this, and how can I prevent it?</p>

<p>The opening line of the aspx page is thus:</p>

<pre><code>&lt;%@ Page Language="C#" MasterPageFile="~/Modal.Master" AutoEventWireup="true" CodeBehind="UploadPage.aspx.cs" Inherits="WebConnect.UploadPage" %&gt;
</code></pre>

<p>And the form tag is:</p>

<pre><code>&lt;form id="uploadForm" name="uploadForm" enctype="multipart/form-data" action="Upload.ashx" method="post"&gt;
</code></pre>

<p>When served, it appears as:</p>

<pre><code>&lt;form id="Form1" action="UploadPage.aspx" method="post"&gt;
</code></pre>

<p><hr/>
<strong>UPDATE:</strong> Here is the entire body of the page:</p>

<pre><code>&lt;asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"&gt;
    &lt;form id="uploadForm" name="uploadForm" enctype="multipart/form-data" action="Upload.ashx" method="post"&gt;
        &lt;div&gt;
            File:
            &lt;input id="file1" name="fileField" type="file" /&gt;
            &lt;input id="objectID" name="objectID" type="hidden" /&gt;
            &lt;input id="fieldID" name="fieldID" type="hidden" /&gt;
            &lt;input id="submitType" name="submitType" type="hidden" /&gt;
            &lt;progress id="uploadProgress" value="10" max="100" display="none"&gt;&lt;/progress&gt;
            &lt;button id="Html5Submit" type="button" onclick="AsyncSubmit()"&gt;Submit&lt;/button&gt;
            &lt;button id="Html4Submit" type="button" onclick= "SyncSubmit()"&gt;Submit&lt;/button&gt;
        &lt;/div&gt;
    &lt;/form&gt;
    &lt;div id="Html5Upload"&gt;
    &lt;/div&gt;
&lt;/asp:Content&gt;
</code></pre>
