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

Why do I get error message "could not load type" whenever I browse to my asp.net web site?

1140


Which is better union or union all?

1045


Where is asp.net view state stored?

992


What is a user session?

879


What are the different types of cookies in asp.net?

1009


What are cao and sao.

1038


Are cookies stored on server or client?

944


How you can add an event handler?

960


i want to implement grid view value in paypal site. so how to create this code in asp.net with C#

1849


How can you send an email message from an asp.net web page?

966


Explain difference between friend and protected friend?

916


What is server side routing?

902


What is application state?

892


What are httphandlers and httpmodules and difference between them?

985


What are the modes of updation in an updatepanel?

950