BUG: Reset may not effectively clear set properties (319203)



The information in this article applies to:

  • 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
  • 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

This article was previously published under Q319203

SYMPTOMS

In Visual Studio .NET, when you right-click a property in the Properties window, and then click Reset to reset the property value, the property is cleared from the Properties window. However, the old property value may still be applied.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Open a Web Form in Visual Studio .NET
  2. From the Toolbox, drag a simple control such as a Label ASP.NET server control to the page.
  3. With the control selected, press F4 to open the Properties window.
  4. Expand the Font properties, and then set the Size property to large.
  5. Right-click the Font property, and then click Reset. Note that although the value is cleared from the Properties window, the label text remains large in the design window.
  6. Switch to HTML View. Note that the ASP.NET server control that you added still has the following attribute:
    Font-Size="Large"
    					

Workaround

Click to select the value that you want to clear, and then press DELETE to reset the property value.

Modification Type:MinorLast Reviewed:1/26/2006
Keywords:kbtshoot kbvs2005doesnotapply kbvs2005swept kbvs2002sp1sweep kbbug kbnofix KB319203 kbAudDeveloper