User control in seperate DLL

Discussion in 'ASP .Net' started by =?Utf-8?B?UG9udGlNYXg=?=, May 9, 2005.

  1. Hi,

    VS.NET compiles all code into a single DLL. How can I create a user control
    whose codebehind file is compiled into a single autonomous DLL?

    I want to be able to dynamically load the user control along with its
    codebehind file...

    Many thanks in advance,
    J.
     
    =?Utf-8?B?UG9udGlNYXg=?=, May 9, 2005
    #1
    1. Advertisements

  2. Declaratively set up the error page in the web.config file.


    ---

    Gregory A. Beamer
    MVP; MCP: +I, SE, SD, DBA

    ***************************
    Think Outside the Box!
    ***************************

    "PontiMax" wrote:

    > Hi,
    >
    > VS.NET compiles all code into a single DLL. How can I create a user control
    > whose codebehind file is compiled into a single autonomous DLL?
    >
    > I want to be able to dynamically load the user control along with its
    > codebehind file...
    >
    > Many thanks in advance,
    > J.
    >
     
    =?Utf-8?B?Q293Ym95IChHcmVnb3J5IEEuIEJlYW1lcikgLSBN, May 9, 2005
    #2
    1. Advertisements

  3. My suggestion is move to a server control. User controls are not designed to
    be dynamically loaded from a separate assembly. While you might find a way
    around this, it would be more productive to move the code to a server control.


    ---

    Gregory A. Beamer
    MVP; MCP: +I, SE, SD, DBA

    ***************************
    Think Outside the Box!
    ***************************

    "PontiMax" wrote:

    > Hi,
    >
    > VS.NET compiles all code into a single DLL. How can I create a user control
    > whose codebehind file is compiled into a single autonomous DLL?
    >
    > I want to be able to dynamically load the user control along with its
    > codebehind file...
    >
    > Many thanks in advance,
    > J.
    >
     
    =?Utf-8?B?Q293Ym95IChHcmVnb3J5IEEuIEJlYW1lcikgLSBN, May 9, 2005
    #3
  4. =?Utf-8?B?UG9udGlNYXg=?=

    TDAVISJR Guest

    What you really want is a asp.net composite control.

    --
    TDAVISJR
    aka - Tampa.NET Koder


    "PontiMax" <> wrote in message
    news:...
    > Hi,
    >
    > VS.NET compiles all code into a single DLL. How can I create a user
    > control
    > whose codebehind file is compiled into a single autonomous DLL?
    >
    > I want to be able to dynamically load the user control along with its
    > codebehind file...
    >
    > Many thanks in advance,
    > J.
    >
     
    TDAVISJR, May 10, 2005
    #4
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Anushi
    Replies:
    5
    Views:
    10,504
  2. Replies:
    0
    Views:
    443
  3. Mad Scientist Jr
    Replies:
    0
    Views:
    892
    Mad Scientist Jr
    Mar 22, 2006
  4. moondaddy
    Replies:
    2
    Views:
    726
    Steven Cheng[MSFT]
    Oct 16, 2006
  5. Jonathan Wood

    User Control to Control Other User Control

    Jonathan Wood, Jan 24, 2010, in forum: ASP .Net
    Replies:
    4
    Views:
    806
    Jonathan Wood
    Feb 2, 2010
  6. MurdockSE
    Replies:
    0
    Views:
    1,141
    MurdockSE
    Sep 13, 2006
  7. Luwk
    Replies:
    0
    Views:
    231
  8. H. Simpson
    Replies:
    4
    Views:
    614
    H. Simpson
    Aug 3, 2004
Loading...