<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Hotfix for “Issue with Auto-Generated Designer Files not Adding Controls”</title><link>http://blogs.msdn.com/b/webdev/archive/2010/03/05/hotfix-for-issue-with-auto-generated-designer-files-not-adding-controls.aspx</link><description>A hotfix is now available for issues most commonly described as " Controls are not being recognized in the code-behind " and " Editing existing .aspx regenerates .aspx.designer.(cs), but most of the controls are now missing ”. These issues were seen in</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Hotfix for “Issue with Auto-Generated Designer Files not Adding Controls”</title><link>http://blogs.msdn.com/b/webdev/archive/2010/03/05/hotfix-for-issue-with-auto-generated-designer-files-not-adding-controls.aspx#9976373</link><pubDate>Wed, 10 Mar 2010 18:28:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9976373</guid><dc:creator>Rob G</dc:creator><description>&lt;p&gt;I think I found the issue, it appears that the designer file will fail to generate completely if it encounters an error in the markup. &lt;/p&gt;
&lt;p&gt;Some of the buttons already had a SkinID applied, so they were throwing an exception:&lt;/p&gt;
&lt;p&gt;The tag contains duplicate 'SkinId' attributes.&lt;/p&gt;
&lt;p&gt;It would be good if something could be done to make this more obvious.&lt;/p&gt;
&lt;p&gt;Thanks for your help.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9976373" width="1" height="1"&gt;</description></item><item><title>re: Hotfix for “Issue with Auto-Generated Designer Files not Adding Controls”</title><link>http://blogs.msdn.com/b/webdev/archive/2010/03/05/hotfix-for-issue-with-auto-generated-designer-files-not-adding-controls.aspx#9976350</link><pubDate>Wed, 10 Mar 2010 18:01:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9976350</guid><dc:creator>Rob G</dc:creator><description>&lt;p&gt;I tried deleting the designer file and regenerating it using the &amp;quot;Convert to Web Application&amp;quot; method mentioned above, but with the same error. &lt;/p&gt;
&lt;p&gt;I am going to try and strip it down to something that I can send shortly.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Rob&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9976350" width="1" height="1"&gt;</description></item><item><title>re: Hotfix for “Issue with Auto-Generated Designer Files not Adding Controls”</title><link>http://blogs.msdn.com/b/webdev/archive/2010/03/05/hotfix-for-issue-with-auto-generated-designer-files-not-adding-controls.aspx#9975953</link><pubDate>Wed, 10 Mar 2010 02:12:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9975953</guid><dc:creator>Web Development Tools Microsoft</dc:creator><description>&lt;p&gt;Hey Rob,&lt;/p&gt;
&lt;p&gt;I have tried to reproduce this scenario and could not get the issue you describe to occur on our end. Did this issue occur after adding the SkinId attribute to an existing control (one added before apply the patch)? &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try and regenerate the designer file and see if &amp;nbsp;you still see this. The way to do this is:-&lt;/p&gt;
&lt;p&gt;1) &amp;nbsp; &amp;nbsp;Delete the designer file of the page where you see this issue&lt;/p&gt;
&lt;p&gt;2) &amp;nbsp; &amp;nbsp;Select the page in solution explorer&lt;/p&gt;
&lt;p&gt;3) &amp;nbsp; &amp;nbsp;Right-click on it and select &amp;quot;Convert to Web Application&amp;quot; to regenerate the designer file.&lt;/p&gt;
&lt;p&gt;If you still see this issue I would like to debug this further to help solve this. Could you share the page (and possibly the project) that is encountering this issue? You can send it to us at vsweb@microsoft.com.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9975953" width="1" height="1"&gt;</description></item><item><title>re: Hotfix for “Issue with Auto-Generated Designer Files not Adding Controls”</title><link>http://blogs.msdn.com/b/webdev/archive/2010/03/05/hotfix-for-issue-with-auto-generated-designer-files-not-adding-controls.aspx#9975698</link><pubDate>Tue, 09 Mar 2010 19:47:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9975698</guid><dc:creator>Rob G</dc:creator><description>&lt;p&gt;We have installed the .designer file fix and are still seeing the issue with the designer files not generating correctly. Just today I added SkinID attributes to some buttons and now 6 of my pages designer files are missing half their controls.&lt;/p&gt;
&lt;p&gt;Some of the pages are using the ajaxcontrol toolkit. Has anyone else applied this patch and is still experiencing this issue?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9975698" width="1" height="1"&gt;</description></item><item><title>re: Hotfix for “Issue with Auto-Generated Designer Files not Adding Controls”</title><link>http://blogs.msdn.com/b/webdev/archive/2010/03/05/hotfix-for-issue-with-auto-generated-designer-files-not-adding-controls.aspx#9974105</link><pubDate>Sat, 06 Mar 2010 13:28:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9974105</guid><dc:creator>martin robins</dc:creator><description>&lt;p&gt;I have now installed the hotfix (along with the two previous hotfixes) and I can confirm that, so far, the functionality has been restored and the web forms designer is now adding the embedded controls to the .designer.cs correctly.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9974105" width="1" height="1"&gt;</description></item><item><title>re: Hotfix for “Issue with Auto-Generated Designer Files not Adding Controls”</title><link>http://blogs.msdn.com/b/webdev/archive/2010/03/05/hotfix-for-issue-with-auto-generated-designer-files-not-adding-controls.aspx#9973953</link><pubDate>Sat, 06 Mar 2010 03:04:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9973953</guid><dc:creator>Troy</dc:creator><description>&lt;p&gt;Perfect thank you very much!!! Now I can do some testing. Really Really appreciate this patch!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9973953" width="1" height="1"&gt;</description></item></channel></rss>