<?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>NGPixel &#187; Programming</title>
	<atom:link href="http://www.ngpixel.com/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ngpixel.com</link>
	<description>The Development Blog</description>
	<lastBuildDate>Thu, 02 Feb 2012 18:57:49 +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>CSS/jQuery Selector &#8211; ID with a dot</title>
		<link>http://www.ngpixel.com/2012/01/27/cssjquery-selector-id-with-a-dot/</link>
		<comments>http://www.ngpixel.com/2012/01/27/cssjquery-selector-id-with-a-dot/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 23:14:05 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[dot]]></category>
		<category><![CDATA[ID]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[selector]]></category>

		<guid isPermaLink="false">http://www.ngpixel.com/?p=278</guid>
		<description><![CDATA[I had an issue today while trying to use a jQuery selector on simple div with ID &#8220;Ribbon.Read-Title&#8221;. This specific selector (#Ribbon.Read-Title) usually means that we are matching the ID &#8220;Ribbon&#8221; have the class &#8220;Read-Title&#8221;. But trying to match the ID &#8220;Ribbon.Read-Title&#8221; will simply not work with  [...]]]></description>
			<content:encoded><![CDATA[<p>I had an issue today while trying to use a jQuery selector on simple div with ID &#8220;Ribbon.Read-Title&#8221;. This specific selector (#Ribbon.Read-Title) usually means that we are matching the ID &#8220;Ribbon&#8221; have the class &#8220;Read-Title&#8221;. But trying to match the ID &#8220;Ribbon.Read-Title&#8221; will simply not work with this selector. This is also true for a CSS selector.</p>
<p>The workaround is to <strong>escape the dot with a backslash</strong>. So in the above example, you would use selector #Ribbon\.Read-Title to match the specific ID &#8220;Ribbon.Read-Title&#8221;.</p>
<p><em>Note: Contrary to what some people believe, using a dot in an ID or Name attribute is totally valid and accepted, as specified by the W3C. However, it&#8217;s easy to confuse the default selector behavior for dots.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ngpixel.com/2012/01/27/cssjquery-selector-id-with-a-dot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sharepoint 2010 &#8211; Tableless webparts guide</title>
		<link>http://www.ngpixel.com/2011/05/30/sharepoint-2010-tableless-webparts-guide/</link>
		<comments>http://www.ngpixel.com/2011/05/30/sharepoint-2010-tableless-webparts-guide/#comments</comments>
		<pubDate>Mon, 30 May 2011 12:11:32 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[tableless]]></category>
		<category><![CDATA[webparts]]></category>

		<guid isPermaLink="false">http://www.ngpixel.com/?p=202</guid>
		<description><![CDATA[Learn how to remove tables around WebParts and WebPartZones in Sharepoint 2010...]]></description>
			<content:encoded><![CDATA[<p>If you tried to create even simple page layouts, you probably noticed the mess Sharepoint creates with tables when placing webpartzones and webparts in the page. While searching about a way to remove completely these tables, I found an interesting <a href="http://blog.sharepoint.ch/2007/12/webpartzone-adapter.html">solution</a> by David Schneider, which removes tables completely <strong>but creates a new whole set of issues with Sharepoint</strong>. While the tables are removed around webparts and webpartzones, it breaks functionality of the ribbon in lists and some ajax functionnality on default Sharepoint controls. Not really convenient.</p>
<p>Fortunately, with the help of a colleague, we found a way to remove the tables only on defined webpartzones. Zones marked with a property called <strong>tableless=&#8221;true&#8221;</strong> will be stripped from their tables while all other Sharepoint controls won&#8217;t be affected at all.</p>
<p>So what needs to be done in order to get this functionnality? Follow these steps:</p>
<p>1) Copy the following modified C# code (notice the <strong>tableless</strong> property that was added to David Schneider&#8217;s <a href="http://blog.sharepoint.ch/2007/12/webpartzone-adapter.html">solution</a>) in a file called <strong>AKS_WebPartZone_Adapter.cs</strong> and place it in the <strong>AppCode</strong> directory  under your server root directory   (like <em>C:\Inetpub\wwwroot</em> or  <em>C:\Inetpub\wwwroot\wss\VirtualDirectories\80</em>).</p>
<pre class="brush:csharp">using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
using System.IO;
using Microsoft.SharePoint;
using Microsoft.SharePoint.WebPartPages;

/// WebPartZone Adapter
/// Created by David Schneider
/// http://blog.sharepoint.ch
/// Based on AKS

namespace AKSAdapters
{
  public class AKS_WebPartZone_Adapter : System.Web.UI.Adapters.ControlAdapter
  {
      protected override void Render(HtmlTextWriter writer)
      {
          bool inEditMode = false;
          System.Web.UI.WebControls.WebParts.WebPartZone wpz = Control as System.Web.UI.WebControls.WebParts.WebPartZone;
          if (wpz != null &amp;&amp; wpz.Attributes["tableless"] != null)
          {
              SPWebPartManager swpm = (SPWebPartManager)SPWebPartManager.GetCurrentWebPartManager(wpz.Page);
              inEditMode = !swpm.GetDisplayMode().AllowPageDesign;
          }
          if (inEditMode)
          {
              // Render the WebPartZone
              writer.Indent++;
              writer.AddAttribute(HtmlTextWriterAttribute.Id, wpz.ID);
              if (!String.IsNullOrEmpty(wpz.CssClass))
              {
                  writer.AddAttribute(HtmlTextWriterAttribute.Class, wpz.CssClass);
              }
              if (wpz.LayoutOrientation == System.Web.UI.WebControls.Orientation.Horizontal)
              {
                  writer.AddAttribute(HtmlTextWriterAttribute.Class, "AspNet-WebPartZone-Horizontal");
              }
              else if (wpz.LayoutOrientation == System.Web.UI.WebControls.Orientation.Vertical)
              {
                  writer.AddAttribute(HtmlTextWriterAttribute.Class, "AspNet-WebPartZone-Vertical");
              }
              writer.RenderBeginTag(HtmlTextWriterTag.Div);
              writer.Indent++;

              // Render the web parts
              if (wpz.WebParts.Count &gt; 0)
              {
                  WebPartCollection wpColl = new WebPartCollection(wpz.WebParts);

                  foreach (System.Web.UI.WebControls.WebParts.WebPart wp in wpColl)
                  {
                      writer.WriteLine();
                      writer.AddAttribute(HtmlTextWriterAttribute.Class, "AspNet-WebPart");
                      writer.RenderBeginTag(HtmlTextWriterTag.Div);

                      wp.RenderControl(writer);
                      writer.RenderEndTag(); // Div
                      writer.Indent++;
                  }
              }
              writer.RenderEndTag(); // Div

              writer.Indent--;
              writer.WriteLine();
          }
          else
          {
              // If we are editing the page --&gt; render the web part as usual.
              base.Render(writer);
          }
      }
  }
}</pre>
<p>2) Edit the <strong>compat.browser</strong> file which in the <strong>AppBrowser</strong> directory located in your server directory and add the following piece of code after the opening tag:</p>
<pre class="brush:xml"><browser refID="Default">
<controlAdapters>
<adapter controlType="System.Web.UI.WebControls.WebParts.WebPartZone"
adapterType="AKSAdapters.AKS_WebPartZone_Adapter" />
</controlAdapters>
</browser></pre>
<p>3) In your page layouts, add the property <strong>tableless=&#8221;true&#8221;</strong> to all your <strong>WebPartZones</strong>.</p>
<p>Your pages will then be free of tables without affecting core Sharepoint functionality such as the ribbon and other editing functions. Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ngpixel.com/2011/05/30/sharepoint-2010-tableless-webparts-guide/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>C# &#8211; Keep user settings between versions</title>
		<link>http://www.ngpixel.com/2011/05/05/c-keep-user-settings-between-versions/</link>
		<comments>http://www.ngpixel.com/2011/05/05/c-keep-user-settings-between-versions/#comments</comments>
		<pubDate>Thu, 05 May 2011 17:00:27 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[csharp]]></category>
		<category><![CDATA[user settings]]></category>

		<guid isPermaLink="false">http://www.ngpixel.com/?p=197</guid>
		<description><![CDATA[Unless you&#8217;re using the ClickOnce deployment method for your applications, user settings are usually not transferred when updating to a new version of a C# desktop application. There&#8217;s in fact a quick and simple way to always keep the settings between versions.
The trick is to call the .upgrade()  [...]]]></description>
			<content:encoded><![CDATA[<p>Unless you&#8217;re using the ClickOnce deployment method for your applications, user settings are usually not transferred when updating to a new version of a C# desktop application. There&#8217;s in fact a quick and simple way to always keep the settings between versions.</p>
<p>The trick is to call the <strong>.upgrade()</strong> method your app settings object. The system will look for previous versions of your application in the App Data directory and copy the user settings to the new version automatically.</p>
<pre class="brush:csharp">Properties.Settings.Default.Upgrade();</pre>
<p>But now we have a problem. How do you know when the upgrade method should be called? As we don&#8217;t want to upgrade everytime the application is started, but only the first time after an upgrade. The solution is to create a new user settings variable that will be used to determine whether an upgrade is required. You can either make it a <strong>string</strong> and save the <strong>current application version</strong>, or make it a <strong>boolean</strong> and set it to <strong>True</strong> by default. I personally find the boolean method easier to use and this is the one I will explain below:</p>
<p>In your application load function (private void Window_Loaded in WPF), simply use this code:</p>
<pre class="brush:csharp">if (Properties.Settings.Default.UpdateSettings)
{
   Properties.Settings.Default.Upgrade();
   Properties.Settings.Default.UpdateSettings = false;
   Properties.Settings.Default.Save();
}</pre>
<p>It is important to place this code <strong>before</strong> anything else that use the user settings in the load method. In the above example, <strong>UpdateSettings</strong> is the user setting variable I created and set to <strong>True</strong> by default. When the application launch, it will check whether the <strong>UpdateSettings</strong> variable is set to <strong>True</strong>. If it&#8217;s the case, it will perform an upgrade. We then set the variable to <strong>False</strong> so that it doesn&#8217;t perform an upgrade the next time. Finally, we save the new settings. Why does it work? Because we set the user setting to <strong>True by default</strong> which will only occur after a new installation of the application.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ngpixel.com/2011/05/05/c-keep-user-settings-between-versions/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Sharepoint &#8211; Masterpage User Controls Limit</title>
		<link>http://www.ngpixel.com/2011/03/15/sharepoint-masterpage-user-controls-limit/</link>
		<comments>http://www.ngpixel.com/2011/03/15/sharepoint-masterpage-user-controls-limit/#comments</comments>
		<pubDate>Tue, 15 Mar 2011 18:01:17 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[masterpage]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[user control]]></category>

		<guid isPermaLink="false">http://www.ngpixel.com/?p=188</guid>
		<description><![CDATA[If you insert more than 10 user controls in a masterpage, you might get an error similar to this:
The page &#8216;/path/somefile.master&#8217; allows a limit of 11 direct dependencies, and that limit has been exceeded.
You can easily increase that limit as it is actually set in your sharepoint web.config:
1)  [...]]]></description>
			<content:encoded><![CDATA[<p>If you insert more than 10 user controls in a masterpage, you might get an error similar to this:</p>
<p><span style="color: #800000;"><strong>The page &#8216;/path/somefile.master&#8217; allows a limit of 11 direct dependencies, and that limit has been exceeded.</strong></span></p>
<p>You can easily increase that limit as it is actually set in your sharepoint <strong>web.config</strong>:</p>
<p>1) Browse to <strong>C:\inetpub\wwwroot\wss\VirtualDirectories\</strong></p>
<p>2) Open the folder corresponding to your Sharepoint website.</p>
<p>3) Edit the file <strong>web.config</strong></p>
<p>4) Do a search for &#8220;<strong>safemode</strong>&#8220;.</p>
<p>5) Change the property <strong>DirectFileDependencies</strong> from <strong>10</strong> to a value your choice.</p>
<p>6) Do an <strong>iisreset</strong> command and you&#8217;re done!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ngpixel.com/2011/03/15/sharepoint-masterpage-user-controls-limit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sharepoint 2010 &#8211; Display compilation errors</title>
		<link>http://www.ngpixel.com/2011/02/22/sharepoint-2010-display-compilation-errors/</link>
		<comments>http://www.ngpixel.com/2011/02/22/sharepoint-2010-display-compilation-errors/#comments</comments>
		<pubDate>Tue, 22 Feb 2011 19:49:23 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[compilation errors]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">http://www.ngpixel.com/?p=172</guid>
		<description><![CDATA[By default, Sharepoint displays a friendly error box that tell pretty much nothing about the error that just occurred. It is possible to display the default yellow screen of death with all the details, found in usual ASP applications.
1) Navigate to C:\inetpub\wwwroot\wss\VirtualDirectories\
2)  [...]]]></description>
			<content:encoded><![CDATA[<p>By default, Sharepoint displays a friendly error box that tell pretty much nothing about the error that just occurred. It is possible to display the default yellow screen of death with all the details, found in usual ASP applications.</p>
<p>1) Navigate to <strong>C:\inetpub\wwwroot\wss\VirtualDirectories\</strong></p>
<p>2) Open the Sharepoint web application folder you wish to edit.</p>
<p>3) Edit the <strong>web.config</strong> file.</p>
<p>4) Find the property <strong>customErrors</strong> and set it&#8217;s <strong>mode</strong> value to <strong>Off</strong>.</p>
<p>5) Find the property <strong>compilation</strong> and set it&#8217;s <strong>debug</strong> value to <strong>true</strong>.</p>
<p>6) Find the property <strong>SafeMode</strong> and set it&#8217;s <strong>CallStack</strong> value to <strong>true</strong>.</p>
<p>7) Do a <strong>iisreset</strong>.</p>
<p>Done!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ngpixel.com/2011/02/22/sharepoint-2010-display-compilation-errors/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Sharepoint 2010 &#8211; Custom Error Pages</title>
		<link>http://www.ngpixel.com/2010/12/23/sharepoint-2010-custom-error-pages/</link>
		<comments>http://www.ngpixel.com/2010/12/23/sharepoint-2010-custom-error-pages/#comments</comments>
		<pubDate>Thu, 23 Dec 2010 17:07:23 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[error pages]]></category>
		<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">http://www.ngpixel.com/2010/12/23/sharepoint-2010-custom-error-pages/</guid>
		<description><![CDATA[Learn step-by-step how to implement custom error pages in Sharepoint 2010 for common error codes such as 401, 403, 404 and 500...]]></description>
			<content:encoded><![CDATA[<p>Unless you love the default Sharepoint error pages for 404 (not found) and 401 (access denied), it is usually a good idea to change them. The steps are a bit different than a standard ASP.net application.</p>
<p>1) Browse to <font size="2" face="Courier New">C:\inetpub\custerr\</font></p>
<p>2) You should now see a list of localization folders like <strong>en-US</strong> or <strong>fr-FR</strong>. Open the folder you want to edit and modify the error pages for <strong>401</strong>,<strong>403</strong>,<strong>404</strong> and <strong>500</strong>.</p>
<p>3) Now browse to <font size="2" face="Courier New">C:\inetpub\wwwroot\wss\VirtualDirectories\</font> and open the folder associated to the Sharepoint site you would like to affect.</p>
<p>4) Edit the file <strong>web.config</strong> and find the keyword <strong>customErrors</strong>. Replace the complete <strong>customErrors</strong> code block with:</p>
<pre class="brush:xml">&lt;customErrors defaultRedirect=&quot;404.htm&quot; mode=&quot;On&quot;&gt;
	   &lt;error redirect=&quot;401.htm&quot; statusCode=&quot;401&quot; /&gt;
	   &lt;error redirect=&quot;403.htm&quot; statusCode=&quot;403&quot; /&gt;
	   &lt;error redirect=&quot;404.htm&quot; statusCode=&quot;404&quot; /&gt;
	   &lt;error redirect=&quot;500.htm&quot; statusCode=&quot;500&quot; /&gt;
