October 2010
Intermediate to advanced
1920 pages
73h 55m
English
In practice, you rarely build pure composite controls. In most cases in which you override a control’s CreateChildControls() method, you also override the control’s RenderContents() method to specify the layout of the child controls.
For example, the control in Listing 36.10 represents a Login control. In the control’s CreateChildControls() method, two TextBox controls are added to the control’s collection of child controls.
Listing 36.10. Login.cs


In Listing 36.10, the RenderContents() method is overridden to layout ...
Read now
Unlock full access