You create a Web Part that contains the following code segment. (Line numbers are included for
reference only.) 01 public class HebPart1: WebPart 02 { 03 public VebPart1() {} 04 05 protected
override void CreateChildControlst) 06 { 07 Button clickButton = new Button(); 08 09
base.CreateChildControls(); 10 ] 11 12 protected override void BenderContents(HtrolTextWriter
writer) 13 { 14 15 base.RenderContents(writer); 16 } 17 } You discover that the clickButton button
does not appear. You need to ensure that the clickButton button appears. What should you do?
![PrepAway - Latest Free Exam Questions & Answers](https://www.briefmenow.org/img/pa5.jpg)
A.
Delete line 09.
B.
Add the following code segment to line 08: Controls.Add(clickButton) ;
C.
Move the code segment from line 07 to line 14.
D.
Add the following code segment to line 14: EnsureChildControls();