Reply to comment
Fix for Visual Studio 2008 SP1 Design Mode Error - [text] could not be set on [property]
When building a custom / web / composite control in Visual Studio 2008 SP1, once you have a custom property that you attempt to set in design mode, you will see an error similar to this in design view: There was an error rendering the control. [value] could not be set on property [property name] The way to duplicate this error is to set a property from the designer on your control, then right-click the control and choose "Refresh" or just close the hosted ASPX page and re-open in design view. Either way, you will see this error. After wasting a ton of time searching for a solution, it turns out this a bug in Sp1 of Visual Studio 2008. As of the end of January 2009, there is now a hot fix for this issue that Microsoft is providing. The Knowledge Base Article this issue references is: KB961864 You can get the HotFix here: http://code.msdn.microsoft.com/KB961864/Release/ProjectReleases.aspx?ReleaseId=2194 There were many posts on this topic that said this fix did not work on Vista but I have tested this fix on both Windows XP and Vista (32 bit) and both worked just fine. NOTE: Make sure to close all instances of Visual Studio before running the hot fix.
Reply
Popular Articles
Last viewed:
- Find a control in a TemplateField programmatically
- User Account Login - Limit hours
- ASP.NET Charting Control 3.5 fix for "Error executing child request for ChartImg.axd"
- Tutorial for Configuring Silverlight 4, Entity Framework and WCF RIA Services in Separate Component Assemblies (DLL’s)
- Configure Remote Access for SQL Server Express 2005
- Add a Composite Control to the Visual Studio Toolbox

Recent comments
1 day 19 hours ago
6 days 9 hours ago
6 days 10 hours ago
1 week 19 hours ago
1 week 2 days ago
2 weeks 9 hours ago
2 weeks 1 day ago
2 weeks 4 days ago
2 weeks 6 days ago
2 weeks 6 days ago