【Vegas原创】继承,重写~
例:继承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);
}
}
}
喜欢请赞赏一下啦^_^