VSNet Flags Table Tag

Discussion in 'ASP .Net Web Controls' started by Wayne Wengert, Apr 5, 2004.

  1. I imported a set of aspx pages that had been built in a text editor into a VSNet project. The project seems to be working fine but on one of the pages the table tag and all the TR tags not in that section have the red squiggles under them. I can't see what the problem is. Any pointers appreciated.

    ==================================================================
    <asp:DataList id="studentlist" runat="server">
    <HeaderTemplate>
    <table width="90%" cellpadding="10" border="2">
    <tr bgcolor="navajowhite">
    <th>
    Action</th>
    <th Nowrap>
    Student</th>
    <th>
    Caption</th>
    <th align="center">
    Proposed<br />
    Status</th>
    </tr>
    </HeaderTemplate>
    <ItemTemplate>
    <tr bgcolor="cornsilk">
    <td>
    <asp:HyperLink id="X1" runat="server" NavigateUrl= '<%# "http://mysite/mypage.asp?name=" + DataBinder.Eval(Container.DataItem,"StudentName") + "&caption=" + DataBinder.Eval(Container.DataItem,"Caption") + "&evalid=" + (Session("EvaluatorID")) %>' Text= "Evaluate" >
    </asp:HyperLink>
    </td>
    <td NoWrap>
    <%#Container.DataItem("StudentName")%>
    </td>
    <td align="center">
    <%#Container.DataItem("Caption")%>
    </td>
    <td align="center" nowrap>
    <%#Container.DataItem("ProposedStatus")%>
    </td>
    </tr>
    </ItemTemplate>
    <AlternatingItemTemplate>
    <tr bgcolor="bisque">
    <td>
    <asp:HyperLink id="XX" runat="server" NavigateUrl= '<%# "http://mysite/mypage.asp?name=" + DataBinder.Eval(Container.DataItem,"StudentName") + "&caption=" + DataBinder.Eval(Container.DataItem,"Caption") + "&evalid=" + (Session("EvaluatorID")) %>' Text= "Evaluate" >
    </asp:HyperLink>
    </td>
    <td Nowrap>
    <%#Container.DataItem("StudentName")%>
    </td>
    <td align="center">
    <%#Container.DataItem("Caption")%>
    </td>
    <td align="center" nowrap>
    <%#Container.DataItem("ProposedStatus")%>
    </td>
    </tr>
    </AlternatingItemTemplate>
    <FooterTemplate>
    <tr bgcolor="navy" >
    <td colspan="8" align="center">
    <font color="white" size="-1" weight="600">WGI Confidential</font></td>
    </td>
    </tr>
    </table>
    </FooterTemplate>
    </asp:DataList>
     
    Wayne Wengert, Apr 5, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hazzard
    Replies:
    5
    Views:
    330
    Steven Cheng[MSFT]
    Apr 15, 2004
  2. Tim Zych
    Replies:
    2
    Views:
    400
    Curt_C [MVP]
    May 12, 2004
  3. Wayne Wengert

    Convert WebMatrix Pages Into VSNET Project

    Wayne Wengert, May 7, 2005, in forum: ASP .Net
    Replies:
    6
    Views:
    573
  4. shruds
    Replies:
    1
    Views:
    896
    John C. Bollinger
    Jan 27, 2006
  5. Steve Holden
    Replies:
    0
    Views:
    813
    Steve Holden
    Feb 8, 2009
Loading...

Share This Page