By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,008 Members | 1,235 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,008 IT Pros & Developers. It's quick & easy.

Form designer looses controls

P: n/a
Hi NG,

It happens quit often, that in Visual Studio 2005 the form designer "looses"
controls.
Actually it does not really loose them, but the are no longer visible and to
get them back I must close the formdesigner and reopen it.

I observe this quit often with controls contained in a tabPage.

Is this a (known) Bug? If yes, please take this as a BugReport.

Regards
Rainer Queck
Jun 6 '07 #1
Share this Question
Share on Google+
10 Replies


P: n/a
Well,
Sometimes my pants are "loose", but it is very rare that my form
designers "lose" controls.

You could try closing the form in the IDE and then reloading it. if
you think you have found
a legitimate bug, the place to check for and report it is the
Microsoft connect site.

Jun 6 '07 #2

P: n/a
Hi Rainer,

Could you tell me what controls are placed on the form? Are they all
standard .NET controls? Do you bind these controls to data sources?

If possible, you may send me a simple project that could just reproduce the
problem.

You can also submit a bug or suggestion on Visual Studio in the Microsoft
connect web site via the following link by yourself:

https://connect.microsoft.com/VisualStudio
Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Jun 7 '07 #3

P: n/a
On Jun 7, 8:44 am, v-l...@online.microsoft.com (Linda Liu [MSFT])
wrote:
Hi Rainer,

Could you tell me what controls are placed on the form? Are they all
standard .NET controls? Do you bind these controls to data sources?

If possible, you may send me a simple project that could just reproduce the
problem.

You can also submit a bug or suggestion on Visual Studio in the Microsoft
connect web site via the following link by yourself:

https://connect.microsoft.com/VisualStudio

Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer tohttp://msdn.microsoft.com/subscriptions/managednewsgroups/default.asp...
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) athttp://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
Was the control disappeared without any error?. Sometimes the Form
Controls were not visible on loading the form(design time), but it
showed up error message. I didn't dig down for details. Replacing the
form and controls solved the problem. But if you've go too many
control with custom code it'd be a pain.

Jun 7 '07 #4

P: n/a
Hello Linda,

I have placed a ZIP at www.qutronic.de/Temp/DisapearingControls.zip which
contains:
- demo Project "DisapearingControls"
- a procedure on how to "make controls dissapear" in "DisapearingCtrls.txt"
- two JPGs showing the situation here on my machine.

I hope this helps to reproduce the problem and do find the bug.
Please send me feedback to the e-mail address yuo have from me.

Regards
Rainer Queck
Jun 14 '07 #5

P: n/a
Hi Rainer,

Thank you for your sample project.

Following the steps you described, I did see the reproduce the problem on
my side.

However, if I move the two labels and two textboxes to the form, this
problem doesn't exist. So it seems like an issue of the TabControl's
designer.

I will check our inner database to see if it is a known issue. BTW, I will
be OOF in the next Monday and Tuesday, so I will reply to you the next
Wednesday.

Have a nice weekend!

Sincerely,
Linda Liu
Microsoft Online Community Support

Jun 15 '07 #6

P: n/a
Hi Linda,
Following the steps you described, I did see the reproduce the problem on
my side.
Good!
I will check our inner database to see if it is a known issue. BTW, I will
be OOF in the next Monday and Tuesday, so I will reply to you the next
Wednesday.
Thanks.

Have a nice weekend!
Likewise!

Regards
Rainer
Jun 15 '07 #7

P: n/a
Hi Rainer,

I have searched in our inner database and found a similar issue in it.

It points out that modifying the code and building the solution causing the
designer to reload. During this reload, the controls on the TabPage of the
TabControl is created but their visibility are not set back to visible.

The workaround is to put the content of the TabPage in a separate
UserControl and then add the UserControl to the TabPage and set it Dock
Fill.

Hope this helps.
Sincerely,
Linda Liu
Microsoft Online Community Support

Jun 20 '07 #8

P: n/a
Hi Linda,

thanks for the information.
I will consider the workaround.

Regards
Rainer Queck

"Linda Liu [MSFT]" <v-****@online.microsoft.comschrieb im Newsbeitrag
news:hv**************@TK2MSFTNGHUB02.phx.gbl...
Hi Rainer,

I have searched in our inner database and found a similar issue in it.

It points out that modifying the code and building the solution causing
the
designer to reload. During this reload, the controls on the TabPage of the
TabControl is created but their visibility are not set back to visible.

The workaround is to put the content of the TabPage in a separate
UserControl and then add the UserControl to the TabPage and set it Dock
Fill.

Hope this helps.
Sincerely,
Linda Liu
Microsoft Online Community Support


Jun 20 '07 #9

P: n/a
Hi Rainer,

How about the workaround?

If you have any question, please feel free to let me know.

Thank you for using our MSDN Managed Newsgroup Support Service!

Sincerely,
Linda Liu
Microsoft Online Community Support

Jun 22 '07 #10

P: n/a
Hi Linda,

"Linda Liu [MSFT]" <v-****@online.microsoft.comschrieb im Newsbeitrag
news:vp**************@TK2MSFTNGHUB02.phx.gbl...
Hi Rainer,

How about the workaround?

If you have any question, please feel free to let me know.
In my current project, I momentarely don't use data binding (have removed
all existing) due to project requirements. Therefor I don't have to deal
with the issue.
But the subject will come up again, and then I will try the workaround.
In case I then have problems, I will propably come up with more questions.

Thanks for checking on me!

Regards
Rainer
Jun 22 '07 #11

This discussion thread is closed

Replies have been disabled for this discussion.