Download and install this latest Microsoft hotfix which corrects the dreaded 'property serialization issue'.
First The Solution
Click here to download the 6mb Hotfix KB967253. A single (exe) file which updates your Visual Studio 2008 instance.
Changes made in Visual Studio designer were not saved when going to the source view. The issue was first found with DevExpress ASP.NET controls. However, after further inspection, we found that this was a general bug with Visual Studio 2008.
You can see the bug by following these 5 steps:
- Create a new web site
- Put a standard Wizard control
- Put a standard GridView inside the wizard's editable region (framed area)
- Go to the GridView's properties and set the PagerSettings.Visible to False
- Switch to Source view
What do you see? If the changes are not serialized then grab the hotfix.
You can read more about the original issue I reported on Microsoft Connect. The KB967253 hotfix addresses 7 issues in all and you can read about them on the Visual Web Developer Team blog.
Special thanks goes to Microsoft Developer Extraordinaire, Mikhail Arkhipov, for fixing these issues in both Visual Studio 2008 and Visual Studio 2010.