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

Explain managed code an un-managed code.

973


6. Tell us about a time when you failed to meet a deadline. What were the repercussions?

2116


How we implement the multiple paypal value with gridview in my website and how we make a payment through Credit Card.

1876


What does clearing cache?

906


Explain the difference between web user control and web custom control?

931


Is it possible for me to change my aspx file extension to some other name?

952


Can we use a static function with a non-static variable?

926


How to implement role based security in asp.net mvc? : Asp.Net MVC

975


Differentiate globalization and localization.

960


What is app_code folder in asp net?

1019


How do you do Client-side validation in .Net?

1040


What are the features of asp.net mvc?

959


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

910


How can we pass info between 2 asp.net pages?

1012


How can we apply themes to an asp.net application?

988