how to change the value of a control in a master page
Posted
by Azhar
on Stack Overflow
See other posts from Stack Overflow
or by Azhar
Published on 2010-06-14T07:48:36Z
Indexed on
2010/06/14
7:52 UTC
Read the original article
Hit count: 209
ASP.NET
|asp.net-2.0
how to change the value of a control e.g. Literal in a user control and that User control is in master page and I want to change the value of that literal from content page.
((System.Web.UI.UserControl)this.Page.Master.FindControl("ABC")).FindControl("XYZ").Text = "";
here ABC is user control and XYZ is Literal control
© Stack Overflow or respective owner