I have a generic aspx page and its functions which is used in many .NET web application. The generic page contains a HTML Div control, server drop down list, server buttons, server textbox and it have different server and client functions to do its tasks for calling aspx pages in web applications.
My problem is I do not know whether I should make that generic page as a web user control (but this is tedious because all other application folders must store frontpage aspx and code behind files of the generic page) or as a web custom control (This seems to be good because I do not need to store frontpage aspx and code behind files of the generic page in every web application folder. However, if I use custom control, then I have to inherit server Page class or some server control class for the web custom control class? I have no idea).
Please give me some ideas to design and implement the generic aspx page in an efficient way.
Thank you in advance.