Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: comments in *.aspx


Message #1 by "icaaq" <isac@m...> on Fri, 17 Jan 2003 23:23:09 +0100
hi i´m trying to make a comment in a *.aspx but if i would like to comment a
specific <asp:tablerow> in a <asp:table> i get a error....i show u what i
mean
<asp:table ... ... ... runat=server>
    <asp:tablerow>
        <asp:tablecell>
            blabla
        </asp:tablecell>
    </asp:tablerow>
<!--here i want my comment -->
    <asp:tablerow>
        <asp:tablecell>
            blabla again
        </asp:tablecell>
    </asp:tablerow>
</asp:table>

i get  Literal content ('<!--here i want my comment -->') is not allowed
within a 'System.Web.UI.WebControls.TableRowCollection'.

How can i make it work?

icaaq


Message #2 by "Charles M. Carroll" <darthcarroll@l...> on Fri, 17 Jan 2003 18:54:18 -0500
<%--    --%>
may work better.

At 11:23 PM 1/17/2003 +0100, you wrote:
>hi i=B4m trying to make a comment in a *.aspx but if i would like to
 comment a
>specific <asp:tablerow> in a <asp:table> i get a error....i show u what i
>mean
><asp:table ... ... ... runat=3Dserver>
>     <asp:tablerow>
>         <asp:tablecell>
>             blabla
>         </asp:tablecell>
>     </asp:tablerow>
><!--here i want my comment -->
>     <asp:tablerow>
>         <asp:tablecell>
>             blabla again
>         </asp:tablecell>
>     </asp:tablerow>
></asp:table>
>
>i get  Literal content ('<!--here i want my comment -->') is not allowed
>within a 'System.Web.UI.WebControls.TableRowCollection'.
>
>How can i make it work?
>
>icaaq
>
>
>
>---
>[This E-mail scanned for viruses by Declude Virus]


---
[This E-mail scanned for viruses by Declude Virus]

Message #3 by "icaaq" <isac@m...> on Sun, 19 Jan 2003 08:29:34 +0100
thanx
"Charles M. Carroll" <darthcarroll@l...> skrev i meddelandet
news:253103@a...

<%--    --%>
may work better.

At 11:23 PM 1/17/2003 +0100, you wrote:
>hi i´m trying to make a comment in a *.aspx but if i would like to comment
a
>specific <asp:tablerow> in a <asp:table> i get a error....i show u what i
>mean
><asp:table ... ... ... runat=server>
>     <asp:tablerow>
>         <asp:tablecell>
>             blabla
>         </asp:tablecell>
>     </asp:tablerow>
><!--here i want my comment -->
>     <asp:tablerow>
>         <asp:tablecell>
>             blabla again
>         </asp:tablecell>
>     </asp:tablerow>
></asp:table>
>
>i get  Literal content ('<!--here i want my comment -->') is not allowed
>within a 'System.Web.UI.WebControls.TableRowCollection'.
>
>How can i make it work?
>
>icaaq
>
>
>
>---
>[This E-mail scanned for viruses by Declude Virus]


---
[This E-mail scanned for viruses by Declude Virus]






  Return to Index