TextBox txt = (TextBox)Master.FindControl("am1"); txt.Enabled = false;
// Gets a reference to a Label control that not in a ContentPlaceHolder Label mpLabel = (Label) Master.FindControl("masterPageLabel"); if(mpLabel != null) { Label1.Text = "Master page label = " + mpLabel.Text; Label1.Enable=false }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)