【问题标题】:Pass parameter to web part将参数传递给 Web 部件
【发布时间】:2010-12-24 11:39:29
【问题描述】:

我正在使用 SmartPart 1.3 将 Web 部件开发到 SharePoint。我需要将参数传递给我的 Web 部件,例如列表名称。也许有人知道怎么做?

【问题讨论】:

    标签: sharepoint smartpart


    【解决方案1】:

    我相信您可能会要求选择通过自定义 ToolPart(WebPart 选项 => 修改共享 WebPart)配置您的 Web 部件,并能够在“侧边栏”的字段中设置列表名称。

    看看the generic way of doing toolparts at msdn。在 SmartPart 中,您没有类似特征的方式来创建工具部件,您可以使用通用方式。我还找到了this link in their codeproject page with a C# sample(需要调整)

    【讨论】:

      猜你喜欢
      • 2013-01-08
      • 2013-01-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-07-25
      • 1970-01-01
      • 2016-01-13
      • 2019-05-19
      相关资源
      最近更新 更多