Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Add a UserControl to a WebProject.

Add a UserControl to a WebProject.

Scheduled Pinned Locked Moved ASP.NET
helpquestion
7 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    theJazzyBrain
    wrote on last edited by
    #1

    Dear CPians, I want to add a new UserControl to my WebProject. The problem is that I need it be in a way that recompilation is not required. Any ideas? Thanking you in advance.

    Jason Kataropoulos

    Excellence is not an act, but a habit!

    Aristotle

    E 1 Reply Last reply
    0
    • T theJazzyBrain

      Dear CPians, I want to add a new UserControl to my WebProject. The problem is that I need it be in a way that recompilation is not required. Any ideas? Thanking you in advance.

      Jason Kataropoulos

      Excellence is not an act, but a habit!

      Aristotle

      E Offline
      E Offline
      ednrgc
      wrote on last edited by
      #2

      Why would recompilation be a problem?

      T 1 Reply Last reply
      0
      • E ednrgc

        Why would recompilation be a problem?

        T Offline
        T Offline
        theJazzyBrain
        wrote on last edited by
        #3

        Recompilation is a problem for many reasons. When recompiling, the application restarts, hence sessions are lost. I want to be able to make a UserControl without having the source code of the entire solution. Any ideas?

        Jason Kataropoulos

        Excellence is not an act, but a habit!

        Aristotle

        E 1 Reply Last reply
        0
        • T theJazzyBrain

          Recompilation is a problem for many reasons. When recompiling, the application restarts, hence sessions are lost. I want to be able to make a UserControl without having the source code of the entire solution. Any ideas?

          Jason Kataropoulos

          Excellence is not an act, but a habit!

          Aristotle

          E Offline
          E Offline
          ednrgc
          wrote on last edited by
          #4

          You are developing on a production server?? :wtf::omg::omg:

          T 1 Reply Last reply
          0
          • E ednrgc

            You are developing on a production server?? :wtf::omg::omg:

            T Offline
            T Offline
            theJazzyBrain
            wrote on last edited by
            #5

            Well, even if I am, it would be great if you had any ideas about my actuall question rather that ranting around other issues. I shall rephrase in order to help you. Suppose that that you want to develop a reusable component, like a Custom Control but for reasons X, Y or Z you actually want it to be a UserControl and not a WebControl. Is there a way to deploy a UserControl in a way you would deploy a WebControl? Please, dont ask me why wouldn't I develop a WebControl at the first place. Lets suppose that you have the reason. Thank you.

            Jason Kataropoulos

            Excellence is not an act, but a habit!

            Aristotle

            E 1 Reply Last reply
            0
            • T theJazzyBrain

              Well, even if I am, it would be great if you had any ideas about my actuall question rather that ranting around other issues. I shall rephrase in order to help you. Suppose that that you want to develop a reusable component, like a Custom Control but for reasons X, Y or Z you actually want it to be a UserControl and not a WebControl. Is there a way to deploy a UserControl in a way you would deploy a WebControl? Please, dont ask me why wouldn't I develop a WebControl at the first place. Lets suppose that you have the reason. Thank you.

              Jason Kataropoulos

              Excellence is not an act, but a habit!

              Aristotle

              E Offline
              E Offline
              ednrgc
              wrote on last edited by
              #6

              theJazzyBrain wrote:

              rather that ranting around other issues.

              I'm not ranting. I'm stating that there are no valid reasons to avoid recompilation. The real problem is not the UserControl, but the environment.

              T 1 Reply Last reply
              0
              • E ednrgc

                theJazzyBrain wrote:

                rather that ranting around other issues.

                I'm not ranting. I'm stating that there are no valid reasons to avoid recompilation. The real problem is not the UserControl, but the environment.

                T Offline
                T Offline
                theJazzyBrain
                wrote on last edited by
                #7

                That is true, but suppose that changing the envirnment is out of the question. How would you come around such a problem?

                Jason Kataropoulos

                Excellence is not an act, but a habit!

                Aristotle

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups