Solved

How to add a new page that uses current Site.master for Access Denied in asp.net?

Posted on 2015-01-07
3
146 Views
Last Modified: 2015-01-07
Hi, I'm using vs2012.
I right click on my web application project.  I select Add new web form.  It doesn't ask me to choose the site.master to use.   How can I configure this?
Thank you.
0
Comment
Question by:lapucca
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 18

Accepted Solution

by:
Jerry Miller earned 500 total points
ID: 40536833
You can right-click on the MasterPage and choose Add Content Page to add a new page under the Master.

You can also add this in to the page declaration:

<%@ Page Language="VB" MasterPageFile="~/MasterPages/MasterPage.master" AutoEventWireup="false" CodeFile="Stance.aspx.vb" Inherits="Stance" title="Main Menu" %>
0
 

Author Comment

by:lapucca
ID: 40536850
Nice, I like the first method.  I did both ways and still the new page can not display the images that are used in the master file.  This new file is in the same level as my default page that works just fine.  I have another question open for this already.  Appreciate it if you can also have a look.  thank you.
0
 

Author Comment

by:lapucca
ID: 40536852
The question id is Asked On2015-01-07 at 13:25:42ID: 28592537
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question