I would like to hear some reasons for using ServerControl, the opposite of UserControl. I found that I was probably abusing UserControls.
My list looks something like this:
Pro usercontrol
- Easy to modify. It is necessary to add a class attribute to an element, crack it in html.
- Quick and easy creation of an initial presentation. Anyone can write plain html correctly?
Pro servercontrol
- Performance. No html parsing.
- Flexibility. Rendering control to a mosquito behind.
- Reuse. Compile it and paste it into the GAC for later use. Or, sell it.
Anything I miss?
source
share