protected override void CreateChildControls() { SliderWebPartUserControl control = (SliderWebPartUserControl)Page.LoadControl(_ascxPath); this.UserControl = control; Controls.Add(control); }
protected override void CreateChildControls() { SliderWebPartUserControl control = (SliderWebPartUserControl)Page.LoadControl(_ascxPath); this.UserControl = control; Controls.Add(control); }