I have a page where I want this code:
But each time I press save SPD adds a <p> and hoses my code to this..................
Notice the <p> tag in the middle of the validators. It puts that there by itself and now I have code that doesn't work. It is doing this all on it's own when I save.
How do you turn this off?
<p class="AlignLeft">ASPvalidation<br /><asp:ValidationSummary id="vsErrors" Runat="server" CssClass="AlertText" DisplayMode="BulletList" EnableClientScript="True" HeaderText="Error Summary" ValidationGroup="loginValidationGroup" /><asp:CustomValidator id="cvAuthentication" Runat="server" Display="None" EnableClientScript="False" ErrorMessage="Login ID or Password Is Invalid" OnServerValidate="cvAuthentication_ServerValidate" ValidationGroup="loginValidationGroup" /></p>
But each time I press save SPD adds a <p> and hoses my code to this..................
<p class="AlignLeft">ASPvalidation<br /><asp:ValidationSummary id="vsErrors" Runat="server" CssClass="AlertText" DisplayMode="BulletList" EnableClientScript="True" HeaderText="Error Summary" ValidationGroup="loginValidationGroup" /><p><asp:CustomValidator id="cvAuthentication" Runat="server" Display="None" EnableClientScript="False" ErrorMessage="Login ID or Password Is Invalid" OnServerValidate="cvAuthentication_ServerValidate" ValidationGroup="loginValidationGroup" /></p>
Notice the <p> tag in the middle of the validators. It puts that there by itself and now I have code that doesn't work. It is doing this all on it's own when I save.
How do you turn this off?