Quantcast
Channel: SharePoint Legacy Versions - Using SharePoint Designer, InfoPath and Other Customizations Forum
Viewing all articles
Browse latest Browse all 2319

This Page has been modified since you opened it. You must open the page again.

$
0
0

I am getting the following error, any suggestions would be appreciated:

 

This Page has been modified since you opened it. You must open the page again.

 

My scenario is that I've deployed a custom ASP.Net 2.0 application to my SharePoint site using option 4 (ASPX pages added to SharePoint Site) from this post http://blogs.msdn.com/cjohnson/archive/2006/09/05/application-development-on-moss-2007-amp-wss-v3.aspx#742416

 

My application has a screen with a button on it.  When I click that button it should open up a new window with an aspx page.  The solution works when I run it through visual studio, but not in SharePoint.  All of the posts on this issue I have found have to do with Load Balancing (which we are not doing) and upgrading to WSS 3.0 (we started with 3.0).  The code below is a script function that is run when the button is clicked.  It doesn't seem to be a code problem, as I've been able to achieve this same functionality in a stripped down test application.

 

function

DisplayReport()

{

var myHeight = screen.availHeight - 168;

var myWidth = screen.availWidth - 424;

var reportWindow = window.open("", "reportWindow", "scrollbars=1,resizable=1,width=" + myWidth + ",height=" + myHeight);

reportWindow.moveTo((screen.availWidth - myWidth) / 2, (screen.availHeight - myHeight)/2);

var reportForm = GetReportForm(); // will get the HtmlForm of the current page

var formAction = "MyPopup.aspx";

reportForm.target =

"reportWindow";

reportForm.action = formAction;

reportForm.method =

"post";

reportForm.submit();

reportWindow.focus();

 

returnfalse;

}


Viewing all articles
Browse latest Browse all 2319

Latest Images

Trending Articles



Latest Images