Click to See Complete Forum and Search --> : Validation error on asp:content


csedwilliams
07-28-2009, 09:11 PM
I have a simple page with the code below in my default.aspx page:

<%@ Page Language="C#" masterpagefile="LTRTG.master" title="LTRTG Home Page" %>
<asp:Content id="Content1" runat="server" contentplaceholderid="ContentPlaceHolder1">
<p>Default.aspx</p>
</asp:Content>

Works fine in IE8, but in Compatibility mode (as well as IE7) the border-bottom does not show on a section of text imported from the master page.

Validation error says :"In internet explorer 7.0 the tag <asp.Content> is not permitted." and this error reports that the above line of code is the problem child.

What is its complaint? I am thinking that asp.content is required to mark content text in content pages. Anyone know what it wants me to do?

Thanks...
Ed..

Andyram2k
07-29-2009, 08:32 AM
Hi csedwilliams,
Without seeing any CSS, i can't really help you. It might be worth posting this in the ASP.NET section, to see if anyone has come across this before. Hope this helps. Thanks.