Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do you access individual items of an Master Page

Answer Posted / rakesh

Suppose we have a Label(lblTest) in the MasterPage(TestMaster.master) and you want to access that in the Content page at that time u can use the following Code.

Page_Load(....)
{
Label lbl = (Label)TestMaster.FindControl("lblTest");
lbl.Text ="Accessed in ContentPage..";
}

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are Session states available and its Uses?

2269


What is custom attribute? How to create?

1130


How would you enable impersonation in the web.config file?

1055


How do you remove duplicates without using remove duplicate stage?

1104


Why select Web API?

1051


What are the Types of session management in ASP.NET

1088


What are the Types of state management techniques

1071


What is the difference between session and viewstate?

1017


Describe the application event handlers in ASP.NET?

1095


What is css and what is it used for?

1043


Is asp net front end or backend?

1056


Explain Areas in MVC?

1140


A web service can only be written in .net? State whether true or false.

1072


Can you explain one critical mapping? Performance issue which one is better? Whether connected lookup tranformation or unconnected one?

1319


Is asp.net mvc front end or backend? : Asp.Net MVC

983