Custom Control is Spitting out it's name into the Source!
<p>No idea why but when I place my custom control in my .aspx page, it's rendering the ID out also.  So Consequently, I'm writing out some JavaScript to the page also and right in the middle I get this name of my control so it's messing up my JavaScript.</p>

<p>So in my .aspx I have:</p>

<pre><code>&lt;pm:Car ID="ProductCar" runat="server"/&gt;
</code></pre>

<p>And here's what starts to get rendered:</p>

<pre><code>&lt;script type="text/javascript"&gt;
var ctl00_mainContent_ProductCar
lastProductID;var ctl00_mainContent_ProductCar
carSize;
...
</code></pre>

<p>as you can see ctl00_mainContent_ProductCar is the ID and it's being rendered right after var so I end up with a lastProductID not found error in my JavaScript because the text ctl00_mainContent_ProductCa is in the way.</p>

<p>(updated)</p>

<pre><code>    protected override void Render(HtmlTextWriter writer)
    {
        writer.Write(BuildCarJavaScript());
    }
</code></pre>

<p>simply outputs a bunch of JavaScript to the page.  And nowhere in my JavaScript do I have it just outputting clientID by itself like I'm seeing.</p>

<p>In BuildCarJavaScript here is where I'm creating that code:</p>

<pre><code>        carJavaScript.Append(@"&lt;script type=""text/javascript""&gt;" + "\r\n");
        carJavaScript.AppendFormat("var {0}lastProductID;", this.ClientID + "\r\n");
...
</code></pre>
