473,378 Members | 1,236 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,378 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 1814
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.