【问题标题】:Custom field type to replace MultiLookup in Sharepoint 2010. Where to inherit from?用于替换 Sharepoint 2010 中的 MultiLookup 的自定义字段类型。从哪里继承?
【发布时间】:2012-06-28 13:36:24
【问题描述】:

我正在开发一个看起来像 MultiLookup 的自定义字段类型(两个列表框,“添加”和“删除” - 按钮)。但我不想将该数据保存在包含该字段的列表中。换句话说:应该有完全自定义的代码。

我知道如何解决它,但不确定我应该从哪种类型中派生自定义控件。或者当我覆盖 FieldRenderingControl 并且我可以使用时这无关紧要

public class MyCustomField:SPFieldText

?

【问题讨论】:

    标签: sharepoint sharepoint-2010 custom-field-type


    【解决方案1】:

    只要不在列表中保存数据就没有关系。选择占用空间最小的那个,布尔值左右(我不完全知道名字)。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-10-14
      • 2013-11-15
      • 1970-01-01
      • 2020-06-16
      相关资源
      最近更新 更多