TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
H Voom
NA
1
0
Accessing page/master page methods from enclosed controls
Aug 15 2006 3:30 AM
I have a generic page which dynamically loads a master page as well as usercontrol(s). The masterpage may also contain one or more usercontrols. How can the usercontrol access methods and/or properties of the contained page/master page? Here is the general structure of my masterpage and page. I would like both the control my_menu,ascx and my_template.ascx to be able to call/access 'PageName' property from the parent page. *** My master Page *** <%@ Master Language="C#" AutoEventWireup="true" %> <%@ Register Src="my_menu.ascx" TagName="menu" TagPrefix="xx" %>
*** The Page *** <%@ Page Language="C#" %>
regards Herman
Reply
Answers (
0
)
Delete confirm in asp:GridView
Adding row to a datagrid