<?xml version="1.0" encoding="utf-8"?>
<feed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom">
  <title>Stone Coast Web Design Blog</title>
  <link rel="alternate" type="text/html" href="http://www.stonecoastwebdesign.com/blog/" />
  <link rel="self" href="http://www.stonecoastwebdesign.com/blog/SyndicationService.asmx/GetAtom" />
  <icon>favicon.ico</icon>
  <updated>2012-05-18T12:22:35.4858803-07:00</updated>
  <author>
    <name>Eric</name>
  </author>
  <subtitle>Mostly .NET Development</subtitle>
  <id>http://www.stonecoastwebdesign.com/blog/</id>
  <generator uri="http://dasblog.info/" version="2.2.8279.16125">DasBlog</generator>
  <entry>
    <title>Use the task process editor for approval workflows</title>
    <link rel="alternate" type="text/html" href="http://www.stonecoastwebdesign.com/blog/2012/05/18/UseTheTaskProcessEditorForApprovalWorkflows.aspx" />
    <id>http://www.stonecoastwebdesign.com/blog/PermaLink,guid,c47da10a-0dfc-476e-bfee-3d767428f8a3.aspx</id>
    <published>2012-05-18T12:22:35.4858803-07:00</published>
    <updated>2012-05-18T12:22:35.4858803-07:00</updated>
    <category term="Sharepoint" label="Sharepoint" scheme="http://www.stonecoastwebdesign.com/blog/CategoryView,category,Sharepoint.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <br />
          <a href="http://office.microsoft.com/en-us/sharepoint-designer-help/use-the-task-process-editor-for-approval-workflows-HA101863538.aspx">http://office.microsoft.com/en-us/sharepoint-designer-help/use-the-task-process-editor-for-approval-workflows-HA101863538.aspx</a>
        </p>
        <img width="0" height="0" src="http://www.stonecoastwebdesign.com/blog/aggbug.ashx?id=c47da10a-0dfc-476e-bfee-3d767428f8a3" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Managing Sharepoint Lists With Many Items</title>
    <link rel="alternate" type="text/html" href="http://www.stonecoastwebdesign.com/blog/2012/05/18/ManagingSharepointListsWithManyItems.aspx" />
    <id>http://www.stonecoastwebdesign.com/blog/PermaLink,guid,f6180b38-3a65-4cd8-9c01-2516e8069be1.aspx</id>
    <published>2012-05-18T07:35:15.0512602-07:00</published>
    <updated>2012-05-18T07:35:15.0512602-07:00</updated>
    <category term="Sharepoint" label="Sharepoint" scheme="http://www.stonecoastwebdesign.com/blog/CategoryView,category,Sharepoint.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <br />
          <a title="http://office.microsoft.com/en-us/windows-sharepoint-services-help/manage-lists-and-libraries-with-many-items-HA010173667.aspx" href="http://office.microsoft.com/en-us/windows-sharepoint-services-help/manage-lists-and-libraries-with-many-items-HA010173667.aspx">http://office.microsoft.com/en-us/windows-sharepoint-services-help/manage-lists-and-libraries-with-many-items-HA010173667.aspx</a>
        </p>
        <img width="0" height="0" src="http://www.stonecoastwebdesign.com/blog/aggbug.ashx?id=f6180b38-3a65-4cd8-9c01-2516e8069be1" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Silverlight SharePoint Web Parts -  An extension for adding Silverlight web parts to SharePoint features</title>
    <link rel="alternate" type="text/html" href="http://www.stonecoastwebdesign.com/blog/2012/05/17/SilverlightSharePointWebPartsAnExtensionForAddingSilverlightWebPartsToSharePointFeatures.aspx" />
    <id>http://www.stonecoastwebdesign.com/blog/PermaLink,guid,b34f423e-90c8-4f7f-ba55-75467206d248.aspx</id>
    <published>2012-05-17T05:12:43.6648164-07:00</published>
    <updated>2012-05-17T05:12:43.6648164-07:00</updated>
    <category term="Sharepoint" label="Sharepoint" scheme="http://www.stonecoastwebdesign.com/blog/CategoryView,category,Sharepoint.aspx" />
    <category term="Silverlight" label="Silverlight" scheme="http://www.stonecoastwebdesign.com/blog/CategoryView,category,Silverlight.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <br />
          <a title="http://visualstudiogallery.msdn.microsoft.com/e8360a85-58ca-42d1-8de0-e48a1ab071c7" href="http://visualstudiogallery.msdn.microsoft.com/e8360a85-58ca-42d1-8de0-e48a1ab071c7">http://visualstudiogallery.msdn.microsoft.com/e8360a85-58ca-42d1-8de0-e48a1ab071c7</a>
        </p>
        <img width="0" height="0" src="http://www.stonecoastwebdesign.com/blog/aggbug.ashx?id=b34f423e-90c8-4f7f-ba55-75467206d248" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Using a lookup field on a choice field workaround</title>
    <link rel="alternate" type="text/html" href="http://www.stonecoastwebdesign.com/blog/2012/05/15/UsingALookupFieldOnAChoiceFieldWorkaround.aspx" />
    <id>http://www.stonecoastwebdesign.com/blog/PermaLink,guid,cfeca3f4-253c-4a7a-b2b8-732507fca114.aspx</id>
    <published>2012-05-15T05:05:20.2820224-07:00</published>
    <updated>2012-05-15T05:05:20.2820224-07:00</updated>
    <category term="Sharepoint" label="Sharepoint" scheme="http://www.stonecoastwebdesign.com/blog/CategoryView,category,Sharepoint.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <br />
