例:继承Web Parts,重写webparts中Reder方法:
using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI.WebControls.WebParts; namespace PlatForm.Common
{
public class AjaxWebPart:WebPart
{
protected override void Render(System.Web.UI.HtmlTextWriter writer)
{
//base.Render(writer);
}
}
}
using System.Collections.Generic;
using System.Text;
using System.Web.UI.WebControls.WebParts; namespace PlatForm.Common
{
public class AjaxWebPart:WebPart
{
protected override void Render(System.Web.UI.HtmlTextWriter writer)
{
//base.Render(writer);
}
}
}
相关文章
暂无评论...