Groups | Blog | Home
all groups > asp.net > december 2005 >

asp.net : The active schema deos not support the element <...>


Kim
12/20/2005 11:47:02 PM
I had no problem with compiling my webpage with the following statement added
to the HTML view until recently:

<asp:repeater id="rp1" runat="server">
<tr><td><%# DataBinder.Eval(Container.DataItem, "Title") %></td></tr>
...........
...........
</asp:repeater>

The intellisense indicating the above-mentioned error occured on every line
of the HTML. Once this block of code is removed, everything was fine again.

Kim
12/21/2005 12:43:01 AM
Yes. It is within the repeater ItemTemplate.

The above problem does not occur every time. For example when I launch
VS.NET 2003 this time, it disappears again. My actual problem is the repeater
could not be displayed when I select an item from the dropdown list. The
program was not modified but I could not explain the behaviour.

[quoted text, click to view]
Eliyahu Goldin
12/21/2005 10:28:54 AM
How is the <tr> line related to the repeater? Is this a part of the
ItemTemplate? The HeaderTemplate? The FooterTemplate? It should be included
in one of the templates.

Eliyahu

[quoted text, click to view]

AddThis Social Bookmark Button