private Control GetCtrl(Control X)
        {
            cu = new ControlUtilities(X);
            Control userControl = cu.CreateControlFromResource("Carrotware.CMS.UI.Controls.ucCommentDisplay.ascx");

            return(userControl);
        }
        private Control GetCtrl(Control X)
        {
            ControlUtilities cu          = new ControlUtilities(X);
            Control          userControl = cu.CreateControlFromResource("Carrotware.CMS.UI.Controls.ucSearchForm.ascx");

            return(userControl);
        }
		private Control GetCtrl(Control X) {
			cu = new ControlUtilities(X);
			Control userControl = cu.CreateControlFromResource("Carrotware.CMS.UI.Controls.ucCommentDisplay.ascx");

			return userControl;
		}
		private Control GetCtrl(Control X) {
			ControlUtilities cu = new ControlUtilities(X);
			Control userControl = cu.CreateControlFromResource("Carrotware.CMS.UI.Controls.ucSearchForm.ascx");

			return userControl;
		}
示例#5
0
        private Repeater GetCtrl(Control ctrl)
        {
            Repeater r = new Repeater();

            try {
                ControlUtilities cu = new ControlUtilities(ctrl);
                Control userControl = cu.CreateControlFromResource("Carrotware.CMS.UI.Controls.ucFancyPager.ascx");
                r = (Repeater)cu.FindControl("rpPager", userControl);
            } catch { }

            return r;
        }
示例#6
0
        private Control GetCtrl(Control X)
        {
            cu = new ControlUtilities(X);
            Control userControl = cu.CreateControlFromResource("Carrotware.CMS.UI.Controls.ucSimplePager1.ascx");

            return userControl;
        }