Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Master Page

Reply
Thread Tools

Master Page

 
 
=?Utf-8?B?TWFkQ2F0?=
Guest
Posts: n/a
 
      05-13-2005
I have a MasterPage which has couple of buttons and some Security Methods
which is common on all pages, Say on Page load u check for it, Lets call it
ValidateUser(). Since its used in all pages i create it in Master Page.

Now I have another Master Page, Lets say we Have Authentication Folder and
we have a master Page which has headers related to Authentication, and this
one has a Method CreateHeader() and this AuthmasterPage derives from Root
Master Page.

I create a Content Page inside Authentication Folder which has
Auth.MasterPage as its master Page. Now i am trying to access the
CreateHeader() or ValidateUser() method inside this page, it cannot find it.
But the AuthMaster page can See the ValidateUser() method from Root Master
Page.

Any Help in regard to this.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Access Master Page Controls from page.aspx doesn't inherit from master SerpentKiss2010 ASP .Net 0 04-06-2011 02:46 PM
Setting the value of a Master page's control's property using a property of the Master page Nathan Sokalski ASP .Net 25 03-04-2010 03:42 AM
Can a master page be built from another master page Zeba ASP .Net 1 02-22-2007 10:55 AM
Cross Page Post Back When Using Mixture of Master Pages and Non-Master Pages Jason@webbit.com ASP .Net 1 05-16-2006 02:00 PM
seeking servlet "Master" keep getting "Master/servlet/Master" not found. Tomcat 5.0.25 Doug McCann Java 1 08-05-2004 09:16 PM



Advertisments