Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 13, 2011 07:27 PM by xocmot
May 04, 2006 08:51 PM|LINK
I have created some web custom controls (both composite controls or derived/inherited controls). I successfully added them to the toolbox.
However, when I try to drag them onto the form, the cursor changes into a black circle with a diagonal line, and cannot drag them. I also tried double-clicking them from the toolbox but it still won't work.
I sent the Control Library (DLL) to a friend, and he managed to use it properly. I am assuming this is a problem with my Visual Studio.
Has anyone encountered such a problem? Any suggestions or solutions?
May 05, 2006 03:42 AM|LINK
May 05, 2006 04:59 AM|LINK
Try close and reopen the Visual Studio.
May 05, 2006 06:03 AM|LINK
It's a web form, and I derived from the Control class, and implemented the INamingContainer interface.
I wanted to point out also, that if I created a derived/inherited control, it still doesn't work.
e.g. CustomTextBox control that inherits from System.Web.....TextBox Control
Any third-party controls, or any controls I create can be added to the toolbox, but then I CANNOT drag them onto the form.
May 05, 2006 06:04 AM|LINK
Libor: I tried restarting VS.NET, and it didn't work.
I even restarted the PC, and it still didn't work! :(
May 09, 2006 06:38 PM|LINK
May 09, 2006 08:49 PM|LINK
The control works perfectly on another computer, but on my machine using the current Visual Studio .NET installation, it simply won't allow me to drag and drop any controls I create.
Only the included web controls work.
Any other ideas?
May 09, 2006 11:34 PM|LINK
<%@ Register tagPrefix="controls" tagName="WhataControl" src="..\Controls\MyControl.ascx" %>
Oct 01, 2006 11:26 AM|LINK
I'm having exactly the same problem :( I might give up and just reinstall VS2003.
Any advice would be appreciated from anyone who's come across this.
Jun 13, 2011 07:27 PM|LINK
here's your answer... if you still care...
place your cursor in the page your editing where you want the control, then go to the toolbox control you want and double click and presto! It appears where you want. As to why double click was turned on instead of the drag functionality, who knows.
God bless you brother. Jesus is the way, I used to be an athiest, check me out at thomasdcox.com