Shawnm957376
Programmer
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!!!
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!!!