I'd like to have a pop up that contains an aspx page. It appears that adding an aspx page to a web part is not possible. When I went to add a new item to the project the closest I could find were ascx or htm.
In an effort to get something I tried adding the htm page, first to the project and then to the Layouts Mapped folder. Everytime I opened the popup it gave me a 404 error.
Here is the html/javascript I had when the file was in the Layouts mapped folder:
<a href="javascript:OpenPopUpPage('ProjectName/test.htm');">Show Me the Pop-Up!</a>
and here is what I had when it was in the project base:
<a href="javascript:OpenPopUpPage('test.htm');">Show Me the Pop-Up!</a>
Does it look like I have done anything wrong here? Is it possible to add an aspx to a web part? If not, is there an alternative?