&lt;/customErrors&gt;</pre>
<p>5) Now find the keyword <strong>&lt;system.webServer&gt;.</strong> Inside this block, place the following block code. <em>(If the <strong>httpErrors</strong> block already exists, replace it completely!)</em></p>
<pre class="brush:xml">&lt;httpErrors errorMode=&quot;Custom&quot; existingResponse=&quot;Auto&quot;&gt;
&lt;/httpErrors&gt;</pre>
<p>6) Save <strong>web.config</strong> and do the usual<strong> iisreset</strong> command if needed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ngpixel.com/2010/12/23/sharepoint-2010-custom-error-pages/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ASP.net &#8211; Using multiple forms on the same page</title>
		<link>http://www.ngpixel.com/2010/10/18/asp-net-using-multiple-forms-on-the-same-page/</link>
		<comments>http://www.ngpixel.com/2010/10/18/asp-net-using-multiple-forms-on-the-same-page/#comments</comments>
		<pubDate>Mon, 18 Oct 2010 15:48:38 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[forms]]></category>

		<guid isPermaLink="false">http://www.ngpixel.com/2010/10/18/asp-net-using-multiple-forms-on-the-same-page/</guid>
		<description><![CDATA[One if the big issue with ASP.net programming is having multiple forms on the same page. You can only have 1 form with runat=”server” on your page or it will throw an exception. When you have a form on your page and search box in your header, it can cause some big issues when you press Enter. The  [...]]]></description>
			<content:encoded><![CDATA[<p>One if the big issue with ASP.net programming is having multiple forms on the same page. You can only have 1 form with runat=”server” on your page or it will throw an exception. When you have a form on your page and search box in your header, it can cause some big issues when you press Enter. The wrong postback will be triggered in the second form.</p>
<p>The solution is to use an &lt;asp:panel&gt; with a defaultbutton around each of your &#8220;HTML forms&#8221;. There’s only 1 form containing the whole page with 1 panel for every &#8220;HTML form&#8221;. By &#8220;HTML form&#8221;, I mean a series of inputs that are part of the same logical group and not an actual &lt;form&gt; tag.</p>
<pre class="brush:html">
<form ID="formGlobal" runat="server">
<div id="header">
		<asp:Panel defaultbutton="btnSearch" ID="panelHeaderForm" runat="server">
			<asp:TextBox ID="searchbox" runat="server" Text="Search"></asp:textbox>
			<asp:Button ID="btnSearch" runat="server" OnClick="SiteSearch_Click"></asp:button>
		</asp:Panel>
	</div>
<div id="maincontent">
		<asp:Panel defaultbutton="btnSubmit" ID="panelMainForm" runat="server">
			<asp:TextBox ID="firstname" runat="server" Text=""></asp:textbox>
			<asp:TextBox ID="lastname" runat="server" Text=""></asp:textbox>
			<asp:TextBox ID="email" runat="server" Text=""></asp:textbox>
			<asp:Button ID="btnSubmit" runat="server" OnClick="RegisterUser"></asp:button>
		</asp:Panel>
	</div>
</form>
</pre>
<p>Pressing Enter in any textbox will now trigger the correct default button. Problem solved!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ngpixel.com/2010/10/18/asp-net-using-multiple-forms-on-the-same-page/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sharepoint &#8211; Access QueryString from custom webpart</title>
		<link>http://www.ngpixel.com/2010/09/14/sharepoint-access-querystring-from-custom-webpart/</link>
		<comments>http://www.ngpixel.com/2010/09/14/sharepoint-access-querystring-from-custom-webpart/#comments</comments>
		<pubDate>Tue, 14 Sep 2010 17:10:23 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[querystring]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[webpart]]></category>

		<guid isPermaLink="false">http://www.ngpixel.com/2010/09/14/sharepoint-access-querystring-from-custom-webpart/</guid>
		<description><![CDATA[I was trying to access the QueryString parameters inside a custom webpart coded in C#. I would usually use Request.QueryString but the Request object was simply not available in this case. Turns out it is found under the Page object:

string kquery = Page.Request.QueryString["kqry"];

]]></description>
			<content:encoded><![CDATA[<p>I was trying to access the QueryString parameters inside a custom webpart coded in C#. I would usually use Request.QueryString but the Request object was simply not available in this case. Turns out it is found under the Page object:</p>
<pre class="brush:csharp">
string kquery = Page.Request.QueryString["kqry"];
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ngpixel.com/2010/09/14/sharepoint-access-querystring-from-custom-webpart/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sharepoint Designer &#8211; &#8220;The server could not complete your request&#8221; error message</title>
		<link>http://www.ngpixel.com/2010/08/26/sharepoint-designer-the-server-could-not-complete-your-request-error-message/</link>
		<comments>http://www.ngpixel.com/2010/08/26/sharepoint-designer-the-server-could-not-complete-your-request-error-message/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 17:31:08 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[application pool]]></category>
		<category><![CDATA[designer]]></category>
		<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">http://www.ngpixel.com/2010/08/26/sharepoint-designer-the-server-could-not-complete-your-request-error-message/</guid>
		<description><![CDATA[A simple solution to a strange problem...]]></description>
			<content:encoded><![CDATA[<p>I started getting this error message yesterday while working in <strong>Sharepoint Designer</strong>. I would get the message whenever I would open a Sharepoint website. The solution to this problem is quite simple:</p>
<p>1) Open <strong>Internet Information Services (IIS) Manager</strong>.</p>
<p>2) Expand your computer list on the left then click on <strong>Application Pools</strong>.</p>
<p>3) <strong>Locate</strong> the application pool used by your Sharepoint website.</p>
<p>4) Right-click on the application pool and select <strong>Recycle</strong>.</p>
<p>You should now be able to connect to your Sharepoint website using Sharepoint Designer as usual.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ngpixel.com/2010/08/26/sharepoint-designer-the-server-could-not-complete-your-request-error-message/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CSS: How to remove the dotted outline on links</title>
		<link>http://www.ngpixel.com/2010/07/15/css-how-to-remove-the-dotted-outline-on-links/</link>
		<comments>http://www.ngpixel.com/2010/07/15/css-how-to-remove-the-dotted-outline-on-links/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 17:34:30 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[dotted]]></category>
		<category><![CDATA[outline]]></category>

		<guid isPermaLink="false">http://www.ngpixel.com/2010/07/15/css-how-to-remove-the-dotted-outline-on-links/</guid>
		<description><![CDATA[When you click on a link element, it becomes focused and displays a dotted border around it. In some case, you might want to remove that outline for aesthetics, especially on menu links that are displayed as block elements. To remove that outline, simply place this CSS line of code:
a:focus  [...]]]></description>
			<content:encoded><![CDATA[<p>When you click on a link element, it becomes focused and displays a dotted border around it. In some case, you might want to remove that outline for aesthetics, especially on menu links that are displayed as block elements. To remove that outline, simply place this CSS line of code:</p>
<pre class="brush:css">a:focus {
	outline:none;
}</pre>
<p>In the above example, all links that become focused won’t display the outline.</p>
<p>Keep in mind that hiding that outline will prevent people use keyboard navigation to see which element is selected.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ngpixel.com/2010/07/15/css-how-to-remove-the-dotted-outline-on-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

