protected void Page_Load(object sender, EventArgs e) { TrialControl tc = new TrialControl(); //This is my Usercontrol Label labelUctext = (Label)(tc.FindControl("labelText1")); if (labelUctext != null) { if (labelUctext.Text != String.Empty) { labelText.Text = labelUctext.Text; } } }
public string AddProperty { get { return labelText1.Text; } set { labelText1.Text = value; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)