<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/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>A Simpler Way To Create A Designer For A Templated Control</title><link>http://weblogs.asp.net/asmith/pages/SimpleTemplatedControlDesigner.aspx</link><description>When you make a control that has templates, you have to write a designer which enables the templates to be edited within the designer. And I&amp;#8217;m not talking simple code here. It&amp;#8217;s like a couple hundred lines. When I look at the code required</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>re: A Simpler Way To Create A Designer For A Templated Control</title><link>http://weblogs.asp.net/asmith/pages/SimpleTemplatedControlDesigner.aspx#7248306</link><pubDate>Fri, 06 Nov 2009 13:08:13 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7248306</guid><dc:creator>Prasanna W</dc:creator><author>Prasanna W</author><description>&lt;p&gt;I'm still new to the custom server controls and tried to add your designer in my custom server control. I'm using .Net 3.5 and VS2008&lt;/p&gt;
&lt;p&gt;I tried to use this code as mentioned. But ended up getting a error in CanRenderWithCurrentTemplates()method and reason was TemplateNames string array was empty. I tried to fixed it by adding a condition to check whether TemplateNames array is empty. But that resulted an empty designer. &lt;/p&gt;
&lt;p&gt;Really appriciate if someone can help me on this. thanks in advance. &lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7248306" width="1" height="1"&gt;</description></item><item><title>re: A Simpler Way To Create A Designer For A Templated Control</title><link>http://weblogs.asp.net/asmith/pages/SimpleTemplatedControlDesigner.aspx#6875452</link><pubDate>Mon, 02 Feb 2009 11:45:42 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6875452</guid><dc:creator>Patrick</dc:creator><author>Patrick</author><description>&lt;p&gt;Can you please suggest me how to consume this class from a Template user control. Thank in advance&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6875452" width="1" height="1"&gt;</description></item><item><title>re: A Simpler Way To Create A Designer For A Templated Control</title><link>http://weblogs.asp.net/asmith/pages/SimpleTemplatedControlDesigner.aspx#6839768</link><pubDate>Fri, 16 Jan 2009 16:28:38 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6839768</guid><dc:creator>Felipe Oliveira</dc:creator><author>Felipe Oliveira</author><description>&lt;p&gt;You are the man!&lt;/p&gt;
&lt;p&gt;Thanks for saving me some time. &lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6839768" width="1" height="1"&gt;</description></item><item><title>Buspar.</title><link>http://weblogs.asp.net/asmith/pages/SimpleTemplatedControlDesigner.aspx#6731335</link><pubDate>Wed, 12 Nov 2008 18:36:46 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6731335</guid><dc:creator>Buspar.</dc:creator><author>Buspar.</author><description>&lt;p&gt;Does buspar work. Buying buspar online. Buspar.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6731335" width="1" height="1"&gt;</description></item><item><title>re: A Simpler Way To Create A Designer For A Templated Control</title><link>http://weblogs.asp.net/asmith/pages/SimpleTemplatedControlDesigner.aspx#6697898</link><pubDate>Wed, 22 Oct 2008 14:40:01 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6697898</guid><dc:creator>Chris</dc:creator><author>Chris</author><description>&lt;p&gt;Very nice piece of code you shared. Saved me some time as well. You should consider updating it to .net 3.5&lt;/p&gt;
&lt;p&gt;Thanks again, and best wishes.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6697898" width="1" height="1"&gt;</description></item><item><title>re: A Simpler Way To Create A Designer For A Templated Control</title><link>http://weblogs.asp.net/asmith/pages/SimpleTemplatedControlDesigner.aspx#4544556</link><pubDate>Fri, 12 Oct 2007 19:17:30 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:4544556</guid><dc:creator>Rob</dc:creator><author>Rob</author><description>&lt;p&gt;Come on! No comments since 2004? I think this is great, thanks Andy. This is a solution that I've been looking for in a couple of my controls. Kudos.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=4544556" width="1" height="1"&gt;</description></item><item><title>.::Szőkelizer 3::.</title><link>http://weblogs.asp.net/asmith/pages/SimpleTemplatedControlDesigner.aspx#395785</link><pubDate>Thu, 24 Mar 2005 15:10:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:395785</guid><dc:creator>TrackBack</dc:creator><author>TrackBack</author><description>&amp;lt;p&amp;gt;&amp;amp;lt;UL&amp;amp;gt; &amp;amp;lt;LI&amp;amp;gt;&amp;amp;lt;A href=&amp;amp;quot;http://weblogs.asp.net/express/&amp;amp;quot; target=_blank&amp;amp;gt;Blog az expressről&amp;amp;lt;/A&amp;amp;gt;&amp;amp;lt;/LI&amp;amp;gt; &amp;amp;lt;LI&amp;amp;gt;&amp;amp;lt;A href=&amp;amp;quot;http://weblogs.asp.net/asmith/articles/SimpleTemplatedControlDesigner.aspx&amp;amp;quot; target=_bl&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=395785" width="1" height="1"&gt;</description></item><item><title>Slap A Designer on Your Templated Control</title><link>http://weblogs.asp.net/asmith/pages/SimpleTemplatedControlDesigner.aspx#265734</link><pubDate>Thu, 18 Nov 2004 18:33:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:265734</guid><dc:creator>TrackBack</dc:creator><author>TrackBack</author><description>&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=265734" width="1" height="1"&gt;</description></item><item><title /><link>http://weblogs.asp.net/asmith/pages/SimpleTemplatedControlDesigner.aspx#214676</link><pubDate>Sun, 15 Aug 2004 00:33:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:214676</guid><dc:creator>TrackBack</dc:creator><author>TrackBack</author><description>&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=214676" width="1" height="1"&gt;</description></item><item><title>Hello .Text Blogosphere</title><link>http://weblogs.asp.net/asmith/pages/SimpleTemplatedControlDesigner.aspx#214312</link><pubDate>Fri, 13 Aug 2004 20:58:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:214312</guid><dc:creator>TrackBack</dc:creator><author>TrackBack</author><description>&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=214312" width="1" height="1"&gt;</description></item></channel></rss>