473,396 Members | 2,016 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Why doesn't my user control gets added to My User Control Tab

I added a project to my solution that contains a user control. Now I 'd like
to add the user control from that project to a form in my solution. The
problem is that the control doesn't gets added to the My User Control tab.

Any ideas?

Thanks in advance, Henke!
Jul 21 '05 #1
5 1987
Just drag and drop the DLL from your user control project into the toolbox.
By doing so the user controls in the DLL will show up in the toolbox.

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Henke" <he********@hotmail.com> wrote in message
news:#6*************@tk2msftngp13.phx.gbl...
I added a project to my solution that contains a user control. Now I 'd like to add the user control from that project to a form in my solution. The
problem is that the control doesn't gets added to the My User Control tab.

Any ideas?

Thanks in advance, Henke!

Jul 21 '05 #2
Hi, and thanks for your answer. That could work but if I do like that I only
add the dll from that specific directory. It doesn't get update when I
change from Debug to Release and so on. All my other User Controls are
displayed in the Tab, with a nice lite User Control Icon. When you drag the
dll-file to the tab an other icon is displayed.

/Henke

"Jan Tielens" <ja*@no.spam.please.leadit.be> skrev i meddelandet
news:ev**************@TK2MSFTNGP09.phx.gbl...
Just drag and drop the DLL from your user control project into the toolbox. By doing so the user controls in the DLL will show up in the toolbox.

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Henke" <he********@hotmail.com> wrote in message
news:#6*************@tk2msftngp13.phx.gbl...
I added a project to my solution that contains a user control. Now I 'd

like
to add the user control from that project to a form in my solution. The
problem is that the control doesn't gets added to the My User Control tab.
Any ideas?

Thanks in advance, Henke!


Jul 21 '05 #3
Agreed... I had your problem some time ago too. My quick work-around was to
drop the dll on the toolbox... I hope somebody else has a solution.

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Henke" <he********@hotmail.com> wrote in message
news:ui**************@TK2MSFTNGP11.phx.gbl...
Hi, and thanks for your answer. That could work but if I do like that I only add the dll from that specific directory. It doesn't get update when I
change from Debug to Release and so on. All my other User Controls are
displayed in the Tab, with a nice lite User Control Icon. When you drag the dll-file to the tab an other icon is displayed.

/Henke

"Jan Tielens" <ja*@no.spam.please.leadit.be> skrev i meddelandet
news:ev**************@TK2MSFTNGP09.phx.gbl...
Just drag and drop the DLL from your user control project into the

toolbox.
By doing so the user controls in the DLL will show up in the toolbox.

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Henke" <he********@hotmail.com> wrote in message
news:#6*************@tk2msftngp13.phx.gbl...
I added a project to my solution that contains a user control. Now I 'd
like
to add the user control from that project to a form in my solution.
The problem is that the control doesn't gets added to the My User Control

tab.
Any ideas?

Thanks in advance, Henke!



Jul 21 '05 #4
I've noticed this happening sometimes if I have a usercontrol project in the
solution with my main windows forms project. Sometimes the usercontrol's
just disappear from the "My User Controls" tab.

One solution that I've seen in the past (which works most of the time, but
not all the time) is to:

1) Close all designer windows
2) Build your solution
3) Open the designer for the usercontrol
4) Change something, then change it back (so it prompts you to save the
file)
5) Save and close the designer.
6) Open up one of the forms in your other project.
7) Cross your fingers and hope the control appears in the "My User Controls"
tab ;)

Hope this helps,

Trev.

"Jan Tielens" <ja*@no.spam.please.leadit.be> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Agreed... I had your problem some time ago too. My quick work-around was to drop the dll on the toolbox... I hope somebody else has a solution.

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Henke" <he********@hotmail.com> wrote in message
news:ui**************@TK2MSFTNGP11.phx.gbl...
Hi, and thanks for your answer. That could work but if I do like that I

only
add the dll from that specific directory. It doesn't get update when I
change from Debug to Release and so on. All my other User Controls are
displayed in the Tab, with a nice lite User Control Icon. When you drag

the
dll-file to the tab an other icon is displayed.

/Henke

"Jan Tielens" <ja*@no.spam.please.leadit.be> skrev i meddelandet
news:ev**************@TK2MSFTNGP09.phx.gbl...
Just drag and drop the DLL from your user control project into the

