I have an asp:button control and i have it's style set to display:none.
<asp:Button runat="server" ID="btnExport" style="display:none" OnClick="btnExport_Click" />
here is how it is rendered to the client:
<input type="submit" name="ctl00$m$g_d6cbcf9b_0316_4b3a_a32b_f7551a059317$ctl00$btnExport" value="" id="ctl00_m_g_d6cbcf9b_0316_4b3a_a32b_f7551a059317_ctl00_btnExport" style="display:none" />
BUT...when the page renders, the button is not visible EXCEPT for the very right edge (which the SkinManager adds once the paged is loaded). Attached is an image showing the barely partially rendered button.
How do i correct this? can i have the button register itself to opt out? Also, my SkinManager control is in a master page.