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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Re-using usercontrol into a different project.

Re-using usercontrol into a different project.

Scheduled Pinned Locked Moved ASP.NET
tutorialquestion
3 Posts 2 Posters 1 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.
  • J Offline
    J Offline
    Juvil John
    wrote on last edited by
    #1

    Hi, This is what i had in mind.

    Solution1
    -Project1
    -Default.aspx
    -Project2
    -UserControl\Usercontrol1.ascx
    -Default.aspx

    Now, what I need is to use Usercontrol1.ascx to Default.aspx in Project1. Usercontrol1.ascx is used in local Default.aspx in Project2. Also Project1 & Project2 are in the same solution under Solution1. So anyone knows how to do this? Thanks.

    R J 2 Replies Last reply
    0
    • J Juvil John

      Hi, This is what i had in mind.

      Solution1
      -Project1
      -Default.aspx
      -Project2
      -UserControl\Usercontrol1.ascx
      -Default.aspx

      Now, what I need is to use Usercontrol1.ascx to Default.aspx in Project1. Usercontrol1.ascx is used in local Default.aspx in Project2. Also Project1 & Project2 are in the same solution under Solution1. So anyone knows how to do this? Thanks.

      R Offline
      R Offline
      Rajeesh MP
      wrote on last edited by
      #2

      i think u need to add this usercontrol to both project

      1 Reply Last reply
      0
      • J Juvil John

        Hi, This is what i had in mind.

        Solution1
        -Project1
        -Default.aspx
        -Project2
        -UserControl\Usercontrol1.ascx
        -Default.aspx

        Now, what I need is to use Usercontrol1.ascx to Default.aspx in Project1. Usercontrol1.ascx is used in local Default.aspx in Project2. Also Project1 & Project2 are in the same solution under Solution1. So anyone knows how to do this? Thanks.

        J Offline
        J Offline
        Juvil John
        wrote on last edited by
        #3

        up... anyone?

        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