If you need a lookup field in a separate list and the original field is a choice column,
then there’s no direct way to do this. In other words,  it’s impossible to map
a lookup field on a choice field. There’s a workaround, however, by using a calculated
field which copies the information from the choice field. The look up field is then
able to map the calculated field’s value.  Here’s a nice article on how to do
this:
</p>
        <p>
          <a title="http://bramnuyts.be/2011/04/05/using-a-lookup-field-on-a-choice-field-workaround/" href="http://bramnuyts.be/2011/04/05/using-a-lookup-field-on-a-choice-field-workaround/">http://bramnuyts.be/2011/04/05/using-a-lookup-field-on-a-choice-field-workaround/</a>
        </p>
        <img width="0" height="0" src="http://www.stonecoastwebdesign.com/blog/aggbug.ashx?id=cfeca3f4-253c-4a7a-b2b8-732507fca114" />
      </div>
    </content>
  </entry>
  <entry>
    <title>50 Limitations of Sharepoint 2010 Sandboxed Solutions</title>
    <link rel="alternate" type="text/html" href="http://www.stonecoastwebdesign.com/blog/2012/05/14/50LimitationsOfSharepoint2010SandboxedSolutions.aspx" />
    <id>http://www.stonecoastwebdesign.com/blog/PermaLink,guid,de49d3aa-098a-4dc9-8b93-663e76c3caab.aspx</id>
    <published>2012-05-14T05:38:12.7713201-07:00</published>
    <updated>2012-05-14T05:38:12.7713201-07:00</updated>
    <category term="Sharepoint" label="Sharepoint" scheme="http://www.stonecoastwebdesign.com/blog/CategoryView,category,Sharepoint.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <br />
Source: <a title="http://salaudeen.blogspot.com/2012/03/50-limitations-of-sharepoint-sandboxed.html" href="http://salaudeen.blogspot.com/2012/03/50-limitations-of-sharepoint-sandboxed.html">http://salaudeen.blogspot.com/2012/03/50-limitations-of-sharepoint-sandboxed.html</a> 
</p>
        <pre class="csharpcode">1. Deployment at site collection level (No Web Application-scoped Features or Farm-scoped Features). So, If you have 100 site collections, then you have to deploy the same sandbox solution to 100 
