Quantcast
Channel: SharePoint Legacy Versions - Using SharePoint Designer, InfoPath and Other Customizations Forum
Viewing all articles
Browse latest Browse all 2319

sharepoint designer keeps adding unwanted tags

$
0
0
I have a page where I want this code:
<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?

Viewing all articles
Browse latest Browse all 2319

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>