private Control GetCtrl(Control X) { cu = new BasicControlUtils(X); Control userControl = cu.CreateControlFromResource("Carrotware.Web.UI.Controls.ucSimplePager1.ascx"); return(userControl); }
private Repeater GetCtrl(Control ctrl) { Repeater r = new Repeater(); try { BasicControlUtils cu = new BasicControlUtils(ctrl); Control userControl = cu.CreateControlFromResource("Carrotware.Web.UI.Controls.ucFancyPager.ascx"); r = (Repeater)cu.FindControl("rpPager", userControl); } catch { } return(r); }
private Control GetCtrl(Control X) { cu = new BasicControlUtils(X); Control userControl = cu.CreateControlFromResource("Carrotware.Web.UI.Controls.ucSimplePager1.ascx"); return userControl; }
private Repeater GetCtrl(Control ctrl) { Repeater r = new Repeater(); try { BasicControlUtils cu = new BasicControlUtils(ctrl); Control userControl = cu.CreateControlFromResource("Carrotware.Web.UI.Controls.ucFancyPager.ascx"); r = (Repeater)cu.FindControl("rpPager", userControl); } catch { } return r; }