Posts Tagged ‘usercontrols’

September 1, 2008 0

How To Load & Reference An Usercontrol From Code Behind

By J in Uncategorized

First lets create a sample user control called MyControl for demonstration purposes

public partial class _Controls_MyControl : System.Web.UI.UserControl
{
private string _myProperty;

public string MyProperty
{
get { return _myProperty; }
set { _myProperty [...]

Tags: ,