Esempio n. 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="component"></param>
 public AspNetPagerActionList(IComponent component)
     : base(component)
 {
     pager = component as AspNetPager;
     svc = GetService(typeof(DesignerActionUIService)) as DesignerActionUIService;
 }
Esempio n. 2
0
 /// <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();
 }