<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>entwicklungsgedanken &#187; ascx</title>
	<atom:link href="http://www.entwicklungsgedanken.de/tag/ascx/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.entwicklungsgedanken.de</link>
	<description>Verschiedene Gedanken rund um die Softwareentwicklung</description>
	<lastBuildDate>Mon, 09 Jan 2012 14:47:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>[Reminder] How-to add a custom usercontrol with the SharePoint Designer</title>
		<link>http://www.entwicklungsgedanken.de/2008/01/13/reminder-how-to-add-a-custom-usercontrol-with-the-sharepoint-designer/</link>
		<comments>http://www.entwicklungsgedanken.de/2008/01/13/reminder-how-to-add-a-custom-usercontrol-with-the-sharepoint-designer/#comments</comments>
		<pubDate>Sun, 13 Jan 2008 11:44:07 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[SharePoint-Development]]></category>
		<category><![CDATA[Verschiedenes]]></category>
		<category><![CDATA[ascx]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[register]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[usercontrol]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/2008/01/13/reminder-how-to-add-a-custom-usercontrol-with-the-sharepoint-designer/</guid>
		<description><![CDATA[Open the desired page (e.g. DispForm.aspx) with the SharePoint Designer and add the following code below the initial &#8220;&#60;%@ statements&#8221;: &#60;%@ Register TagPrefix=&#34;MyNamePrefix&#34; TagName=&#34;MyNameForTheControl&#34; Src=&#34;~/_controltemplates/MyCustomControls/MyCurrentlyUsedControl.ascx&#34; %&#62; Now add this code where the control should appear in the final rendered page: &#60;MyNamePrefix:MyNameForTheControl ID=&#34;MyNameForTheControl&#34; runat=&#34;server&#34; /&#62; Thats it! Of course your user control must be placed in [...]]]></description>
			<content:encoded><![CDATA[<div class="lang-en"></div>
<p>Open the desired page (e.g. DispForm.aspx) with the SharePoint Designer and add the following code below the initial &#8220;&lt;%@ statements&#8221;:</p>

<div class="wp_syntax"><div class="code"><pre class="asp" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;%</span><span style="color: #006600; font-weight: bold;">@</span> Register TagPrefix<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;MyNamePrefix&quot;</span> TagName<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;MyNameForTheControl&quot;</span>
Src<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;~/_controltemplates/MyCustomControls/MyCurrentlyUsedControl.ascx&quot;</span> <span style="color: #000000; font-weight: bold;">%&gt;</span></pre></div></div>

<p>Now add this code where the control should appear in the final rendered page:</p>

<div class="wp_syntax"><div class="code"><pre class="asp" style="font-family:monospace;"><span style="color: #006600; font-weight: bold;">&lt;</span>MyNamePrefix<span style="color: #006600; font-weight: bold;">:</span>MyNameForTheControl ID<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;MyNameForTheControl&quot;</span> runat<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;server&quot;</span> <span style="color: #006600; font-weight: bold;">/&gt;</span></pre></div></div>

<p>Thats it!</p>
<p>
Of course your user control must be placed in the <em>TEMPLATE/CONTROLTEMPLATES</em> folder (<em>TEMPLATE/CONTROLTEMPLATES/MyCustomControls</em> in this case) of your frontend server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2008/01/13/reminder-how-to-add-a-custom-usercontrol-with-the-sharepoint-designer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

