1.让 WebPart 支持拖拽:
this.WebPartManager1.DisplayMode = WebPartManager.DesignDisplayMode;
2.修改WebPart的外观:
添加一个 EditorZone 。 在 EditorZone 里添加一个 AppearanceEditorPart 。代码修改为:
this.WebPartManager1.DisplayMode = WebPartManager.EditDisplayMode;
3.通信:
WebPart 学习笔记
作者:NewSea 出处:http://newsea.cnblogs.com/
QQ,MSN:iamnewsea@hotmail.com 如无特别标记说明,均为NewSea原创,版权私有,翻载必纠。欢迎交流,转载,但要在页面明显位置给出原文连接。谢谢。 |