<?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>Comments on: Inconvenient PublishingScheduleControl</title>
	<atom:link href="http://blog.mastykarz.nl/inconvenient-publishingschedulecontrol/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mastykarz.nl/inconvenient-publishingschedulecontrol/</link>
	<description>Innovation Matters &#124; SharePoint Server MVP</description>
	<lastBuildDate>Sun, 14 Mar 2010 02:01:59 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Sander Schutten</title>
		<link>http://blog.mastykarz.nl/inconvenient-publishingschedulecontrol/comment-page-1/#comment-39239</link>
		<dc:creator>Sander Schutten</dc:creator>
		<pubDate>Mon, 04 Jan 2010 13:33:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/inconvenient-publishingschedulecontrol/#comment-39239</guid>
		<description>Microsoft gives a (crappy) workaround: http://support.microsoft.com/kb/940957</description>
		<content:encoded><![CDATA[<p>Microsoft gives a (crappy) workaround: <a href="http://support.microsoft.com/kb/940957" rel="nofollow">http://support.microsoft.com/kb/940957</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sander Schutten</title>
		<link>http://blog.mastykarz.nl/inconvenient-publishingschedulecontrol/comment-page-1/#comment-39238</link>
		<dc:creator>Sander Schutten</dc:creator>
		<pubDate>Mon, 04 Jan 2010 13:32:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/inconvenient-publishingschedulecontrol/#comment-39238</guid>
		<description>The official solution (a workround) is described here: http://support.microsoft.com/kb/940957
The workaround is somewhat useless.</description>
		<content:encoded><![CDATA[<p>The official solution (a workround) is described here: <a href="http://support.microsoft.com/kb/940957" rel="nofollow">http://support.microsoft.com/kb/940957</a><br />
The workaround is somewhat useless.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://blog.mastykarz.nl/inconvenient-publishingschedulecontrol/comment-page-1/#comment-28797</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Fri, 25 Sep 2009 05:11:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/inconvenient-publishingschedulecontrol/#comment-28797</guid>
		<description>@Paul: you should add the scheduling controls inside an Edit Panel. If you want to know how it works exactly, you can examine one of the standard Page Layouts like ArticleLeft.aspx.</description>
		<content:encoded><![CDATA[<p>@Paul: you should add the scheduling controls inside an Edit Panel. If you want to know how it works exactly, you can examine one of the standard Page Layouts like ArticleLeft.aspx.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://blog.mastykarz.nl/inconvenient-publishingschedulecontrol/comment-page-1/#comment-28796</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Fri, 25 Sep 2009 04:58:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/inconvenient-publishingschedulecontrol/#comment-28796</guid>
		<description>I can\&#039;t work out how to get the scheduling controls onto my article page layout. They\&#039;re not there by default and I\&#039;d assumed they would be added at run-time once scheduling was enabled on the library.

I added them myself in SharePoint Designer but then I have the problem that they also display on the publsihed version!

Am I missing something here??</description>
		<content:encoded><![CDATA[<p>I can\&#039;t work out how to get the scheduling controls onto my article page layout. They\&#039;re not there by default and I\&#039;d assumed they would be added at run-time once scheduling was enabled on the library.</p>
<p>I added them myself in SharePoint Designer but then I have the problem that they also display on the publsihed version!</p>
<p>Am I missing something here??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://blog.mastykarz.nl/inconvenient-publishingschedulecontrol/comment-page-1/#comment-28602</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Tue, 22 Sep 2009 18:16:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/inconvenient-publishingschedulecontrol/#comment-28602</guid>
		<description>@Anthony: This code compiles:

using System.Web.UI.Adapters;
using Microsoft.SharePoint.Publishing.WebControls;
using Microsoft.SharePoint.WebControls;

namespace ClassLibrary
{
  public class PublishingScheduleFieldControlAdapter : ControlAdapter
  {
    protected override void CreateChildControls()
    {
      base.CreateChildControls();

      BaseFieldControl schedulerFieldControl = Control as BaseFieldControl;
      if (schedulerFieldControl.CssClass.Contains(&quot;UseAsEndDate&quot;))
      {
        PublishingScheduleControl scheduler = schedulerFieldControl.Controls[0] as PublishingScheduleControl;
        if (scheduler != null)
        {
          scheduler.UseAsEndDate = true;
        }
      }
    }
  }
}</description>
		<content:encoded><![CDATA[<p>@Anthony: This code compiles:</p>
<p>using System.Web.UI.Adapters;<br />
using Microsoft.SharePoint.Publishing.WebControls;<br />
using Microsoft.SharePoint.WebControls;</p>
<p>namespace ClassLibrary<br />
{<br />
  public class PublishingScheduleFieldControlAdapter : ControlAdapter<br />
  {<br />
    protected override void CreateChildControls()<br />
    {<br />
      base.CreateChildControls();</p>
<p>      BaseFieldControl schedulerFieldControl = Control as BaseFieldControl;<br />
      if (schedulerFieldControl.CssClass.Contains(&#034;UseAsEndDate&#034;))<br />
      {<br />
        PublishingScheduleControl scheduler = schedulerFieldControl.Controls[0] as PublishingScheduleControl;<br />
        if (scheduler != null)<br />
        {<br />
          scheduler.UseAsEndDate = true;<br />
        }<br />
      }<br />
    }<br />
  }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony Southworth</title>
		<link>http://blog.mastykarz.nl/inconvenient-publishingschedulecontrol/comment-page-1/#comment-28580</link>
		<dc:creator>Anthony Southworth</dc:creator>
		<pubDate>Tue, 22 Sep 2009 11:58:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/inconvenient-publishingschedulecontrol/#comment-28580</guid>
		<description>Hi Waldek,

I&#039;m trying to use your solution with the app_code folder but I&#039;m getting an error PublishingScheduleControl is not defined. Which namespaces are you importing?</description>
		<content:encoded><![CDATA[<p>Hi Waldek,</p>
<p>I&#039;m trying to use your solution with the app_code folder but I&#039;m getting an error PublishingScheduleControl is not defined. Which namespaces are you importing?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter vd Berg</title>
		<link>http://blog.mastykarz.nl/inconvenient-publishingschedulecontrol/comment-page-1/#comment-22649</link>
		<dc:creator>Peter vd Berg</dc:creator>
		<pubDate>Tue, 30 Jun 2009 09:55:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/inconvenient-publishingschedulecontrol/#comment-22649</guid>
		<description>@Waldek. My situation is the same as you described in je first part \&quot;The process is as simple as enabling versioning, approval and items scheduling on the Pages Library and editing the desired publication and expiration dates on the Publishing Page.\&quot;. I don\&#039;t use extra workflow scheme\&#039;s. But thx for you solution anyway because it gave me new insights in this matter.</description>
		<content:encoded><![CDATA[<p>@Waldek. My situation is the same as you described in je first part \&quot;The process is as simple as enabling versioning, approval and items scheduling on the Pages Library and editing the desired publication and expiration dates on the Publishing Page.\&quot;. I don\&#039;t use extra workflow scheme\&#039;s. But thx for you solution anyway because it gave me new insights in this matter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://blog.mastykarz.nl/inconvenient-publishingschedulecontrol/comment-page-1/#comment-22562</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Mon, 29 Jun 2009 15:00:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/inconvenient-publishingschedulecontrol/#comment-22562</guid>
		<description>@Peter vd Berg: as far as I can tell the UseAsEndDate property is being used for more than rendering the label only. Although I haven&#039;t experienced the issue you have described (having to do with the fact that most customers don&#039;t use the approval workflow/item scheduling), the solution I presented might be just the thing you&#039;re looking for.</description>
		<content:encoded><![CDATA[<p>@Peter vd Berg: as far as I can tell the UseAsEndDate property is being used for more than rendering the label only. Although I haven&#039;t experienced the issue you have described (having to do with the fact that most customers don&#039;t use the approval workflow/item scheduling), the solution I presented might be just the thing you&#039;re looking for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter vd Berg</title>
		<link>http://blog.mastykarz.nl/inconvenient-publishingschedulecontrol/comment-page-1/#comment-22382</link>
		<dc:creator>Peter vd Berg</dc:creator>
		<pubDate>Sat, 27 Jun 2009 16:18:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/inconvenient-publishingschedulecontrol/#comment-22382</guid>
		<description>There&#039;s another thing I bumped into when working with the publishing schedule controls on the pagelayout: 
If you&#039;ve published a page through the publishing schedule controls through the pagelayout (start date and end date included) things go well. But then, for instance if the end date is passed and you want to reschedule the page, like re-publish it using the publishing schedule controls on the pagelayout, things go wrong. The page will not be published (approved) and giving a error friendly message. Apparently the only way to re-publish the page is by going to the page properties page or the page, page settings and schedule page and there you can give the start and end date and the page will be saved and published.

Did you experience this same issue? And with your solution mentioned above, was this fixed?</description>
		<content:encoded><![CDATA[<p>There&#039;s another thing I bumped into when working with the publishing schedule controls on the pagelayout:<br />
If you&#039;ve published a page through the publishing schedule controls through the pagelayout (start date and end date included) things go well. But then, for instance if the end date is passed and you want to reschedule the page, like re-publish it using the publishing schedule controls on the pagelayout, things go wrong. The page will not be published (approved) and giving a error friendly message. Apparently the only way to re-publish the page is by going to the page properties page or the page, page settings and schedule page and there you can give the start and end date and the page will be saved and published.</p>
<p>Did you experience this same issue? And with your solution mentioned above, was this fixed?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
