Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disappearing custom controls
Message
De
23/11/2004 11:16:53
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Disappearing custom controls
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Divers
Thread ID:
00963867
Message ID:
00963867
Vues:
48
Hi all,

This problem is related to VS.NET

I have some custom controls which I drag from the toolbax and drop on my form. The first time I build and run the app, it works just fine. the next time I go back to the form and view it in the designer the controls just disappear from right in front of me. Its totally bizzare !

I am building my controls and app in C#. I've done some reading on this, so here's some more information.
1. I have not manually edited / modified the InitializeComponents method.
2. I do not have circular references to my dll.
3. On looking at the code behind the form what I found was that the control references are there in the form but they simply have been removed from their containers.

For the life of me I cannot figure out why the designer does this ... this is quite frustrating.

Any help or suggestions would be hugely appreciated.
Thanks and regards
Sulak
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform