, , . , , .
If there is functionality on a page logically grouped together, why not extract it in an ASP.NET control, set events in that control, and logically group the + code functionality? This would add a little more effort, but would be much, much cleaner and easier to maintain. In addition, if you decide to reuse some part of the page, it will be an addon for copying if the functionality is contained as code on the page, rather than a control.
source
share