/// <summary> /// Constructor /// </summary> /// <param name="component"></param> public AspNetPagerActionList(IComponent component) : base(component) { pager = component as AspNetPager; svc = GetService(typeof(DesignerActionUIService)) as DesignerActionUIService; }
/// <include file='AspNetPagerDocs.xml' path='AspNetPagerDoc/Method[@name="GetDesignTimeHtml"]/*'/> public override string GetDesignTimeHtml() { wb = (AspNetPager)Component; wb.RecordCount = 225; StringWriter sw = new StringWriter(); HtmlTextWriter writer = new HtmlTextWriter(sw); wb.RenderControl(writer); return sw.ToString(); }