In this chapter, you learned how to create and work with user controls. First, you learned how to use user controls to include the same content on multiple ASP.NET pages.

Next, I discussed how you could combine multiple Web Forms controls into a single user control. You learned how to create a standard address user control that you can reuse on multiple pages or multiple times on the same page.

You also examined two methods of exposing the properties of a control: by declaring public variables and by declaring property accessor functions.

Finally, you learned how to dynamically load user controls in an ASP.NET page. You also learned how to set properties and call methods of a dynamically loaded user control.

ASP.NET Unleashed
ASP.NET 4 Unleashed
ISBN: 0672331128
EAN: 2147483647
Year: 2003
Pages: 263

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: