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

Disappearing User Controls


How on earth do I convince VS.net to keep stop removing my user controls from the
design view!

I've created my very own listbox and now I go to put in into the form - which works - I
wonder off to do some other stuff, come back and VS just deletes it. It leaves the
definition and the addition to the Controls collection of the containing control. But it
doesn't leave the bloody control.

*frets*
------------------------------------

Another unchecked rambeling brought to you by:

Oddball
joshua@bf#N0SP4M#wd.co.uk
Nov 17 '05 #1
3 1058
Sounds like the designer is having trouble serializing the contents of the
control or has a problem knowning that is still a valid component. Make sure
that you copying the assembly that has the new control into the project that
is being designed.

Phil Wright
Follow my startup microISV at...
http://componentfactory.blogspot.com

"Oddball" <jo****@SbPfAwMd.co.uk> wrote in message
news:11****************@dyke.uk.clara.net...

How on earth do I convince VS.net to keep stop removing my user controls
from the
design view!

I've created my very own listbox and now I go to put in into the form -
which works - I
wonder off to do some other stuff, come back and VS just deletes it. It
leaves the
definition and the addition to the Controls collection of the containing
control. But it
doesn't leave the bloody control.

*frets*
------------------------------------

Another unchecked rambeling brought to you by:

Oddball
joshua@bf#N0SP4M#wd.co.uk

Nov 17 '05 #2
Look into the tasklist when opening the desiogn view. Is there an error that
an exception occured when creating a control or a message that vs cannot
find a assembly?
If the first is the case try to debug vs with vs (atach the debugger of
another instance of vs to the running instance), if the latter is the case
make sure you included all project references to all needed dll's and
everything is freshly rebuilt.
"Oddball" <jo****@SbPfAwMd.co.uk> schrieb im Newsbeitrag
news:11****************@dyke.uk.clara.net...

How on earth do I convince VS.net to keep stop removing my user controls from the design view!

I've created my very own listbox and now I go to put in into the form - which works - I wonder off to do some other stuff, come back and VS just deletes it. It leaves the definition and the addition to the Controls collection of the containing control. But it doesn't leave the bloody control.

*frets*
------------------------------------

Another unchecked rambeling brought to you by:

Oddball
joshua@bf#N0SP4M#wd.co.uk

Nov 17 '05 #3
Oddball wrote:

How on earth do I convince VS.net to keep stop removing my user
controls from the design view!

I've created my very own listbox and now I go to put in into the form
- which works - I wonder off to do some other stuff, come back and VS
just deletes it. It leaves the definition and the addition to the
Controls collection of the containing control. But it doesn't leave
the bloody control.

*frets*


Call MS Support (PSS) and ask for fix of KB: 842706 - fixes nested
controls from different assemblies as long as both assemblies aren't in
the same solution when compiled.

FB

--
------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
Nov 17 '05 #4

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

Similar topics

4
by: Mark | last post by:
I have a project which has some user controls in. These user controls have other user controls on them which are in the same project. For some reason, Visual Studio has decided to remove some of...
2
by: neptune | last post by:
I built a form to access a query with a 2 field primary key. It should use 2 controls to find the unique record and display the other field values on the form. In the criteria section of the...
14
by: Paul Yanzick | last post by:
Hello, I am trying to develop a book tracking application for my capstone in school, and am running into a problem. The application is an ASP.Net application written in C#. The first page you...
4
by: Steve | last post by:
Hi All, I've seen many postings regarding different situations where controls disappear but have never seen a decent solution. Here is the problem. I have a form onto which I am placing some...
2
by: Rachel Suddeth | last post by:
Here is my scenario: I have a few custom controls that I set up on a form and tested setting properties and appearances. Then I added a couple references to the project which add classes I need to...
6
by: Jim | last post by:
I have a user control that I am dynamically loading into an aspx page. When I fill out the text boxes and submit the form using a command button on the aspx page I lose the value from the user...
6
by: George Yefchak | last post by:
Hi folks, What's the latest news on the "disappearing controls" issue? I've seen a few posts over the last several months indicating that other people have the same problem, but I've seen...
4
by: Dennis | last post by:
I just lost some user controls for no reason using VB.Net 2003. I had added the controls thru the Design IDE and all was working ok but for some reason, they just disappeared. The form module...
4
by: c676228 | last post by:
Hi all, the data disappearing problem occurs to all my controls even my regualr web control like asp:textbox, when I click back button in web browser from second page to first page and then click...
1
by: JDeats | last post by:
I have many labels that are disappearing from my form when the user resizes it, they seem to dissapear when certain width/height thresholds are exceeded. I have no code in place purposely trying...
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...
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
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...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.