<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Kommentarer till How to prevent EPiServer to inherit categories to childrenpages</title>
	<atom:link href="http://www.from-rizo.se/2010/01/14/how-to-prevent-episerver-to-inherit-categories-to-childrenpages/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.from-rizo.se/2010/01/14/how-to-prevent-episerver-to-inherit-categories-to-childrenpages/</link>
	<description>A blog that brings up subjects regarding developing web applications, Android applications and gaming overall</description>
	<lastBuildDate>Sat, 04 Feb 2012 18:22:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Av: Berry Harkey</title>
		<link>http://www.from-rizo.se/2010/01/14/how-to-prevent-episerver-to-inherit-categories-to-childrenpages/comment-page-1/#comment-13094</link>
		<dc:creator>Berry Harkey</dc:creator>
		<pubDate>Fri, 09 Sep 2011 18:21:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.from-rizo.se/?p=394#comment-13094</guid>
		<description>It’s laborious to find educated folks on this matter, but you sound like you already know what you’re talking about! Thanks</description>
		<content:encoded><![CDATA[<p>It’s laborious to find educated folks on this matter, but you sound like you already know what you’re talking about! Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Av: Rizo</title>
		<link>http://www.from-rizo.se/2010/01/14/how-to-prevent-episerver-to-inherit-categories-to-childrenpages/comment-page-1/#comment-10512</link>
		<dc:creator>Rizo</dc:creator>
		<pubDate>Thu, 05 May 2011 09:19:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.from-rizo.se/?p=394#comment-10512</guid>
		<description>Thanx for the feedback!</description>
		<content:encoded><![CDATA[<p>Thanx for the feedback!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Av: Ben Edwards</title>
		<link>http://www.from-rizo.se/2010/01/14/how-to-prevent-episerver-to-inherit-categories-to-childrenpages/comment-page-1/#comment-10274</link>
		<dc:creator>Ben Edwards</dc:creator>
		<pubDate>Tue, 26 Apr 2011 08:25:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.from-rizo.se/?p=394#comment-10274</guid>
		<description>Unfortunately, this does not stop the control on the &quot;Categories&quot; tab from being pre-selected.

However, the following, provided by the folks at EPiServer support, does the trick:

protected void Application_Start(Object sender, EventArgs e)
{
   EPiServer.UI.Edit.EditPanel.LoadedPage += new EPiServer.UI.Edit.LoadedPageEventHandler(EditPanel_LoadedPage); 
}

private void EditPanel_LoadedPage(EPiServer.UI.Edit.EditPanel sender, EPiServer.UI.Edit.LoadedPageEventArgs e)
{
  if (e.Page.PageName == string.Empty) e.Page.Property[&quot;PageCategory&quot;].Clear();
}</description>
		<content:encoded><![CDATA[<p>Unfortunately, this does not stop the control on the &#8221;Categories&#8221; tab from being pre-selected.</p>
<p>However, the following, provided by the folks at EPiServer support, does the trick:</p>
<p>protected void Application_Start(Object sender, EventArgs e)<br />
{<br />
   EPiServer.UI.Edit.EditPanel.LoadedPage += new EPiServer.UI.Edit.LoadedPageEventHandler(EditPanel_LoadedPage);<br />
}</p>
<p>private void EditPanel_LoadedPage(EPiServer.UI.Edit.EditPanel sender, EPiServer.UI.Edit.LoadedPageEventArgs e)<br />
{<br />
  if (e.Page.PageName == string.Empty) e.Page.Property["PageCategory"].Clear();<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>

