【发布时间】:2010-12-24 11:39:29
【问题描述】:
我正在使用 SmartPart 1.3 将 Web 部件开发到 SharePoint。我需要将参数传递给我的 Web 部件,例如列表名称。也许有人知道怎么做?
【问题讨论】:
标签: sharepoint smartpart
我正在使用 SmartPart 1.3 将 Web 部件开发到 SharePoint。我需要将参数传递给我的 Web 部件,例如列表名称。也许有人知道怎么做?
【问题讨论】:
标签: sharepoint smartpart
我相信您可能会要求选择通过自定义 ToolPart(WebPart 选项 => 修改共享 WebPart)配置您的 Web 部件,并能够在“侧边栏”的字段中设置列表名称。
看看the generic way of doing toolparts at msdn。在 SmartPart 中,您没有类似特征的方式来创建工具部件,您可以使用通用方式。我还找到了this link in their codeproject page with a C# sample(需要调整)
【讨论】: