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. Web User Controls(ascx)

Web User Controls(ascx)

Scheduled Pinned Locked Moved ASP.NET
winformshelpquestion
4 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.
  • J Offline
    J Offline
    jonhbt
    wrote on last edited by
    #1

    I divided my application into 2 different web apps. I have created a control in the first web app and i need to reference it in the second application. Is it possible to do so? I am trying to drag and drop the control but when debugging i am getting problems. Thanks for your help.

    S 1 Reply Last reply
    0
    • J jonhbt

      I divided my application into 2 different web apps. I have created a control in the first web app and i need to reference it in the second application. Is it possible to do so? I am trying to drag and drop the control but when debugging i am getting problems. Thanks for your help.

      S Offline
      S Offline
      Sandeep Mewara
      wrote on last edited by
      #2

      First of all, whether it's a Custom control or a User control? Heading of your query says a usercontrol. Had it been a custom control, you can include that as a reference and drag-drop it on your designer. If it's a user control that too in another project, it would be difficult for you to refer. Either include that user control in your project where you need it or design a similar one.

      J 1 Reply Last reply
      0
      • S Sandeep Mewara

        First of all, whether it's a Custom control or a User control? Heading of your query says a usercontrol. Had it been a custom control, you can include that as a reference and drag-drop it on your designer. If it's a user control that too in another project, it would be difficult for you to refer. Either include that user control in your project where you need it or design a similar one.

        J Offline
        J Offline
        jonhbt
        wrote on last edited by
        #3

        Thanks for your reply. its a user control. The use of itis to have one control which could be used on both apps. Is there any solution for that please?

        S 1 Reply Last reply
        0
        • J jonhbt

          Thanks for your reply. its a user control. The use of itis to have one control which could be used on both apps. Is there any solution for that please?

          S Offline
          S Offline
          Sandeep Mewara
          wrote on last edited by
          #4

          It's a file that can be found in your folders. Since you don't want to create a copy, design the directory of this file such that you can include it in both of your applications!

          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