<br />
site collections. 2. No SPSecurity - Therefore no Elevated Privileges 3. You can't
use SPSite object, So you can't get into other site collections 4. Visual webparts
are not supported (But you can use the "Visual Studio 200 SharePoint Power Tools"
to get this functionality) 5. cannot call to the network resources. E.g. You cannot
read/write to a database on the server (But you can use Silverlight) 6. Only "No
code" workflows allowed. No Visual studio workflows (But the workflows without
classes which are imported and edited in Visual studio will work!) 7. No support for
System.IO, Therefore you Cannot read/write to the file system. 8. HideCustomAction,
CustomActionGroup are not allowed. But you can use <span class="kwrd">&lt;</span><span class="html">CustomAction</span><span class="kwrd">&gt;</span> 9.
Remember, Resource Usage Quotas/Limits applied on Sandboxed solutions http://msdn.microsoft.com/en-us/library/gg615462.aspx
10. No Feature stapling supported. 11. Can't write to registry (But you can read)
12. Limited Server Object Model MSDN: http://msdn.microsoft.com/en-us/library/gg615454.aspx
13. Can't set cookies in the sandbox. Use JQuery plugin instead http://plugins.jquery.com/project/cookie
14. No call to external WCF/web services such as Facebook (But we can use AJAX) 15.
Content Type Binding is not supported 16. No support for custom Timer jobs 17. Can't
use SharePoint mapped folders such as _layouts 18. Can't export a Sandboxed Web Part
19. Microsoft.SharePoint.WebControls and Microsoft.SharePoint.WebPartPages Namespace
are not available. 20. Managed Metadata - No programmatic access to taxonomy object
model. 21. No ADO.NET support! 22. No support for SPUtility.SendEmail, So you can't
Send Mails using this class. 23. No caching support 24. No Custom HTTP Modules 25.
No developer dashboard 26. No Site Definition 27. Can't use controls for delegation
28. No Business Connectivity Services support 29. No Localization support 30. No SPWebConfigModification
usage 31. Most of the Microsoft.SharePoint.Administration are disabled 32. No Document
converters 33. No User Control support. 34. NO Custom service applications 35. SharePoint
web controls (such as SPTreeView) are not supported 36. ClientScriptManager is not
available 37. Can't access the event viewer for logging 38. No PropertyBags of SharePoint
Object model are not accessible,( But you can use SPWeb.AllProperties or custom list
to store settings) 39. No GAC Deployment, Your solutions will be stored in content
database. 40. CustomPropertyToolPart not supported 41. Can't create application pages
or site pages with code behind 42. No Server side redirects 43. Can't access some
of the enterprise services like UserProfile, Search 44. Can't access dlls from BIN
and resources files(.resx) 45. Can't access code that is not marked to allow partially
trusted callers 46. Can't deploy assemblies to GAC and Cannot call assemblies deployed
out of Global Assembly Cache 47. HttpRequest.Files collection will not contain anything
48. Only SPLimitedWebPartManager is available. 49. SharePoint Web controls (namespace
SharePoint.WebControls) are not available, 50. Last but not least: site Template Binding
is not supported.</pre>
        <style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
        <img width="0" height="0" src="http://www.stonecoastwebdesign.com/blog/aggbug.ashx?id=de49d3aa-098a-4dc9-8b93-663e76c3caab" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Sandboxed Solutions Overview</title>
    <link rel="alternate" type="text/html" href="http://www.stonecoastwebdesign.com/blog/2012/05/14/SandboxedSolutionsOverview.aspx" />
    <id>http://www.stonecoastwebdesign.com/blog/PermaLink,guid,9cd0e696-a352-4b8a-944d-f58d6a0466c2.aspx</id>
    <published>2012-05-14T05:24:40.3856757-07:00</published>
    <updated>2012-05-14T05:24:40.3856757-07:00</updated>
    <category term="Sharepoint" label="Sharepoint" scheme="http://www.stonecoastwebdesign.com/blog/CategoryView,category,Sharepoint.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <br />
Nice article on the differences between Sandboxed Solutions and Farm Solutions in
Sharepoint 2010
</p>
        <p>
          <a title="http://technet.microsoft.com/en-us/library/ee721992.aspx#benefits" href="http://technet.microsoft.com/en-us/library/ee721992.aspx">http://technet.microsoft.com/en-us/library/ee721992.aspx</a>
        </p>
        <img width="0" height="0" src="http://www.stonecoastwebdesign.com/blog/aggbug.ashx?id=9cd0e696-a352-4b8a-944d-f58d6a0466c2" />
      </div>
    </content>
  </entry>
  <entry>
    <title>How to Pass Querystring data into an InfoPath Form</title>
    <link rel="alternate" type="text/html" href="http://www.stonecoastwebdesign.com/blog/2012/05/11/HowToPassQuerystringDataIntoAnInfoPathForm.aspx" />
    <id>http://www.stonecoastwebdesign.com/blog/PermaLink,guid,ce514667-9169-4cea-84f3-26fbd3d0fcbd.aspx</id>
    <published>2012-05-11T07:13:22.2427382-07:00</published>
    <updated>2012-05-11T07:13:22.2427382-07:00</updated>
    <category term="InfoPath" label="InfoPath" scheme="http://www.stonecoastwebdesign.com/blog/CategoryView,category,InfoPath.aspx" />
    <category term="Sharepoint" label="Sharepoint" scheme="http://www.stonecoastwebdesign.com/blog/CategoryView,category,Sharepoint.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <br />
          <a title="http://blogs.msdn.com/b/infopath/archive/2010/06/03/how-to-pass-querystring-data-into-an-infopath-form.aspx" href="http://blogs.msdn.com/b/infopath/archive/2010/06/03/how-to-pass-querystring-data-into-an-infopath-form.aspx">http://blogs.msdn.com/b/infopath/archive/2010/06/03/how-to-pass-querystring-data-into-an-infopath-form.aspx</a>
        </p>
        <img width="0" height="0" src="http://www.stonecoastwebdesign.com/blog/aggbug.ashx?id=ce514667-9169-4cea-84f3-26fbd3d0fcbd" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Setting Up Default Form Values in InfoPath 2010</title>
    <link rel="alternate" type="text/html" href="http://www.stonecoastwebdesign.com/blog/2012/05/11/SettingUpDefaultFormValuesInInfoPath2010.aspx" />
    <id>http://www.stonecoastwebdesign.com/blog/PermaLink,guid,7b93a18e-8665-44d2-af18-b77b221cf1df.aspx</id>
    <published>2012-05-11T05:25:36.6198699-07:00</published>
    <updated>2012-05-11T07:12:42.2896016-07:00</updated>
    <category term="InfoPath" label="InfoPath" scheme="http://www.stonecoastwebdesign.com/blog/CategoryView,category,InfoPath.aspx" />
    <category term="Sharepoint" label="Sharepoint" scheme="http://www.stonecoastwebdesign.com/blog/CategoryView,category,Sharepoint.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <br />
