Created
April 4, 2012 20:12
-
-
Save mikeedwards83/2305226 to your computer and use it in GitHub Desktop.
Example of Dynamic UserControl
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
<%@ Control Language="C#" AutoEventWireup="true" Inherits="Glass.Demo.Application.Web.Controls.GlassDynamicUserControl, Glass.Demo.Application" %> | |
<h1>Dynamic Demo</h1> | |
<%=this.Model.Title %> | |
<%foreach(var child in this.Model.Children){ %> | |
<%= child.Name %> | |
<%} %> | |
<%= this.Model.Parent.Url %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment