locked
Dynamically Load Controls/Pages RRS feed

  • Question

  • Hi everyone,

    I need to build a application that dynamically load custom web user control. Those user controls will be builded by other users and included into a project.

    In the other hand, in another project, these controls will be consumed and dynamically loaded into the pages of this project. This is for easily customize forms and store the data into different systems. The problem is that there is no project template that support this.

    The main idea is to have a bunch of web user controls stored somewhere and given some parameters, dynamically load one of them and include it into a template standard page to finally show to the user. I do not know how many controls are, but there are a lot (ASCX), including whole pages (ASPX), and I need to build an application that does not depend on how many controls we have.

    Is there any way to make a library/repository of web user control, project independent and dynamic?

    Thanks in advance.

     

    • Moved by Bin-ze Zhao Monday, May 31, 2010 9:36 AM asp.net related (From:Visual C# General)
    Tuesday, May 25, 2010 3:13 PM