This is a great blog post on how to make filling out InfoPath 2010 forms faster and
easier.
</p>
        <p>
          <a title="http://blogs.msdn.com/b/infopath/archive/2010/07/29/tips-and-tricks-for-making-form-filling-faster.aspx" href="http://blogs.msdn.com/b/infopath/archive/2010/07/29/tips-and-tricks-for-making-form-filling-faster.aspx">http://blogs.msdn.com/b/infopath/archive/2010/07/29/tips-and-tricks-for-making-form-filling-faster.aspx</a> 
</p>
        <p>
Here is my favorite example
</p>
        <h3>Setting up the default user 
</h3>
        <p>
Setting the default value of the Person/Group picker is done through the fields task
pane. Show the fields task pane by selecting “Show Fields” on the data tab and expand
your Person/Group picker field (in my case, outBy). Click “Show advanced view” to
see the detailed view. Right-click on the <strong>AccountId</strong> and choose <strong>properties</strong>.
</p>
        <p>
          <img border="0" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-34-22/2043.Fields-Task-Pane.png" />
        </p>
        <p>
Under default value, choose the <strong>function builder <img border="0" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-34-22/8357.Function-Button.png" /></strong>and
type <strong>userName().</strong><br />
Again, make sure that “Refresh value when formula is recalculated” is unchecked, so
that this rule is only run once and not every time the form is opened. Click Ok.
</p>
        <p>
          <img border="0" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-34-22/2500.Default-Value-_2D00_-Username_28002900_.png" />
        </p>
        <p>
Repeat this process with the <strong>DisplayName</strong> (optional) to get the best
experience. Now the people picker will default to the person who opens the form. 
<br />
When we load the form, the date, boat type, and checked out by fields are already
filled out. With half of the fields completed, it will take employees less time to
check out boats.
</p>
        <p>
          <img border="0" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-34-22/3482.Sailboat-Rental-Form2.png" />
        </p>
        <img width="0" height="0" src="http://www.stonecoastwebdesign.com/blog/aggbug.ashx?id=7b93a18e-8665-44d2-af18-b77b221cf1df" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Using HTML In a Calculated Field Column in Sharepoint 2010</title>
    <link rel="alternate" type="text/html" href="http://www.stonecoastwebdesign.com/blog/2012/05/10/UsingHTMLInACalculatedFieldColumnInSharepoint2010.aspx" />
    <id>http://www.stonecoastwebdesign.com/blog/PermaLink,guid,14b9e37c-dd7f-499c-a74d-db90522ba983.aspx</id>
    <published>2012-05-10T13:27:26.0619698-07:00</published>
    <updated>2012-05-10T13:27:26.0619698-07:00</updated>
    <category term="Sharepoint" label="Sharepoint" scheme="http://www.stonecoastwebdesign.com/blog/CategoryView,category,Sharepoint.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
 
</p>
        <p>
I was recently trying to display an image in a calculated field column in a Sharepoint
list and couldn’t figure out how to output the HTML in that column.  I came across
this article which helped me quite a bit. <a title="http://blog.pathtosharepoint.com/2008/08/07/calculated-columns/" href="http://blog.pathtosharepoint.com/2008/08/07/calculated-columns/">http://blog.pathtosharepoint.com/2008/08/07/calculated-columns/</a> and <a href="http://blog.pathtosharepoint.com/2008/09/01/using-calculated-columns-to-write-html/">http://blog.pathtosharepoint.com/2008/09/01/using-calculated-columns-to-write-html/</a></p>
        <p>
