webaprt在SPD设计视图下呈现
时间:2011-02-16 来源:ruijian
1.webpart需要继承接口Microsoft.SharePoint.WebControls.IDesignTimeHtmlProvider,实现GetDesignTimeHtml();
2.wbpart继承System.Web.UI.Design. HtmlControlDesigner,重写GetDesignTimeHtml();
3.在protected override void RenderContents(HtmlTextWriter writer)中
相关阅读 更多 +