日期:2014-05-17 浏览次数:20485 次
//AreaId隐藏域
writer.AddAttribute(HtmlTextWriterAttribute.Name, "AreaId");
writer.AddAttribute(HtmlTextWriterAttribute.Id, "AreaId");
writer.AddAttribute(HtmlTextWriterAttribute.Value, string.IsNullOrEmpty(this.Id) ? this.ParentId : this.Id);
writer.RenderBeginTag(HtmlTextWriterTag.Input);
writer.RenderEndTag();