CodeSnip: Find Control in Nested Master Pages
page 1 of 4
Published: 08 Oct 2008
Abstract
In this article, Abdulla examines how to find a control from Content Page inside two Nested Master Pages using Visual Studio 2008. He initially demonstrates the problem and then provides the required solution with relevant code samples.
by Abdulla Hussein AbdelHaq
Feedback
Average Rating: 
Views (Total / Last 10 Days): 11833/ 211

Introduction

Finding a server control inside a Content page inheriting from nested master pages is one of the problems that so many developers have faced. So in this code snippet, I will show you how to solve this issue.


View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 7 and 6 and type the answer here:

User Comments

Title: Great logic!   
Name: d-cpt
Date: 8/17/2009 10:45:31 AM
Comment:
Excellent article.
Thanks a lot.
Title: Less Code   
Name: Lannie Lawton
Date: 7/18/2009 3:26:25 PM
Comment:
Dim lbl As label = Me.Master.Master.FindControl("ContentPlaceHolder1$ContentPlaceHolder1$Label1")

Would work too, at least in VS 2008.
Title: good explaination   
Name: soma sekhar
Date: 6/23/2009 2:52:21 AM
Comment:
this is good example to get master page controls
Title: Great   
Name: Abidali
Date: 3/24/2009 8:21:40 AM
Comment:
nice article
Help me lot

Product Spotlight
Product Spotlight 






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2009 ASPAlliance.com  |  Page Processed at 11/22/2009 4:25:16 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search