Created
April 13, 2010 00:13
-
-
Save tathamoddie/364153 to your computer and use it in GitHub Desktop.
Example of nested presenters with Web Forms MVP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ Register Src="~/Controls/AccountSummary.ascx" TagPrefix="app" TagName="account" %> | |
<asp:Repeater DataSource="<%# Model.Accounts %>" runat="server"> | |
<ItemTemplate> | |
<app:Account Account="<%# DataValue<Account>() %> runat="server" /> | |
</ItemTemplate> | |
</asp:Repeater> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ Register Src="~/Controls/AccountsDashboard.ascx" TagPrefix="app" TagName="dashboard" %> | |
<app:Dashboard runat="server" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment