public Control CreateControlFromResource(string resourceName) { string s = GetResourceText(resourceName); return CreateControlFromString(s); }
private Control GetCtrl(Control X) { cu = new BasicControlUtils(X); Control userControl = cu.CreateControlFromResource("Carrotware.Web.UI.Controls.ucSimplePager1.ascx"); return(userControl); }