{"id":4334,"date":"2008-06-18T18:35:00","date_gmt":"2008-06-18T18:35:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/webdev\/2008\/06\/18\/faster-switch-to-design-view-in-vs-2008-sp1-rtm\/"},"modified":"2008-06-18T18:35:00","modified_gmt":"2008-06-18T18:35:00","slug":"faster-switch-to-design-view-in-vs-2008-sp1-rtm","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/faster-switch-to-design-view-in-vs-2008-sp1-rtm\/","title":{"rendered":"Faster switch to design view in VS 2008 SP1 RTM"},"content":{"rendered":"<p>Some customers discovered that sometimes switch to Design view was very slow. We analyzed submitted reports and tracked the issue down to a code that&nbsp;was discovering available AJAX Extenders and which contols they were applicable to. In order to avoid unnecessary delays we moved discovery of AJAX extenders to a background thread. This made switch to Design view significantly faster since designer is now available immediately while extenders are still being enumerated. Here is a screenshot, look at the status bar that&nbsp;shows &#8220;Discovering AJAX extender controls&#8230;&#8221; and displays a small progress indicator:<\/p>\n<p><img decoding=\"async\" height=\"612\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2008\/06\/SP1ExtendersProgress.png\" width=\"972\"><\/p>\n<p>If you select a control before&nbsp;applicable extenders are discovered, the control will not display its smart task menu and\/or will not have &#8220;Add Extender&#8230;&#8221; menu item.&nbsp;<\/p>\n<p><img decoding=\"async\" height=\"612\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2008\/06\/SP1ExtendersNoSmartTask.png\" width=\"972\"><\/p>\n<p>Unfortunately, if control is selected, due to architectural limitations&nbsp;we cannot update&nbsp;its smart task availability.&nbsp;Therefore you may have to unselect and reselect the control in order to let it update its smart task menu.<\/p>\n<p><img decoding=\"async\" height=\"610\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2008\/06\/SP1ExtendersAfterDiscovery.png\" width=\"967\"><\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some customers discovered that sometimes switch to Design view was very slow. We analyzed submitted reports and tracked the issue down to a code that&nbsp;was discovering available AJAX Extenders and which contols they were applicable to. In order to avoid unnecessary delays we moved discovery of AJAX extenders to a background thread. This made switch [&hellip;]<\/p>\n","protected":false},"author":404,"featured_media":58792,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197],"tags":[7279,31,7273,7303,147,7302,7292,7267],"class_list":["post-4334","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aspnet","tag-ajax","tag-asp-net","tag-orcas","tag-sp1","tag-visual-studio","tag-visual-studio-2008","tag-vs2008","tag-vwd"],"acf":[],"blog_post_summary":"<p>Some customers discovered that sometimes switch to Design view was very slow. We analyzed submitted reports and tracked the issue down to a code that&nbsp;was discovering available AJAX Extenders and which contols they were applicable to. In order to avoid unnecessary delays we moved discovery of AJAX extenders to a background thread. This made switch [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/4334","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/users\/404"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=4334"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/4334\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/58792"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=4334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=4334"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=4334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}