473,385 Members | 1,409 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,385 software developers and data experts.

UserControl doesn't add to "My User Controls" tab automatically.

I created a class which inherits from UserControl..
However, I can't find it in the "My User Controls" tab in designer view...

How can i add it back myself?

thx...

Jul 21 '05 #1
4 1817
You can drop the assembly from the Windows Explorer onto your Toolbox. This
will show your custom control... I know this is not the best solution, but
this always works.

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"babylon" <am***@hotmail.com> wrote in message
news:eJ**************@TK2MSFTNGP11.phx.gbl...
I created a class which inherits from UserControl..
However, I can't find it in the "My User Controls" tab in designer view...

How can i add it back myself?

thx...

Jul 21 '05 #2
is that different from the "My User Controls" tab?
both the user control and the application are in the same project

and i tried to compile the solution and try to add the assembly (.exe) to
the toolbox
and add the usercontrol to the application

then i add a button to the usercontrol...
the user control in the applicaiton don't show up the button..

but it's ok if i add the user control from "My User Controls"...

i know it works if i don't add the control in designer view.......
so...any solution??
thx
"Jan Tielens" <ja*@no.spam.please.leadit.be> wrote in message
news:uT**************@TK2MSFTNGP12.phx.gbl...
You can drop the assembly from the Windows Explorer onto your Toolbox. This will show your custom control... I know this is not the best solution, but
this always works.

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"babylon" <am***@hotmail.com> wrote in message
news:eJ**************@TK2MSFTNGP11.phx.gbl...
I created a class which inherits from UserControl..
However, I can't find it in the "My User Controls" tab in designer view...
How can i add it back myself?

thx...


Jul 21 '05 #3
Did you compile the solution, after you've added the button control? Maybe
closing and opening the form could work?

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"babylon" <am***@hotmail.com> schreef in bericht
news:%2******************@TK2MSFTNGP09.phx.gbl...
is that different from the "My User Controls" tab?
both the user control and the application are in the same project

and i tried to compile the solution and try to add the assembly (.exe) to
the toolbox
and add the usercontrol to the application

then i add a button to the usercontrol...
the user control in the applicaiton don't show up the button..

but it's ok if i add the user control from "My User Controls"...

i know it works if i don't add the control in designer view.......
so...any solution??
thx
"Jan Tielens" <ja*@no.spam.please.leadit.be> wrote in message
news:uT**************@TK2MSFTNGP12.phx.gbl...
You can drop the assembly from the Windows Explorer onto your Toolbox.

This
will show your custom control... I know this is not the best solution, but
this always works.

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"babylon" <am***@hotmail.com> wrote in message
news:eJ**************@TK2MSFTNGP11.phx.gbl...
I created a class which inherits from UserControl..
However, I can't find it in the "My User Controls" tab in designer

view...
How can i add it back myself?

thx...



Jul 21 '05 #4
I don't even have a "My User Controls" tab. Do you have to create it
manually?

Jul 21 '05 #5

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

Similar topics

4
by: Akhlaq Khan | last post by:
we are developing an intranet application (web based) which needs to detect the logged in user ID of the user hitting the website. the intranet is huge and based on win2k active directory (around...
3
by: Chris Mahoney | last post by:
Hi I have two machines, one running Win 2000 and VS.NET 2002, and one running Mac OS 10.2. I can develop web apps on my Windows machine, and look at them in IE, and they look fine. But if I...
5
by: TPS | last post by:
When I set trace enable to true in my web.config file, the debug info does not display at the "bottom" of the page, it displays "under" all of my buttons, labels, grids etc. This behavior...
4
by: babylon | last post by:
I created a class which inherits from UserControl.. However, I can't find it in the "My User Controls" tab in designer view... How can i add it back myself? thx...
42
by: Martin Jørgensen | last post by:
Hi, I'm trying to move a matlab program into c language. For those who knows matlab, this is the line I want to program in c: hx(1:nx,1:ny) = 0; % nx=10, ny=10 It works on a 2-dimensional...
1
by: bruce | last post by:
hi. within python, what's the best way to automatically spawn an app as a given user/group. i'm testing an app, and i'm going to need to assign the app to a given user/group, as well as...
4
by: jmacduff | last post by:
I have a set of pages ( about 10 ) that all have the same controls at the top, however I am unable to put the controls the master page for the site since the other 50 pages dont have the controls....
4
by: Scott McNair | last post by:
Hi, I'm creating a user control that has absolutely no visual pieces to it... it's essentially a piece that sniffs a serial port awaiting incoming data. I know that there are several controls...
5
by: WP | last post by:
Hello, I need to communicate with a db2 database from a java program and this java program needs to check which "user tables" there are. I came up with the following query which I tried in Control...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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...

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.