Button btn = myUserControl.FindControl("ID_OF_BUTTON") as Button; if(btn != null) { btn.Text = "Clear"; }
public string ButtonLabel { get { return ID_OF_BUTTON.Text; } set { ID_OF_BUTTON.Text = value; } }
NameOfUserControl.ButtonLabel = "Clear";
btn.text="clear";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)