Here is the formula I used:
</p>
        <pre class="csharpcode">=IF(Status=<span class="str">"Green"</span>,<span class="str">"&lt;DIV&gt;&lt;img
title='Green' border='0' alt='Green' src='https://fsa.share.ed.gov/teams/bo/SL/SiteAssets/images/Green.gif'&gt;&lt;/DIV&gt;"</span>,
IF(Status=<span class="str">"Yellow"</span>,<span class="str">"&lt;DIV&gt;&lt;img
title='Yellow' border='0' alt='Yellow' src='https://fsa.share.ed.gov/teams/bo/SL/SiteAssets/images/Yellow.gif'&gt;&lt;/DIV&gt;"</span>,
IF(Status=<span class="str">"Red"</span>,<span class="str">"&lt;DIV&gt;&lt;img
title='Red' border='0' alt='Red' src='https://fsa.share.ed.gov/teams/bo/SL/SiteAssets/images/Red.gif'&gt;&lt;/DIV&gt;"</span>)))</pre>
        <style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
        <p>
This is the javascript that must be placed in a Content Editor Web Part below the
Web part containing the list above
</p>
        <pre class="csharpcode">&lt;script type=<span class="str">"text/javascript"</span>&gt; <span class="rem">//</span><span class="rem">//
Text to HTML</span><span class="rem">// Feedback and questions: Christophe@PathToSharePoint.com</span><span class="rem">//</span><span class="kwrd">var</span> theTDs
= document.getElementsByTagName(<span class="str">"TD"</span>); <span class="kwrd">var</span> i=0; <span class="kwrd">var</span> TDContent
= <span class="str">" "</span>; <span class="kwrd">while</span> (i &lt;
theTDs.length) { <span class="kwrd">try</span> { TDContent = theTDs[i].innerText ||
theTDs[i].textContent; <span class="kwrd">if</span> ((TDContent.indexOf(<span class="str">"&lt;DIV"</span>)
== 0) &amp;&amp; (TDContent.indexOf(<span class="str">"&lt;/DIV&gt;"</span>)
&gt;= 0)) { theTDs[i].innerHTML = TDContent; } } <span class="kwrd">catch</span>(err){}
i=i+1; } <span class="rem">//</span><span class="rem">// ExpGroupRenderData overwrites
the default SharePoint function</span><span class="rem">// This part is needed for
collapsed groupings</span><span class="rem">//</span><span class="kwrd">function</span> ExpGroupRenderData(htmlToRender,
groupName, isLoaded) { <span class="kwrd">var</span> tbody=document.getElementById(<span class="str">"tbod"</span>+groupName+<span class="str">"_"</span>); <span class="kwrd">var</span> wrapDiv=document.createElement(<span class="str">"DIV"</span>);
wrapDiv.innerHTML=<span class="str">"&lt;TABLE&gt;&lt;TBODY id=\"tbod"</span>+
groupName+<span class="str">"_\" isLoaded=\""</span>+isLoaded+ <span class="str">"\"&gt;"</span>+htmlToRender+<span class="str">"&lt;/TBODY&gt;&lt;/TABLE&gt;"</span>; <span class="kwrd">var</span> theTBODYTDs
= wrapDiv.getElementsByTagName(<span class="str">"TD"</span>); <span class="kwrd">var</span> j=0; <span class="kwrd">var</span> TDContent
= <span class="str">" "</span>; <span class="kwrd">while</span> (j &lt;
theTBODYTDs.length) { <span class="kwrd">try</span> { TDContent = theTBODYTDs[j].innerText
|| theTBODYTDs[j].textContent; <span class="kwrd">if</span> ((TDContent.indexOf(<span class="str">"&lt;DIV"</span>)
== 0) &amp;&amp; (TDContent.indexOf(<span class="str">"&lt;/DIV&gt;"</span>)
&gt;= 0)) { theTBODYTDs[j].innerHTML = TDContent; } } <span class="kwrd">catch</span>(err){}
j=j+1; } tbody.parentNode.replaceChild(wrapDiv.firstChild.firstChild,tbody); } &lt;/script&gt;</pre>
        <style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
        <p>
This is the result
</p>
        <p>
          <a href="http://www.stonecoastwebdesign.com/blog/content/binary/Windows-Live-Writer/Using-HTML-In-a-Calculated-Field-Column-_E4DF/image_2.png">
            <img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.stonecoastwebdesign.com/blog/content/binary/Windows-Live-Writer/Using-HTML-In-a-Calculated-Field-Column-_E4DF/image_thumb.png" width="626" height="141" />
          </a>
        </p>
        <p>
Additional References:
</p>
        <ul>
          <li>
            <a title="http://blog.pathtosharepoint.com/2008/11/01/troubleshooting-your-html-calculated-column/" href="http://blog.pathtosharepoint.com/2008/11/01/troubleshooting-your-html-calculated-column/">http://blog.pathtosharepoint.com/2008/11/01/troubleshooting-your-html-calculated-column/</a>
          </li>
          <li>
            <a title="https://www.nothingbutsharepoint.com/sites/eusp/Pages/default.aspx?cat=399" href="https://www.nothingbutsharepoint.com/sites/eusp/Pages/default.aspx?cat=399">https://www.nothingbutsharepoint.com/sites/eusp/Pages/default.aspx?cat=399</a>
          </li>
          <li>
            <a title="http://office.microsoft.com/en-us/windows-sharepoint-services-help/examples-of-common-formulas-HA010105479.aspx" href="http://office.microsoft.com/en-us/windows-sharepoint-services-help/examples-of-common-formulas-HA010105479.aspx">http://office.microsoft.com/en-us/windows-sharepoint-services-help/examples-of-common-formulas-HA010105479.aspx</a>
          </li>
          <li>
            <a title="http://office.microsoft.com/en-us/windows-sharepoint-services-help/CH010065006.aspx" href="http://office.microsoft.com/en-us/windows-sharepoint-services-help/CH010065006.aspx">http://office.microsoft.com/en-us/windows-sharepoint-services-help/CH010065006.aspx</a> </li>
        </ul>
        <img width="0" height="0" src="http://www.stonecoastwebdesign.com/blog/aggbug.ashx?id=14b9e37c-dd7f-499c-a74d-db90522ba983" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Sharepoint 2010 Calculated Field Columns</title>
    <link rel="alternate" type="text/html" href="http://www.stonecoastwebdesign.com/blog/2012/05/10/Sharepoint2010CalculatedFieldColumns.aspx" />
    <id>http://www.stonecoastwebdesign.com/blog/PermaLink,guid,aa44f435-39f6-499f-bcad-cedfdfd42838.aspx</id>
    <published>2012-05-10T11:31:55.7804291-07:00</published>
    <updated>2012-05-10T11:31:55.7804291-07:00</updated>
    <category term="Sharepoint" label="Sharepoint" scheme="http://www.stonecoastwebdesign.com/blog/CategoryView,category,Sharepoint.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <br />
          <a title="http://msdn.microsoft.com/en-us/library/bb862071.aspx" href="http://msdn.microsoft.com/en-us/library/bb862071.aspx">http://msdn.microsoft.com/en-us/library/bb862071.aspx</a>
        </p>
        <img width="0" height="0" src="http://www.stonecoastwebdesign.com/blog/aggbug.ashx?id=aa44f435-39f6-499f-bcad-cedfdfd42838" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Overriding Custom CSS in Sharepoint 2010</title>
    <link rel="alternate" type="text/html" href="http://www.stonecoastwebdesign.com/blog/2012/05/10/OverridingCustomCSSInSharepoint2010.aspx" />
    <id>http://www.stonecoastwebdesign.com/blog/PermaLink,guid,3cc13bdd-258b-43e7-affd-5ae6f371eec9.aspx</id>
    <published>2012-05-09T19:16:00-07:00</published>
    <updated>2012-05-09T12:18:19.105442-07:00</updated>
    <category term="Sharepoint" label="Sharepoint" scheme="http://www.stonecoastwebdesign.com/blog/CategoryView,category,Sharepoint.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <br />
In SharePoint 2010 Microsoft has added the After property to &lt;SharePoint:CssRegistration&gt;
to force custom CSS to always load after a specifi c CSS fi le, such as the out-of-the-box
corev4.css. Here is an example of how to apply custom CSS in a SharePoint 2010 master
page: 
<br /><br /></p>
        <pre class="csharpcode">
          <span class="kwrd">&lt;</span>
          <span class="html">SharePoint:CssRegistration</span>
          <span class="attr">name</span>=”/<span class="attr">Style</span><span class="attr">Library</span>/<span class="attr">customstyle</span>.<span class="attr">css</span>” <span class="attr">After</span>=”<span class="attr">corev4</span>.<span class="attr">css</span>” <span class="attr">runat</span>=”<span class="attr">server</span>”<span class="kwrd">/&gt;</span></pre>
        <style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
        <br />
The After property requires a more complete path to load CSS after fi les that are
not the out-of-thebox CSS. The following code shows how to ensure that one custom
CSS file is applied after another. Notice that the second one uses a more complete
path for the After property because it is loading after a custom CSS file: 
<br /><br /><pre class="csharpcode"><span class="kwrd">&lt;</span><span class="html">SharePoint:CssRegistration</span><span class="attr">name</span>=”/<span class="attr">Style</span><span class="attr">Library</span>/<span class="attr">customstyle</span>.<span class="attr">css</span>” <span class="attr">After</span>=”<span class="attr">corev4</span>.<span class="attr">css</span>” <span class="attr">runat</span>=”<span class="attr">server</span>”<span class="kwrd">/&gt;</span><span class="kwrd">&lt;</span><span class="html">SharePoint:CssRegistration</span><span class="attr">name</span>=”/<span class="attr">Style</span><span class="attr">Library</span>/<span class="attr">secondfile</span>.<span class="attr">css</span>” <span class="attr">After</span>=”/<span class="attr">Style</span><span class="attr">Library</span>/<span class="attr">customstyle</span>.<span class="attr">css</span>” <span class="attr">runat</span>=”<span class="attr">server</span>”<span class="kwrd">/&gt;</span></pre><style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style><img width="0" height="0" src="http://www.stonecoastwebdesign.com/blog/aggbug.ashx?id=3cc13bdd-258b-43e7-affd-5ae6f371eec9" /></div>
    </content>
  </entry>
  <entry>
    <title>Turning on full error messages in Sharepoint 2010</title>
    <link rel="alternate" type="text/html" href="http://www.stonecoastwebdesign.com/blog/2012/05/10/TurningOnFullErrorMessagesInSharepoint2010.aspx" />
    <id>http://www.stonecoastwebdesign.com/blog/PermaLink,guid,73f42f4b-b688-426d-ae41-ba0a3792ff8b.aspx</id>
    <published>2012-05-09T19:02:00-07:00</published>
    <updated>2012-05-09T12:02:44.4578954-07:00</updated>
    <category term="Sharepoint" label="Sharepoint" scheme="http://www.stonecoastwebdesign.com/blog/CategoryView,category,Sharepoint.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
 
</p>
        <p>
One of the first things you will realize when working on your custom master page is
that when you make a mistake, SharePoint’s default error messages are rather unhelpful.
As mentioned earlier, if you omit one of the required content placeholders and browse
a site that uses your master page,SharePoint will reply with simply “An unexpected
error has occurred.”  SharePoint can actually return descriptive error messages,
but they are turned off by default for security reasons. If you are working in a development
environment, 
<br />
though, it’s imperative to enable these full error messages. 
</p>
        <p>
Here are the steps for turning on the full error messages:
</p>
        <p>
1.  Log in to the physical SharePoint Server machine and navigate to the directory
that holds your SharePoint website. It will most likely be located at C:\inetpub\wwwroot\wss\VirtualDirectories\
and will be in a subdirectory with the port number of your SharePoint site. If you
have trouble finding it, you can open IIS7 and in the Sites folder, right-click your
SharePoint site, and then select Explore. This will take you directly to the directory
that holds your SharePoint website. 
<br /><br />
2.  Locate the fi le named web.config and open it for editing in Notepad. 
<br /><br />
3.  Press Ctrl+F and find the line of code that contains the word “callstack.”
You will find a line that looks like this: 
<br /></p>
        <pre class="csharpcode">
          <span class="kwrd">&lt;</span>
          <span class="html">SafeMode</span>
          <span class="attr">MaxControls</span>=”<span class="attr">200</span>” <span class="attr">CallStack</span>=”<span class="attr">false</span>” <span class="attr">DirectFileDependencies</span>=”<span class="attr">10</span>” <span class="attr">TotalFileDependencies</span>=”<span class="attr">50</span>” <span class="attr">AllowPageLevelTrace</span>=”<span class="attr">false</span>”<span class="kwrd">&gt;</span></pre>
        <style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
        <br />
Change both the CallStack and AllowPageLevelTrace attributes from false to true.
<p>
4. Press Ctrl+F again and this time search for the word “errors.” You will fi nd a
line that looks 
<br />
like this: 
<br /><br /></p><pre class="csharpcode"><span class="kwrd">&lt;</span><span class="html">customErrors</span><span class="attr">mode</span>=”<span class="attr">On</span>” <span class="kwrd">/&gt;</span></pre><pre class="csharpcode"><span class="kwrd"></span><font face="Arial">Change the mode
from On to Off. This tells IIS not to show its customary basic error messages and
to instead display the raw detailed error messages.<br /></font></pre><pre class="csharpcode"><font face="Arial">5. Save and close web.config. Note that
this change will cause IIS to restart the web application in which your SharePoint
site resides. Be careful when making edits to this file in production or shared development
environments. 
<br />
With these changes in place, browsing a page with an error will now reveal the complete
error message.</font></pre><img width="0" height="0" src="http://www.stonecoastwebdesign.com/blog/aggbug.ashx?id=73f42f4b-b688-426d-ae41-ba0a3792ff8b" /></div>
    </content>
  </entry>
  <entry>
    <title>Sharepoint Branding and Design</title>
    <link rel="alternate" type="text/html" href="http://www.stonecoastwebdesign.com/blog/2012/05/02/SharepointBrandingAndDesign.aspx" />
    <id>http://www.stonecoastwebdesign.com/blog/PermaLink,guid,06d32a6c-0329-4095-8577-4e873251e3b2.aspx</id>
    <published>2012-05-02T13:17:55.34299-07:00</published>
    <updated>2012-05-02T13:17:55.34299-07:00</updated>
    <category term="Sharepoint" label="Sharepoint" scheme="http://www.stonecoastwebdesign.com/blog/CategoryView,category,Sharepoint.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <br />
This blog has a lot of great information on this topic:
</p>
        <p>
          <a title="http://erikswenson.blogspot.com/" href="http://erikswenson.blogspot.com/">http://erikswenson.blogspot.com/</a>
        </p>
        <img width="0" height="0" src="http://www.stonecoastwebdesign.com/blog/aggbug.ashx?id=06d32a6c-0329-4095-8577-4e873251e3b2" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Creating a simple modal dialog box with Javascript in Sharepoint 2010</title>
    <link rel="alternate" type="text/html" href="http://www.stonecoastwebdesign.com/blog/2012/04/30/CreatingASimpleModalDialogBoxWithJavascriptInSharepoint2010.aspx" />
    <id>http://www.stonecoastwebdesign.com/blog/PermaLink,guid,b2c09f7b-d7bb-4f0b-b2f3-0005203aeade.aspx</id>
    <published>2012-04-29T18:05:42.076851-07:00</published>
    <updated>2012-04-29T18:05:42.076851-07:00</updated>
    <category term="Sharepoint" label="Sharepoint" scheme="http://www.stonecoastwebdesign.com/blog/CategoryView,category,Sharepoint.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <pre class="csharpcode">
          <span class="rem">//
Add a content editor Web Part to a page and add the following HTML.</span> ----------------------------------------------------------------------------------------
&lt;script type=<span class="str">"text/javascript"</span>&gt; <span class="kwrd">function</span> OpenDialog()
{ <span class="kwrd">var</span> options = SP.UI.$create_DialogOptions(); options.url
= <span class="str">"http://bing.com"</span>; options.width = 400; options.height
= 300; options.dialogReturnValueCallback = Function.createDelegate(<span class="kwrd">null</span>,
CloseCallback); SP.UI.ModalDialog.showModalDialog(options); } <span class="kwrd">function</span> CloseCallback(result,
target) { <span class="kwrd">if</span>(result === SP.UI.DialogResult.OK) { alert(<span class="str">'You
clicked OK'</span>); } } &lt;/script&gt; &lt;input type=<span class="str">"button"</span> value=<span class="str">"Show
Dialog"</span> onclick=<span class="str">"OpenDialog()"</span> /&gt;</pre>
        <p>
This is a very simple dialog but it opens a large scale of possibilities: you can
make server calls from within the dialog, you can host Silverlight applications.
</p>
        <p>
When the dialog is dismissed, the code in the callback function is executed. This
demo only displays a simple message, but based on the incoming result you can test
whether the user clicked the OK or the Cancel button and other choices that have been
made by the user in the dialog.
</p>
        <img width="0" height="0" src="http://www.stonecoastwebdesign.com/blog/aggbug.ashx?id=b2c09f7b-d7bb-4f0b-b2f3-0005203aeade" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Export data to an earlier SQL Server version</title>
    <link rel="alternate" type="text/html" href="http://www.stonecoastwebdesign.com/blog/2012/04/25/ExportDataToAnEarlierSQLServerVersion.aspx" />
    <id>http://www.stonecoastwebdesign.com/blog/PermaLink,guid,aa4333a3-81f7-4d1c-9d8e-b9ee4fe7b16f.aspx</id>
    <published>2012-04-25T10:20:45.0948662-07:00</published>
    <updated>2012-04-25T10:20:45.0948662-07:00</updated>
    <category term="SQL" label="SQL" scheme="http://www.stonecoastwebdesign.com/blog/CategoryView,category,SQL.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <br />
          <a title="http://www.mssqltips.com/sqlservertip/2676/export-data-to-an-earlier-sql-server-version/" href="http://www.mssqltips.com/sqlservertip/2676/export-data-to-an-earlier-sql-server-version/">http://www.mssqltips.com/sqlservertip/2676/export-data-to-an-earlier-sql-server-version/</a>
        </p>
        <img width="0" height="0" src="http://www.stonecoastwebdesign.com/blog/aggbug.ashx?id=aa4333a3-81f7-4d1c-9d8e-b9ee4fe7b16f" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Referenced Assembly Does Not Have a Strong Name</title>
    <link rel="alternate" type="text/html" href="http://www.stonecoastwebdesign.com/blog/2012/04/10/ReferencedAssemblyDoesNotHaveAStrongName.aspx" />
    <id>http://www.stonecoastwebdesign.com/blog/PermaLink,guid,e2f5a933-5c93-48bd-b6be-64e8a1dbd24d.aspx</id>
    <published>2012-04-10T10:28:53.5557794-07:00</published>
    <updated>2012-04-10T10:28:53.5557794-07:00</updated>
    <category term="C#" label="C#" scheme="http://www.stonecoastwebdesign.com/blog/CategoryView,category,C.aspx" />
    <category term="VB.NET" label="VB.NET" scheme="http://www.stonecoastwebdesign.com/blog/CategoryView,category,VBNET.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
 
</p>
        <p>
Recently had this problem
</p>
        <p>
          <a title="http://www.codeproject.com/Tips/341645/Referenced-assembly-does-not-have-a-strong-name" href="http://www.codeproject.com/Tips/341645/Referenced-assembly-does-not-have-a-strong-name">http://www.codeproject.com/Tips/341645/Referenced-assembly-does-not-have-a-strong-name</a>
        </p>
        <img width="0" height="0" src="http://www.stonecoastwebdesign.com/blog/aggbug.ashx?id=e2f5a933-5c93-48bd-b6be-64e8a1dbd24d" />
      </div>
    </content>
  </entry>
</feed>
