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 ("Windows Designer code") showed them
still there but all properties that I had set were gone.
My solution was to re-add the controls in the designer then copy the design
code to a sub and add them programatically in the form load event. I believe
there is a bug in the VB.NeT 2003 designer that allows controls to just
disappear for no reason. I've heard of people having this trouble before so
I'm thru with adding user controls via the designer!
I know some on this newsgroup don't like calling things a BUG but I call it
like it is and it's a BUG!
--
Dennis in Houston
.
Re: Does C#.Net support Layout managers? ... make much sense to me to rely on the designer for some controls,...designer cannot help you complete. ... I seem to use generic Lists.... The code I'm specifically talking about is the layout code.... (microsoft.public.dotnet.languages.csharp)
Re: Deriving - .NET example ... A Form class has fairly large interface which can be used to manipulate the window. ... This includes methods/properties such as changing window position/size, setting its style, back color, caption etc. as well as adding child controls.... When designing custom form via MS Visual Studio designer, the corresponding C# code is designed which uses the aforementioned class Form and its interface to achieve the look created in the designer. ... Within the UI subsystem some sort of factory object would field that request and do the actual instantiation and initialization. ... (comp.object)
Re: Visual Basic 2005 - designer.vb page problem ... In order to eliminate this problem, I decided to move all the declarations... This way the designer doesn't perform ... only standard ASP.NET controls or can you repro the problem through a very ... changed some thing in .aspx page. ... (microsoft.public.dotnet.framework.aspnet)
Re: Does C#.Net support Layout managers? ... That's not the scenario for which I'm advocating the designer.... the logic is in the business layer.... When the controls need to be set up dynamically using logic, ...Refactoring tools built into VS2005 now, but working with them, I've ... (microsoft.public.dotnet.languages.csharp)
Re: Does C#.Net support Layout managers? ... CANNOT set on the designer.... Its rather silly to have an array of controls.... The designer is a code generator itself, ... A lot of Windows UI code was thrown away when the Web became ... (microsoft.public.dotnet.languages.csharp)