I have the following Folder structure for SandBox Solution.
MyProject -> TestModule -> Pages -> Page1.aspx
When I try to open the page using JavaScript file like,
var options = { url: webUrl + '/TestModule/Pages/Page1.aspx ....... ..... };
DialogBox is open perfectly, but the page doesn't display. It displays following error in the DialogBox.
I have also written the path in Element.xml file of Module like this,
"File Path="TestModule\Pages\Page1.aspx" Url="Pages/Page1.aspx" Type="GhostableInLibrary" /"
And Set the Property of the Page to, BuildAction="Embedded Resource" and DeploymentType="ElementFile".
But it doesn't work. So How can I display the page properly ?