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 is %20 in a url?

951


Explain the difference between value type and reference type?

701


What are the ways of preserving data on a Web Form in ASP.NET?

1147


What are the Types of session management in ASP.NET

1084


What type of code, client-side or server-side, is found in a code-behind file of a Web page?

1000


What is cookies cache and session?

1011


How do sessions work?

987


How may clustered index we can create in table?

1047


Explain about the .NET framework?

1123


How does http session work?

1049


What is diff. Between abstract class and an interface?

1133


Explain swagger components.

1061


What is difference between cache and session?

1019


What are the new data controls in asp.net 2.0?

1007


What is the equivalent of date() and time() in asp.net?

1026