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. Custom Control Problem

Custom Control Problem

Scheduled Pinned Locked Moved ASP.NET
helpquestion
2 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.
  • W Offline
    W Offline
    work_to_live
    wrote on last edited by
    #1

    I built a Web Custom Control in one solution, and it's working fine. It was built as a separate project with the target set to Class Library. I added the control to the toolbox, and can add it to another project in that solution by dragging it onto any webform. I moved it (the project) to another computer, built it and added it to the toolbox as before. When I try to add it to a webform I get a circle with a line through it, and don't have a clue what to do now! Any suggestions? More Details... I tracked it down to changing the Namespace of the custom control... Why would that have anything to do with being able to drag and drop the control onto a webform?

    M 1 Reply Last reply
    0
    • W work_to_live

      I built a Web Custom Control in one solution, and it's working fine. It was built as a separate project with the target set to Class Library. I added the control to the toolbox, and can add it to another project in that solution by dragging it onto any webform. I moved it (the project) to another computer, built it and added it to the toolbox as before. When I try to add it to a webform I get a circle with a line through it, and don't have a clue what to do now! Any suggestions? More Details... I tracked it down to changing the Namespace of the custom control... Why would that have anything to do with being able to drag and drop the control onto a webform?

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      Hi there, + Does that problem happen on your machine when you remove the control out of the toolbox and reinsert it? + On another machine, can you check to make sure that the web project refers to the latest version of the web control assembly? Just some ideas.

      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