protected override void CreateChildControls() { if (this.CarouselCaptionTemplate != null) { CarouselCaptionTemplate carouselCaptionTemplate = new CarouselCaptionTemplate(); this.CarouselCaptionTemplate.InstantiateIn(carouselCaptionTemplate); Controls.Add(carouselCaptionTemplate); } }
protected override void CreateChildControls() { if (this.CarouselCaptionTemplate != null) { CarouselCaptionTemplate carouselCaptionTemplate = new CarouselCaptionTemplate(); this.CarouselCaptionTemplate.InstantiateIn(carouselCaptionTemplate); Controls.Add(carouselCaptionTemplate); } }