|
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="Menu.ascx.cs" Inherits="MyWebApp.Controls.Menu" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<TABLE id="Table1" cellSpacing="1" cellPadding="1" width="100%" border="1">
<TR>
<TD></TD>
</TR>
<TR>
<TD>
<asp:DataList id="DataList1" runat="server">
<ItemTemplate>
<table cellspacing="0" cellpadding="2" width="100%" border="0">
<tr>
<td><asp:HyperLink id="HyperLink1" Text='<%# DataBinder.Eval(Container.DataItem, "ItemText") %>' NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "TargetUrl") %>' runat="server"/></td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
</TD>
</TR>
<TR>
<TD></TD>
</TR>
</TABLE>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Sami Vaaraniemi has been working as a software developer since 1990, primarily on Microsoft technologies. After 12 years of Win32 API and C++ he switched to .NET. He currently works as an independent consultant and can be contacted through his website at www.capehill.net.