<?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>Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx</link><description>If you have worked a lot with MOSS you probably know how to make new page layouts. But if you create new page layouts you might sometimes wonder that how could I add some common functionalities to my page layout pages. One example could be localization.</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Links (4/15/2007) &amp;laquo; Steve Pietrek&amp;#8217;s SharePoint Weblog</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#2148291</link><pubDate>Mon, 16 Apr 2007 03:33:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2148291</guid><dc:creator>Links (4/15/2007) « Steve Pietrek’s SharePoint Weblog</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://stevepietrekweblog.wordpress.com/2007/04/15/links-4152007/"&gt;http://stevepietrekweblog.wordpress.com/2007/04/15/links-4152007/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#2269419</link><pubDate>Wed, 25 Apr 2007 11:44:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2269419</guid><dc:creator>koen</dc:creator><description>&lt;p&gt;Hello Janne,&lt;/p&gt;
&lt;p&gt;Thanks for that great article. But I'm still strugling with a couple of things :(. I inherited my page from the custom PublishingLayoutPageEx and it wend fine, All sharePoint words became in the right language exept the webparts?. All webparts stay in english despite what culture you using, is that normal? Or is a webparts rendered differently than the Page?&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#2281065</link><pubDate>Thu, 26 Apr 2007 08:04:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2281065</guid><dc:creator>jannemattila</dc:creator><description>&lt;p&gt;Hi koen!&lt;/p&gt;
&lt;p&gt;Web parts don't differ in that sense that if their made using resources, then they work fine. &lt;/p&gt;
&lt;p&gt;Here's an example:&lt;/p&gt;
&lt;p&gt;writer.Write(&amp;quot;Resource: &amp;quot; + HttpContext.GetGlobalResourceObject(&amp;quot;Example&amp;quot;,&amp;quot;House&amp;quot;).ToString() + &amp;quot;&amp;lt;br/&amp;gt;&amp;quot;);&lt;/p&gt;
&lt;p&gt;If you add that to you web part then you get example same text than in your page. &lt;/p&gt;
&lt;p&gt;What is the exact web part your having problems with? It could be that it's using XSL Style Sheets and there is hardcoded text. Is that web part your own or OOB web part?&lt;/p&gt;
&lt;p&gt;I hope my answer helped a little bit. Feel free to ping me if you didn't get the idea.&lt;/p&gt;
&lt;p&gt;Anyways... Happy hacking!&lt;/p&gt;
&lt;p&gt;J&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#2285361</link><pubDate>Thu, 26 Apr 2007 14:18:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2285361</guid><dc:creator>Koen</dc:creator><description>&lt;p&gt;Hi janne,&lt;/p&gt;
&lt;p&gt;First of all, thanks for the quick response :).&lt;/p&gt;
&lt;p&gt;I'm not using a custom webpart. Instead I inserted a view of the common task list on the page and this view will always stay in english, nomatter what culture you set your thread to. Really strange.&lt;/p&gt;
&lt;p&gt;If you go and look at the structure of the task list (feature at C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\TasksList\Tasks\Schema.xml) you can see it uses resources stored in C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\Resources.&lt;/p&gt;
&lt;p&gt;I have installed multiple language packs on my SHarepoint server so that every resource file is there in different language but for some strange reason it refuses to use it :).&lt;/p&gt;
&lt;p&gt;If I use variations, it will translate the tasklist in different languages but the problem is that I can use only one tasklist and that's wy I used your solution.&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#2290454</link><pubDate>Fri, 27 Apr 2007 00:41:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2290454</guid><dc:creator>jannemattila</dc:creator><description>&lt;p&gt;Hi Koen!&lt;/p&gt;
&lt;p&gt;Thanks for asking because it was really nice to dig on this one. I like to solve problems and this was definately a nice one :-)&lt;/p&gt;
&lt;p&gt;Okay.. I'll explain what I did. &lt;/p&gt;
&lt;p&gt;1) I first verified your problem by creating same situation. And you're absolutely right! Web Parts don't actually change texts :(&lt;/p&gt;
&lt;p&gt;2) Started digging with .resx files and DLLs with Reflector.&lt;/p&gt;
&lt;p&gt;3) Noticed that behind the scenes there is CoreResources class that handles translations. And if you look at the following code, does this ring a bell on you:&lt;/p&gt;
&lt;p&gt;static CoreResource()&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;_aIntl = Assembly.Load(&amp;quot;Microsoft.SharePoint.intl, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&amp;quot;);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;_SPRM = new ResourceManager(&amp;quot;Microsoft.SharePoint&amp;quot;, _aIntl);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;_WebPartPageRM = new ResourceManager(&amp;quot;Microsoft.SharePoint.WebPartPages.strings&amp;quot;, _aIntl);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;4) You start wondering why there is _WebPartPageRM (and is different from the other texts) and where are those text then.&lt;/p&gt;
&lt;p&gt;5) Take Reflector and open &amp;quot;Microsoft.SharePoint.intl, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&amp;quot;. Under it there is Resources and of course: Microsoft.SharePoint.WebPartPages.strings.resources.&lt;/p&gt;
&lt;p&gt;6) Search text that you know some web part page uses &lt;/p&gt;
&lt;p&gt;7) You have found the place for your text.&lt;/p&gt;
&lt;p&gt;Okay.. so now we have this &amp;quot;neutral&amp;quot; dll where are resources. But I don't have access to systems that has multiple languages installed, so I don't know that is that DLL available for different cultures. &lt;/p&gt;
&lt;p&gt;I hope that this gives you the answer your looking for... If you can dig your system too and you could give me feedback that you have verified my idea.&lt;/p&gt;
&lt;p&gt;Anyways... Happy hacking!&lt;/p&gt;
&lt;p&gt;J&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#2290495</link><pubDate>Fri, 27 Apr 2007 00:44:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2290495</guid><dc:creator>jannemattila</dc:creator><description>&lt;p&gt;I just wanted to add a note for my previous comment: &amp;quot;Web Parts don't actually change texts&amp;quot;. But of course your own web parts change languages if you use resources :-) Just to make this clear.&lt;/p&gt;
&lt;p&gt;J&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#2300605</link><pubDate>Fri, 27 Apr 2007 18:52:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2300605</guid><dc:creator>Koen</dc:creator><description>&lt;p&gt;Janne,&lt;/p&gt;
&lt;p&gt;You are right, I have found the CoreResource en the resource DLL's.&lt;/p&gt;
&lt;p&gt;In a multilingual environment, you have a dll for each language:&lt;/p&gt;
&lt;p&gt;Microsoft.SharePoint.intl.dll --&amp;gt;&lt;/p&gt;
&lt;p&gt;Microsoft.SharePoint.resources&lt;/p&gt;
&lt;p&gt;Microsoft.SharePoint.WebPartPages.strings.resources&lt;/p&gt;
&lt;p&gt;microsoft.sharepoint.intl.resources.dll Language Dutch) &amp;nbsp;--&amp;gt;&lt;/p&gt;
&lt;p&gt;Microsoft.SharePoint.nl.resources&lt;/p&gt;
&lt;p&gt;Microsoft.SharePoint.WebPartPages.strings.nl.resources&lt;/p&gt;
&lt;p&gt;microsoft.sharepoint.intl.resources.dll Language French) &amp;nbsp;--&amp;gt;&lt;/p&gt;
&lt;p&gt;Microsoft.SharePoint.fr.resources&lt;/p&gt;
&lt;p&gt;Microsoft.SharePoint.WebPartPages.strings.fr.resources&lt;/p&gt;
&lt;p&gt;When I look at the resource string of a common task list, for instance the Priority field, you have following schema:&lt;/p&gt;
&lt;p&gt;&amp;lt;Field ID=&amp;quot;{a8eb573e-9e11-481a-a8c9-1104a54b2fbd}&amp;quot; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Type=&amp;quot;Choice&amp;quot; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Name=&amp;quot;Priority&amp;quot; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;DisplayName=&amp;quot;$Resources:core,Priority;&amp;quot; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;SourceID=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://schemas.microsoft.com/sharepoint/v3&amp;quot;"&gt;http://schemas.microsoft.com/sharepoint/v3&amp;quot;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;StaticName=&amp;quot;Priority&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;!-- _locID@DisplayName=&amp;quot;camlidT2&amp;quot; _locComment=&amp;quot; &amp;quot; --&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;CHOICES&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;CHOICE&amp;gt;$Resources:core,Priority_High;&amp;lt;/CHOICE&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;CHOICE&amp;gt;$Resources:core,Priority_Normal;&amp;lt;/CHOICE&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;CHOICE&amp;gt;$Resources:core,Priority_Low;&amp;lt;/CHOICE&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;/CHOICES&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;MAPPINGS&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;MAPPING Value=&amp;quot;1&amp;quot;&amp;gt;$Resources:core,Priority_High;&amp;lt;/MAPPING&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;MAPPING Value=&amp;quot;2&amp;quot;&amp;gt;$Resources:core,Priority_Normal;&amp;lt;/MAPPING&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;MAPPING Value=&amp;quot;3&amp;quot;&amp;gt;$Resources:core,Priority_Low;&amp;lt;/MAPPING&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;/MAPPINGS&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;Default&amp;gt;$Resources:core,Priority_Normal;&amp;lt;/Default&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/Field&amp;gt;&lt;/p&gt;
&lt;p&gt;So, when I search for Priority_High, Priority_Normal, Priority_Low, I found nothing in the resource files.&lt;/p&gt;
&lt;p&gt;I can found it back in the resource file &lt;/p&gt;
&lt;p&gt;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\Resources\core.resx&lt;/p&gt;
&lt;p&gt;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\Resources\corecore.nl-nl.resx&lt;/p&gt;
&lt;p&gt;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\Resources\corecore.fr-fr.resx&lt;/p&gt;
&lt;p&gt;Also, I have seen that, like you said, there is a clear difference between plain SharePoint and a sharepoint WebPartPage&lt;/p&gt;
&lt;p&gt;internal static string GetString(CultureInfo culture, ResourceGroup rg, string name, params object[] values)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;string text = null;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;StringBuilder builder;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;int num3;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;switch (rg)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case ResourceGroup.SharePoint:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;text = _SPRM.GetString(name, culture);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case ResourceGroup.WebPartPage:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;text = _WebPartPageRM.GetString(name, culture);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;So, I followed the trace from above in the listviewWebpart but so far I don't see it yet.&lt;/p&gt;
&lt;p&gt;I keep you posted, I hope you will do it also&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Koen&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#3584596</link><pubDate>Thu, 28 Jun 2007 16:52:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3584596</guid><dc:creator>Andy H</dc:creator><description>&lt;p&gt;Hi Janne&lt;/p&gt;
&lt;p&gt;I'm having a few problems with this. &amp;nbsp;Firstly I'm at the point where it's time to register in the GAC. &amp;nbsp;Is it possible to register this Class Library in the bin folder of the web application (site collection) rather than in the GAC? &amp;nbsp;I've tried placing the dll (which is strong named) into \Inetpub\wwwroot\wss\VirtualDirectories\MyApp\bin folder and putting the entry in the web.config with the correct details (including the PublicKeyToken) but I get the Parser Error you show above still.&lt;/p&gt;
&lt;p&gt;We have been able to get our webparts working by doing the above.&lt;/p&gt;
&lt;p&gt;I thought I'd try registering it in the GAC on the server, but my first hurdle was that the gacutil was for version 1.1 only and would not accept it. &amp;nbsp;The admin control panels also only have the 1.1 .net configuration control panel. &amp;nbsp;Obviously .net 2 is on there (as SP is running) but I've double checked IIS which confirms it is using 2.0.&lt;/p&gt;
&lt;p&gt;I've copied up gacutil for 2.0 and it says it is registering it, but does not appear in the list (and I still get this parser error). &amp;nbsp; Any ideas?&lt;/p&gt;
&lt;p&gt;Preferably I'd like to get this class running from the web bin.&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#3585393</link><pubDate>Thu, 28 Jun 2007 17:47:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3585393</guid><dc:creator>Andy H</dc:creator><description>&lt;p&gt;I've been able to get it into the GAC now, but I release the error I am getting is different to the one on this page. &amp;nbsp;I get this error in all cases...&lt;/p&gt;
&lt;p&gt;Parser Error &lt;/p&gt;
&lt;p&gt;Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. &lt;/p&gt;
&lt;p&gt;Parser Error Message: Could not load the assembly &amp;quot;...&amp;quot;&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#3598025</link><pubDate>Fri, 29 Jun 2007 08:54:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3598025</guid><dc:creator>jannemattila</dc:creator><description>&lt;p&gt;Hi Andy!&lt;/p&gt;
&lt;p&gt;So now your're having the &amp;quot;Could not load the assembly&amp;quot; error? I think you get the error because it's not probably installed to the GAC. Did you use Visual Studio Command prompt and GACUTIL /i your_assembly_here? And did you verify that version number of gacutil is &amp;quot;Version 2.0.50727.42&amp;quot;? Or how did you install it to gac? &lt;/p&gt;
&lt;p&gt;Because if it's installed to GAC properly and that &amp;quot;Inherits=...&amp;quot; part is also correctly set in page layout then this should be fine.&lt;/p&gt;
&lt;p&gt;Please give comment if that didn't solve your problem.&lt;/p&gt;
&lt;p&gt;Anyways... happy hacking!&lt;/p&gt;
&lt;p&gt;J&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#3599710</link><pubDate>Fri, 29 Jun 2007 11:06:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3599710</guid><dc:creator>Andy H</dc:creator><description>&lt;p&gt;Hi Janne, the server I am installing to was missing the v 2.0.5... gacutil but I copied a version of it to the server and used:&lt;/p&gt;
&lt;p&gt;gacutil -i MyCompany.PublishingLayoutPageEx.dll&lt;/p&gt;
&lt;p&gt;which reported it was OK. &amp;nbsp;I did gacutil -l MyCompany.PublishingLayoutPageEx and it showed up.&lt;/p&gt;
&lt;p&gt;In my layout page (I made a copy of Article Left and modified that) I changed the top to read:&lt;/p&gt;
&lt;p&gt;&amp;lt;%@ Page language=&amp;quot;C#&amp;quot; Inherits=&amp;quot;MyCompany.PublishingLayoutPageEx,MyCompany,Version=1.0.0.0,Culture=neutral,PublicKeyToken=1294058909b4416a&amp;quot; %&amp;gt;&lt;/p&gt;
&lt;p&gt;The PublicKeyToken is correct (checked with Net Reflector).&lt;/p&gt;
&lt;p&gt;In VS2005 I have this:&lt;/p&gt;
&lt;p&gt;using System;&lt;/p&gt;
&lt;p&gt;using System.Collections.Generic;&lt;/p&gt;
&lt;p&gt;using System.Text;&lt;/p&gt;
&lt;p&gt;using System.Web.UI;&lt;/p&gt;
&lt;p&gt;using Microsoft.SharePoint.Publishing;&lt;/p&gt;
&lt;p&gt;using Microsoft.SharePoint;&lt;/p&gt;
&lt;p&gt;namespace MyCompany&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;public class PublishingLayoutPageEx : PublishingLayoutPage&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public PublishingLayoutPageEx() : base()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;And I have added references to System.Web and the two sharepoint dll's.&lt;/p&gt;
&lt;p&gt;My AssemblyInfo.cs properties show Assembly name: MyCompany.PublishingLayoutPageEx and Default namespace as MyCompany.&lt;/p&gt;
&lt;p&gt;I am new to both SharePoint and .NET but the instructions on your blog are clear enough and I'm not sure what I might be missing or doing wrong. &amp;nbsp;Even after an iisreset I get that error with &amp;quot;Could not load the assembly&amp;quot;.&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#3599946</link><pubDate>Fri, 29 Jun 2007 11:16:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3599946</guid><dc:creator>jannemattila</dc:creator><description>&lt;p&gt;Hi Andy!&lt;/p&gt;
&lt;p&gt;It seems that there is conflict with these two:&lt;/p&gt;
&lt;p&gt;MyCompany.PublishingLayoutPageEx.dll&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;Inherits=&amp;quot;MyCompany.PublishingLayoutPageEx,MyCompany,Version=1.0.0.0,...&lt;/p&gt;
&lt;p&gt;I think the Inherits should be:&lt;/p&gt;
&lt;p&gt;MyCompany.PublishingLayoutPageEx,MyCompany.PublishingLayoutPageEx,...&lt;/p&gt;
&lt;p&gt;(just add &amp;quot;.PublishingLayoutPageEx&amp;quot;)&lt;/p&gt;
&lt;p&gt;That looks like the problem... But you're close the finish line already :-)&lt;/p&gt;
&lt;p&gt;Anyways.. happy hacking!&lt;/p&gt;
&lt;p&gt;J&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#3600143</link><pubDate>Fri, 29 Jun 2007 11:38:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3600143</guid><dc:creator>Andy H</dc:creator><description>&lt;p&gt;Thank you so much Janne&lt;/p&gt;
&lt;p&gt;I'm getting closer. &amp;nbsp;I'm now getting &amp;quot;Parser Error Message: Could not load type&amp;quot; so at least it is being recognised now and I can go back over my previous steps to check its all set up correctly.&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#3600742</link><pubDate>Fri, 29 Jun 2007 12:37:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3600742</guid><dc:creator>Andy H</dc:creator><description>&lt;p&gt;Got it more or less sorted now. &amp;nbsp;For information on my last problem, that was caused by an error in case (Mycompany v MyCompany).&lt;/p&gt;
&lt;p&gt;Thank you so much for the help, I wonder if I could ask one more question. &amp;nbsp;In SharePoint designer, the copy of ArticleLeft.aspx I created is stating &amp;quot;Master Page error &amp;nbsp; - &amp;nbsp; The page has controls that require a Master Page reference, but none is specified. &amp;nbsp;Attach a Master Page, or correct the problem in Code View.&amp;quot;&lt;/p&gt;
&lt;p&gt;Attach a Master Page is a link but does not do anything and Code View is a link and highlights my &amp;lt;@ Page line at the top.&lt;/p&gt;
&lt;p&gt;I should add that currently my DLL sits in the sites bin folder and not the GAC as I originally wanted it just for my site collection and not anything else on the server, is the the problem or should I be looking elsewhere?&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#3600813</link><pubDate>Fri, 29 Jun 2007 12:44:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3600813</guid><dc:creator>jannemattila</dc:creator><description>&lt;p&gt;Hi Andy!&lt;/p&gt;
&lt;p&gt;You can define the master page at the Page directive like this:&lt;/p&gt;
&lt;p&gt;... MasterPageFile=&amp;quot;~/_layouts/default.master&amp;quot; ...&lt;/p&gt;
&lt;p&gt;After that SPD should be fine with it.&lt;/p&gt;
&lt;p&gt;I think you can just deploy to your bin. I don't see any problems with that.&lt;/p&gt;
&lt;p&gt;Anyways... happy hacking!&lt;/p&gt;
&lt;p&gt;J&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#3890031</link><pubDate>Mon, 16 Jul 2007 07:51:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3890031</guid><dc:creator>Myo Thaw Tun</dc:creator><description>&lt;p&gt;Dear Janne,&lt;/p&gt;
&lt;p&gt;I want to publish the News articles without text formatting.&lt;/p&gt;
&lt;p&gt;I mean I want to modify ArticleLeft.aspx PageLayout to display Left aligned image and text only.&lt;/p&gt;
&lt;p&gt;MOSS users can make news entries with Image on the left template.&lt;/p&gt;
&lt;p&gt;They may copy some news and texts from Internet and paste them into the content of news entry.&lt;/p&gt;
&lt;p&gt;But there would be text formatting at that entries. What I need to do is to display only Image with text without formatting.&lt;/p&gt;
&lt;p&gt;Is it possible to create new PageLayout to display like that? Can you give me some ideas how to do?&lt;/p&gt;
&lt;p&gt;Please kindly advice me. I hope your reply.&lt;/p&gt;
&lt;p&gt;Myo&lt;/p&gt;
</description></item><item><title>Extend The PublishingLayoutPage Class - Create Your Own to Run Code in the 'Page'</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#4648301</link><pubDate>Thu, 30 Aug 2007 18:22:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4648301</guid><dc:creator>Sezai's MOSS 2007 blog</dc:creator><description>&lt;p&gt;This is powerful stuff, and thanks to this I can do a lot more powerful MOSS WCM custom development.&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#4995485</link><pubDate>Wed, 19 Sep 2007 13:12:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4995485</guid><dc:creator>Kristian</dc:creator><description>&lt;p&gt;I was wondering if you had tried to do the masterpage change using a custom HttpModule? I have been trying to do it using the following code:&lt;/p&gt;
&lt;p&gt;public class Hook : IHttpModule&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;public void Init(HttpApplication context)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;context.PreRequestHandlerExecute += new EventHandler(context_PreRequestHandlerExecute);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;void context_PreRequestHandlerExecute(object sender, EventArgs e)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Page page;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IHttpHandler handler = HttpContext.Current.Handler;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;page = handler as Page;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (page != null)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;page.PreInit += new EventHandler(page_PreInit);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;void page_PreInit(object sender, EventArgs e)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Page page = sender as Page;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (page != null)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string strUrl = &amp;quot;/Docs/_catalogs/masterpage/&amp;quot;;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SPWeb web = SPControl.GetContextSite(HttpContext.Current).OpenWeb();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SPUser user = web.CurrentUser;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (user == null)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;strUrl = &amp;quot;&amp;quot;;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;strUrl += &amp;quot;BlueBand.master&amp;quot;;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (strUrl.Length &amp;gt; 0)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;page.MasterPageFile = strUrl;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;public void Dispose()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;I works like a charm on wss 3.0, but MOSS publishing pages just ignores it. The preInit event hook is set on the page, but it is never called. I'm all out of ideas, any comments would be greatly appreciated.&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#5643580</link><pubDate>Wed, 24 Oct 2007 10:47:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5643580</guid><dc:creator>Martin</dc:creator><description>&lt;p&gt;Hello Janne,&lt;/p&gt;
&lt;p&gt;I am interested in the code to change the PageLayout associated with a PublishingPage.&lt;/p&gt;
&lt;p&gt;To my mind, the PublishingPage represents the data, and the PageLayout represents the view on that data.&lt;/p&gt;
&lt;p&gt;Consequently the view should be selectable dynamically. &amp;nbsp;I would expect to be able to place webparts on the PageLayout aspx page which connected to Field Values from the PublishingPage via FieldControls. &amp;nbsp;Thus the overall content displayed on a Publishing page would include PublishingPage columns, and adhoc data from else where, via connected web parts. &amp;nbsp;I would expect to control rights to the edit the web parts discretely from the rights to edit the columns of a PublishingPage via a PageLayout page (ie someone may be able to edit web parts, but not the PublishingPage data, and vice versa).&lt;/p&gt;
&lt;p&gt;However I have two concerns over whether I am off track with these thoughts:&lt;/p&gt;
&lt;p&gt;1) I not sure how to select the PageLayout dynamically at render time. &amp;nbsp;The closest I have got is to derive from the TemplateRedirectionPage, and set the PublishingPage.Layout property in it's PreInit event (somehow).&lt;/p&gt;
&lt;p&gt;2) An article &amp;quot;How to Upgrade an Area based on a Custom Site Definition&amp;quot; at says &amp;quot;Webpart associations are also based on the actual publishing page&amp;quot; &amp;nbsp;I am not sure of the consequences of this.&lt;/p&gt;
&lt;p&gt;I would be very interested to have your response to this.&lt;/p&gt;
&lt;p&gt;Many Thanks&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#5883178</link><pubDate>Sun, 04 Nov 2007 14:43:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5883178</guid><dc:creator>Faizur</dc:creator><description>&lt;p&gt;Kristian, did u find a solution to the problem? I am having the same issue&lt;/p&gt;
</description></item><item><title>Don't miss Asp.net code with moss</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#6400140</link><pubDate>Mon, 19 Nov 2007 16:19:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6400140</guid><dc:creator>On the MOSS Road</dc:creator><description>&lt;p&gt;I found a great article Janne Mattila. discuses that if the layout page just inherit from Microsoft.SharePoint.Publishing.PublishingLayoutPage...&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#7053580</link><pubDate>Thu, 10 Jan 2008 13:22:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7053580</guid><dc:creator>Egholm</dc:creator><description>&lt;p&gt;great article.....helped med a lot&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#7798109</link><pubDate>Tue, 19 Feb 2008 20:38:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7798109</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;namespace Microsoft.MCS.Common &lt;/p&gt;
&lt;p&gt; &amp;nbsp;{ &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;public class PublishingLayoutPageEx : PublishingLayoutPage &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;{ &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;public PublishingLayoutPageEx() &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: base() &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;{ &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;} &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;} &lt;/p&gt;
&lt;p&gt; &amp;nbsp;} &lt;/p&gt;
&lt;p&gt;I am getting bellow error &amp;nbsp; &amp;quot; : base() &amp;quot; in this line &lt;/p&gt;
&lt;p&gt;Could not load file or assembly 'Microsoft.SharePoint.Library, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#7819223</link><pubDate>Wed, 20 Feb 2008 18:14:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7819223</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;PublishingLayoutPage vs. WebPartPage&lt;/p&gt;
&lt;p&gt;U cannot always inherit from PublishingLayoutPage, &amp;nbsp;If you are not using &amp;nbsp; Default. Master&lt;/p&gt;
&lt;p&gt;Read this article &lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.msdner.net/dev-archive/117/328-1202-1177874.shtm"&gt;http://www.msdner.net/dev-archive/117/328-1202-1177874.shtm&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#7909442</link><pubDate>Tue, 26 Feb 2008 23:47:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7909442</guid><dc:creator>aaronnaas</dc:creator><description>&lt;p&gt;Thanks for the tip on PublishingLayoutPage changing the MasterPageFile on OnPreInit(). See how I changed it back in my Page scope OnPreInit() override.&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#8399277</link><pubDate>Wed, 16 Apr 2008 20:51:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8399277</guid><dc:creator>shareuser</dc:creator><description>&lt;p&gt;Thanks for this article. very helpful.&lt;/p&gt;
&lt;p&gt;Sorry, I have a basic question -- where do i get the class library project template from? do you mean &amp;nbsp; any regular class? I am trying to understand, what would i need to start working on this.&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;
</description></item><item><title>How We Did It - Australia National Native Title Tribunal website - advanced web content management</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#8555754</link><pubDate>Wed, 28 May 2008 04:45:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8555754</guid><dc:creator>Microsoft SharePoint Products and Technologies Team Blog</dc:creator><description>&lt;p&gt;Overview The National Native Title Tribunal of Australia assists people to resolve native title issues&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#9410919</link><pubDate>Tue, 10 Feb 2009 20:14:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9410919</guid><dc:creator>Alex Talarico</dc:creator><description>&lt;p&gt;i couldnt get your Print trick to work. For one, the page (either master page or page layout) says that there is no suitable method to override for OnPreInit so I tried Page_PreInit instead. This didnt work on the master page and while it executed on the page layout it did not change my master page. Is there an update call missing? did you test your code?&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#9410971</link><pubDate>Tue, 10 Feb 2009 20:39:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9410971</guid><dc:creator>Alex Talarico</dc:creator><description>&lt;p&gt;oops - it works, I just didnt read the first half of the article and jumped to the code :-/ sorry!&lt;/p&gt;
</description></item><item><title>re: Adding functionalities to pages by inheriting PublishingLayoutPage</title><link>http://blogs.msdn.com/jannemattila/archive/2007/04/14/adding-functionalities-to-pages-by-inheriting-publishingpagelayout.aspx#9617587</link><pubDate>Fri, 15 May 2009 05:42:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9617587</guid><dc:creator>Sathya</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;Please correct me if I am wrong. &amp;nbsp;What I under stand from above is that this would work for custom webparts but not for OOB webparts. &amp;nbsp;&lt;/p&gt;
</description></item></channel></rss>