1

我想在 Treelist 表单中添加额外的控件(multilist)。我该怎么做?我已经有一个自定义树列表,并尝试通过将 TreeviewEx 替换为 MultilistEx 来修改自定义树列表中的 OnLoad 方法。(自定义树代码是直接使用 .NET 反射器复制的)

显示的错误:[值不能为空。参数名称:当前 [ArgumentNullException:值不能为空。参数名称:current] Sitecore.Shell.Applications.ContentEditor.MultilistEx.GetItems(Item current) +104 Sitecore.Shell.Applications.ContentEditor.MultilistEx.DoRender(HtmlTextWriter output) +146]

我使用 Reflactor 检查 Sitecore.Kernel.dll,我怀疑 Item current 最初没有设置为任何值。

*除了将 MultilistEx 添加到 TreeList 表单中,我可以修改树以使其看起来像多列表吗?

4

1 回答 1

0

The error is a simple missing argument, check the posted form names/values to see if there's a mismatch.

于 2013-11-20T10:44:15.687 回答