ContentPlaceHolder contentPage = Master.FindControl("ContentPlaceHolder1") as ContentPlaceHolder; Button button =contentPage.FindControl("Button1") as Button; if (button != null) { button.Text = "Message"; }
Post a Comment
No comments:
Post a Comment