ASP.NET master pages – essential things.
However, I have a lot of very similar UserControls in my projects – it might be a standard layout for an AJAX ModalPopup, or something more involved.
I wish I could get rid of some of my duplicated code (both in ascx files and code-behind) with some Master UserControls.
Does anyone have any suggestions of a way to achieve this?
The closest thing I can suggest for what you are looking for is a templated custom control. Unfortunately, sharing controls across projects is a lot easier if those things are custom controls, without an ascx file.