October 2010
Intermediate to advanced
1920 pages
73h 55m
English
Let’s start by creating a simple fully rendered control. When you create a fully rendered control, you take on the responsibility of specifying all the HTML content that the control renders to the browser.
The file in Listing 36.1 contains a fully rendered control that derives from the base Control class.
Listing 36.1. FullyRenderedControl.cs

Add the control in Listing 36.1 to your App_Code folder. Any code added to the App_Code folder is compiled dynamically.
The control in Listing 36.1 inherits from the base Control class, overriding the base class Render() method. The control simply displays whatever ...
Read now
Unlock full access