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
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Accessing the methods of a MasterPage from inside the Web Form
Ankit Nandekar
Apr 20, 2011
3.2
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
This Blog show you how to access method of masterpage into childpage.
((EmpMasterPage)
this
.Master).SetMessage(
"I love my India"
);
here EmpMasterPage is a name of MasterPage and SetMessage is a method of that MasterPage.
Accessing the methods of a MasterPage from inside the Web Form
Next Recommended Reading
MAKE CROSS THREAD METHOD CALLS USING INVOKE METHOD OF THE CONTROL