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