Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FormDigest Across Multiple Sites

Status
Not open for further replies.

Shawnm957376

Programmer
Feb 5, 2008
1
US
I have a requirement to display document / files (ListItems) in a grid hosted in a webpart. The items are located in the Shared Documents library across all the sites the user has permissions to. In the grid I display the normal context menus for each item just as you see when you're on the AllItems.aspx page of the Shared Documents DocumentLibrary. Everything works fine until the user choosed Delete Item, Check Out, and/or Check In from the conext menu on one of the ListItems in the grid. When this happens an error is displayed:

The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again.

I've learned its coming from trying to perform one of these actions on a ListItem that exists in a different site than where the webpart is located. Basically, there is a valid FormDigest object on the page, but since it is specific to the site the webpart is being hosted in it isn't valid on a different site. <br/><br/.

Is there a way to add a FormDigest object that spans across multiple sites? <br/><br/>

I'm using SharePoint rendered javascript for the context menus so I don't have to recreate all that functionality. Is there another way around this issue. PLEASE HELP!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top