This is one question about two things: When do I use [a] user controls, [b] interfaces? Or, given all the possibilities what would be the optimum use of the said items.
Why do I ask?
UserControl: I attempted to create a website with one ASPX page and multiple ASCX pages -- there's a master + transaction requirement -- but after struggling with the ASCX pages I now have to redo it in ASPX as the ASCX pages were getting pretty complicated -- multiple inputs, data elements, et. al. (about 500 data elements scattered over 11 ascx pages). So the question is -- What is the best place to use an ASCX page?
Interface: Same scenario above -- to control data on the pages (save, discard, update, et. al.) I had used controls on the ASPX page; which failed terribly, so I tried interfaces and I am not really making much of a headway there either, so I am back to the very basic method of using repetitive controls on ALL ASPX pages... needless to say that is tedious.
I would like to know what am I doing wrong, conceptually speaking!