Created
March 22, 2016 15:58
-
-
Save barryokane/b9be53b3381c18773c49 to your computer and use it in GitHub Desktop.
An example User Control used for "Load control after installation" when creating an Umbraco package. (See http://issues.umbraco.org/issue/U4-7471)
This file contains hidden or 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="uWhiteLabel.Install.InstallControl" %> | |
<div> | |
<h3>uWhiteLabel Installed Successfully!</h3> | |
</div> | |
<hr /> | |
<div> | |
<p class="umb-abstract">Instructions</p> | |
<ol> | |
<li>...more stuff here...</li> | |
</ol> | |
</div> |
This file contains hidden or 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
using System; | |
namespace uWhiteLabel.Install | |
{ | |
public class InstallControl : System.Web.UI.UserControl | |
{ | |
protected string Test; | |
protected void Page_Load(object sender, EventArgs e) | |
{ | |
//you could do stuff here if you wanted | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment