The DesignMode property of a nested user control is always set to False in Visual Studio .NET or in Visual Studio 2005 (839202)
The information in this article applies to:
- Microsoft Common Language Runtime (included with the .NET Framework) 1.0
- Microsoft Visual Studio 2005 Professional Edition
- Microsoft Visual Studio 2005 Standard Edition
- Microsoft Visual Studio .NET (2003), Professional Edition
- Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2003), Academic Edition
- Microsoft Visual Studio .NET (2002), Professional Edition
- Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2002), Academic Edition
SYMPTOMSWhen you work with Microsoft Windows Forms in Microsoft Visual Studio .NET or in Microsoft Visual Studio 2005, the DesignMode property of a user control may be set to False.CAUSEThis behavior occurs at design time in Microsoft Visual Studio .NET or in Microsoft Studio 2005 if you nest a user control inside another user control. When you do this, the DesignMode property of the nested user control will return False. If a user control contains another user control, only the root level user control will return True.STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.REFERENCESFor more information about Windows Forms and about user controls, visit the following Microsoft Web sites:
Modification Type: | Major | Last Reviewed: | 1/27/2006 |
---|
Keywords: | kbvs2005swept kbvs2005applies kbprb KB839202 kbAudDeveloper |
---|
|