How to access content page from inside master page

S

Siberwulf

Is it possible to access the classname (or type) of the content page
from inside the master page? I'm trying to do some security model in
the master page, without having to add to each individual page in the
solution.

Thanks in advance.
 
C

Cowboy \(Gregory A. Beamer\)

If you pull the current Page from the master page, it will be the page you
are hitting. You can then get anything that the Page object contains.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside of the box!
*************************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top