Hello Everyone -- This is a longer one, but hopefully I'll
find some help here since we didn't find much on the net.
We have developed a custom solution based on the WSS Object
Model. To edit web parts and add additional web parts to the page we
would like to use the browser based functionality and the Modify Shared Page
function.
We have added the correct controls to our page.
<%@ Import
Namespace="Microsoft.SharePoint" %>
<%@ Page language="C#"
Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint,
Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
%>
<%@ Register Tagprefix="WebPartPages"
Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint,
Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
%>
<%@ Register Tagprefix="Utilities"
Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint,
Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="SharePoint"
Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint,
Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
%>
We then have set the Modify Shared Page button or
text.
<span class='ms-HoverCellInActive'
;
>
<WebPartPages:SettingsLink
runat="server"/>
</span>
When we try to modify the page we are receiving this
error.
Invalid character in a Base-64 string.
[FormatException: Invalid character in a Base-64
string.]
System.Convert.FromBase64String(String s)
+0
System.Web.UI.LosFormatter.Deserialize(String input)
+25
System.Web.UI.Page.LoadPageStateFromPersistenceMedium()
+101
[HttpException (0x80004005): Invalid_Viewstate
If anyone has information regarding using the Modify Shared
Page function on ghosted pages please send it to us or post it on our site,
thanks.
--
SHAREPOINTCOMMUNITY.COM