I was hired to do some maintenance to a web site, and I found that there is a user control (.ascx) for every page (.aspx) and only one, like a one-to-one, and every .aspx is empty except for the user control. I dont see the use of that, because every user control is the entire page. Is there a benefit for doing that, or is it useless? I’m afraid to say is something useless becouse I dont have much experience.
Share
The UserControl is useful as it can be used in many places throughout the application. If its only specific to one page, the user-control loses its purpose.
User-Controls are supposed to be modular and supposed to be designed that they can easily be used in other pages.
From the sounds of the application your maintaining, you’ll have to see if the user control is unique to the page, or if its the same user control is used through the app and decide to move things.