gpt4 book ai didi

sharepoint - 可以添加我的自定义 webpart,但无法修改页面上的任何 webpart

转载 作者:行者123 更新时间:2023-12-04 07:06:24 25 4
gpt4 key购买 nike

我让我的 webpart 运行良好(我可以将它添加到页面并使用它)。但是,如果我想将其移动到不同的区域或修改该页面上的任何其他 webpart,则会出现异常。

关于可能出什么问题的任何想法?

也许它与我的 Web 部件有一个空区域变量有关?但是 webpart 在页面上显示得很好。详情如下。

编辑:啊,不,我看到其他(原始的)Web 部件的 Zone 变量也为空。无论如何,我不知道如何挖掘并找出问题所在。

Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION)) 
Exception Details: Microsoft.SharePoint.WebPartPages.WebPartPageUserException: Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))

Stack Trace:

[WebPartPageUserException: Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))]
Microsoft.SharePoint.WebPartPages.SPWebPartManager.SaveSomeChanges(SPLayoutProperties layoutProperties) +897
Microsoft.SharePoint.WebPartPages.WebPart.SaveSomeChanges(SPLayoutProperties layoutProperties) +52
Microsoft.SharePoint.WebPartPages.SPWebPartManager.WPSaveSomeChanges(SPLayoutProperties layoutProperties) +83
Microsoft.SharePoint.WebPartPages.SPWebPartManager.ApplyChangeList(String changeString) +865
Microsoft.SharePoint.WebPartPages.SPWebPartManager.OnLoad(EventArgs e) +398
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

最佳答案

尝试以下任何解决方案是否有效

this或者
this或者
this

关于sharepoint - 可以添加我的自定义 webpart,但无法修改页面上的任何 webpart,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1073235/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com