toolbox.
By doing so the user controls in the DLL will show up in the toolbox.

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Henke" <he********@hotmail.com> wrote in message
news:#6*************@tk2msftngp13.phx.gbl...
> I added a project to my solution that contains a user control. Now I 'd like
> to add the user control from that project to a form in my solution. The > problem is that the control doesn't gets added to the My User
Control tab.
>
> Any ideas?
>
> Thanks in advance, Henke!
>
>



Jul 21 '05 #5
Thanks Trev, it worked this time anyway...
/Henke

"Codemonkey" <hu*********@hotmail.com> skrev i meddelandet
news:eX**************@tk2msftngp13.phx.gbl...
I've noticed this happening sometimes if I have a usercontrol project in the solution with my main windows forms project. Sometimes the usercontrol's
just disappear from the "My User Controls" tab.

One solution that I've seen in the past (which works most of the time, but
not all the time) is to:

1) Close all designer windows
2) Build your solution
3) Open the designer for the usercontrol
4) Change something, then change it back (so it prompts you to save the
file)
5) Save and close the designer.
6) Open up one of the forms in your other project.
7) Cross your fingers and hope the control appears in the "My User Controls" tab ;)

Hope this helps,

Trev.

"Jan Tielens" <ja*@no.spam.please.leadit.be> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Agreed... I had your problem some time ago too. My quick work-around was

to
drop the dll on the toolbox... I hope somebody else has a solution.

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Henke" <he********@hotmail.com> wrote in message
news:ui**************@TK2MSFTNGP11.phx.gbl...
Hi, and thanks for your answer. That could work but if I do like that I
only
add the dll from that specific directory. It doesn't get update when I
change from Debug to Release and so on. All my other User Controls are
displayed in the Tab, with a nice lite User Control Icon. When you
drag
the
dll-file to the tab an other icon is displayed.

/Henke

"Jan Tielens" <ja*@no.spam.please.leadit.be> skrev i meddelandet
news:ev**************@TK2MSFTNGP09.phx.gbl...
> Just drag and drop the DLL from your user control project into the
toolbox.
> By doing so the user controls in the DLL will show up in the
toolbox. >
> --
> Greetz
>
> Jan Tielens
> ________________________________
> Read my weblog: http://weblogs.asp.net/jan
>
>
> "Henke" <he********@hotmail.com> wrote in message
> news:#6*************@tk2msftngp13.phx.gbl...
> > I added a project to my solution that contains a user control. Now

I 'd
> like
> > to add the user control from that project to a form in my
solution. The
> > problem is that the control doesn't gets added to the My User

Control tab.
> >
> > Any ideas?
> >
> > Thanks in advance, Henke!
> >
> >
>
>



Jul 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

149
by: Christopher Benson-Manica | last post by:
(Followups set to comp.std.c. Apologies if the crosspost is unwelcome.) strchr() is to strrchr() as strstr() is to strrstr(), but strrstr() isn't part of the standard. Why not? --...
5
by: Henke | last post by:
Hi! I add some web user controls dynamicly with: myPanel.Controls.Add(Page.LoadControl("MyDynamiclyAddedPage.ascx")); the style of the controls on the user control is set from a css-class, by...
0
by: Brandon Potter | last post by:
I am building a large template-based ASP.NET app using inheritance and loading user controls as the method of loading templates and populating them. I catch the requests for pages in Global.asax...
3
by: Sam Kuehn | last post by:
I have been stuck on this for some time and am desperate for a solution. I run into this all of the time! I will give a over simplified example to illustrate the problem. Say you have 2 user...
6
by: Louise | last post by:
I use Visual Basic .NET Framework 1.1, Visual Studio. I have a Web page (aspx) referencing a control (ascx) that has a placeholder that is assigned one of 2 child controls through buttons. The...
9
by: Henke | last post by:
I added a project to my solution that contains a user control. Now I 'd like to add the user control from that project to a form in my solution. The problem is that the control doesn't gets added...
2
by: Chu | last post by:
Thanks everyone for taking a moment to read this. I've got a page where I use a LinkButton and I wire up a dynamic event to the button. When the user clicks the button, the event is fired as...
2
by: mikeingenito | last post by:
Hello, I have a a web form where i dynamically load a user control. The web page is an issue log, and each user control I add is a specific issue. I load them as follows: Try ...
0
by: Kristian Frost | last post by:
Hi, I'm just getting started with VB.Net, and I'm having trouble getting the routing around of some of the data straight in my mind, which has led me to the following problem. Basically, I'm...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.