<?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>SharePoint @ Big Scholar &#187; SharePoint Web Parts</title>
	<atom:link href="http://www.bigscholar.com/category/sharepoint-web-parts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bigscholar.com</link>
	<description>Developing, Configuring and Designing in SharePoint</description>
	<lastBuildDate>Thu, 15 Jul 2010 01:12:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Hide buttons from lists</title>
		<link>http://www.bigscholar.com/2010/07/06/hide-buttons-from-lists/</link>
		<comments>http://www.bigscholar.com/2010/07/06/hide-buttons-from-lists/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 00:44:07 +0000</pubDate>
		<dc:creator>Wei</dc:creator>
				<category><![CDATA[SharePoint Web Parts]]></category>
		<category><![CDATA[SharePoint Document Library]]></category>
		<category><![CDATA[SharePoint Lists]]></category>

		<guid isPermaLink="false">http://www.bigscholar.com/?p=157</guid>
		<description><![CDATA[Simple one... add a content editor web part and add the following code: &#60;style&#62; .ms-menubuttoninactivehover{  display: none; } .ms-separator{  display: none; } .ms-splitbuttondropdown{  display: none; } .ms-viewselector{  display: none; } .ms-listheaderlabel{  display: none; } &#60;/style&#62; You'll notice that some of those buttons disappear.]]></description>
		<wfw:commentRss>http://www.bigscholar.com/2010/07/06/hide-buttons-from-lists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exporting and importing SharePoint sites</title>
		<link>http://www.bigscholar.com/2009/12/02/exporting-and-importing-sharepoint-sites/</link>
		<comments>http://www.bigscholar.com/2009/12/02/exporting-and-importing-sharepoint-sites/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 20:32:34 +0000</pubDate>
		<dc:creator>Wei</dc:creator>
				<category><![CDATA[SharePoint Web Parts]]></category>

		<guid isPermaLink="false">http://www.bigscholar.com/?p=143</guid>
		<description><![CDATA[stsadm -o setproperty -propertyname max-template-document-size -propertyvalue 500000000 (hard limit of 500Mb)   Then to export the site and import it, run the following commands on your intranet   Note: you will need to give full control permissions to whoever is logged in on the intranet server for the site being imported to. What I did was [...]]]></description>
		<wfw:commentRss>http://www.bigscholar.com/2009/12/02/exporting-and-importing-sharepoint-sites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updating SharePoint user profiles using C# code</title>
		<link>http://www.bigscholar.com/2009/10/14/updating-sharepoint-user-profiles-using-c-code/</link>
		<comments>http://www.bigscholar.com/2009/10/14/updating-sharepoint-user-profiles-using-c-code/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 23:58:52 +0000</pubDate>
		<dc:creator>Wei</dc:creator>
				<category><![CDATA[SharePoint Web Parts]]></category>

		<guid isPermaLink="false">http://www.bigscholar.com/?p=141</guid>
		<description><![CDATA[Here's a quick code snippet for updating user profile information in SharePoint     SPSite siteCollection = null;     SPWeb web = null;     siteCollection = SPContext.Current.Site;     web = siteCollection.RootWeb;     web.AllowUnsafeUpdates = true;     SPList list = web.Lists["User Information List"];     SPUser user = web.SiteUsers["DOMAIN\user"];     SPListItem item = list.Items.GetItemById(user.ID);     item["FirstName"] = "John";     item["LastName"] [...]]]></description>
		<wfw:commentRss>http://www.bigscholar.com/2009/10/14/updating-sharepoint-user-profiles-using-c-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Folder Contents from a URL string</title>
		<link>http://www.bigscholar.com/2009/04/03/getting-folder-contents-from-a-url-string/</link>
		<comments>http://www.bigscholar.com/2009/04/03/getting-folder-contents-from-a-url-string/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 00:21:31 +0000</pubDate>
		<dc:creator>Wei</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[SharePoint Web Parts]]></category>
		<category><![CDATA[SPDocumentLibrary]]></category>
		<category><![CDATA[SPFile]]></category>
		<category><![CDATA[SPFolder]]></category>

		<guid isPermaLink="false">http://www.bigscholar.com/?p=100</guid>
		<description><![CDATA[First thing to clear up is this... a document library is not a folder and a folder is not a document library. A folder resides in a document library and the SPFolder class doesn't have the same methods as the SPDocumentLibrary class (unfortunately). For example, you can get the last modified date of any file [...]]]></description>
		<wfw:commentRss>http://www.bigscholar.com/2009/04/03/getting-folder-contents-from-a-url-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Document Library name from URL string</title>
		<link>http://www.bigscholar.com/2009/04/03/getting-document-library-name-from-url-string/</link>
		<comments>http://www.bigscholar.com/2009/04/03/getting-document-library-name-from-url-string/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 00:05:04 +0000</pubDate>
		<dc:creator>Wei</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[SharePoint Web Parts]]></category>
		<category><![CDATA[SPDocumentLibrary]]></category>

		<guid isPermaLink="false">http://www.bigscholar.com/?p=98</guid>
		<description><![CDATA[Here's what was happening. I needed to extract the document library name from an intranet URL that a user enters. So they would enter something like this as the URL: http://intranet/site/subsite/DocLib1/Forms/AllItems.aspx and from there I need to extract DocLib1 as SPDocumentLibrary. Problem here is that no matter the depth, I still need to find the [...]]]></description>
		<wfw:commentRss>http://www.bigscholar.com/2009/04/03/getting-document-library-name-from-url-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Downloading files stored in SQL Server via SharePoint Web Part</title>
		<link>http://www.bigscholar.com/2009/03/25/downloading-files-stored-in-sql-server-via-sharepoint-web-part/</link>
		<comments>http://www.bigscholar.com/2009/03/25/downloading-files-stored-in-sql-server-via-sharepoint-web-part/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 22:02:28 +0000</pubDate>
		<dc:creator>Wei</dc:creator>
				<category><![CDATA[SharePoint Web Parts]]></category>
		<category><![CDATA[File Manipulation]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.bigscholar.com/?p=62</guid>
		<description><![CDATA[In your web part render override, create a link that looks something like this: &#60;a href="http://your_intranet/path/to/page/with/webpart/Pages/default.aspx?getfileid=5"&#62;Get File with ID 5&#60;/a&#62; I'm hard coding the above because I'm assuming that you know how to query the database and display the relevant link on your web part. Now, the code to download the file once the above [...]]]></description>
		<wfw:commentRss>http://www.bigscholar.com/2009/03/25/downloading-files-stored-in-sql-server-via-sharepoint-web-part/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Uploading files to SQL Server via SharePoint Web Part</title>
		<link>http://www.bigscholar.com/2009/03/25/uploading-files-to-sql-server-via-sharepoint-web-part/</link>
		<comments>http://www.bigscholar.com/2009/03/25/uploading-files-to-sql-server-via-sharepoint-web-part/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 21:49:01 +0000</pubDate>
		<dc:creator>Wei</dc:creator>
				<category><![CDATA[SharePoint Web Parts]]></category>
		<category><![CDATA[File Manipulation]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.bigscholar.com/?p=60</guid>
		<description><![CDATA[Firstly, make sure that you have a varbinary and/or image field in your table since we are going to store the file you upload in binary form. Again, let's start with the important variables:         private HtmlInputFile inputFile = new HtmlInputFile();         private Button btnSubmitFile = new Button();  Then within the CreateChildControls Override:         protected override [...]]]></description>
		<wfw:commentRss>http://www.bigscholar.com/2009/03/25/uploading-files-to-sql-server-via-sharepoint-web-part/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using XSLT in web parts</title>
		<link>http://www.bigscholar.com/2009/03/25/using-xslt-in-web-parts/</link>
		<comments>http://www.bigscholar.com/2009/03/25/using-xslt-in-web-parts/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 20:58:26 +0000</pubDate>
		<dc:creator>Wei</dc:creator>
				<category><![CDATA[SharePoint Web Parts]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[XSLT]]></category>

		<guid isPermaLink="false">http://www.bigscholar.com/?p=52</guid>
		<description><![CDATA[This is useful if you want to give the client the ability to design their own web part, format it in any way they like while pulling merge fields from xml. Not sure if that was very clear... let me try again. The web part will create XML that contains fields that can be used by [...]]]></description>
		<wfw:commentRss>http://www.bigscholar.com/2009/03/25/using-xslt-in-web-parts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Querying SharePoint Lists</title>
		<link>http://www.bigscholar.com/2009/03/24/querying-sharepoint-lists/</link>
		<comments>http://www.bigscholar.com/2009/03/24/querying-sharepoint-lists/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 00:10:03 +0000</pubDate>
		<dc:creator>Wei</dc:creator>
				<category><![CDATA[SharePoint Web Parts]]></category>
		<category><![CDATA[SharePoint Lists]]></category>

		<guid isPermaLink="false">http://www.bigscholar.com/?p=39</guid>
		<description><![CDATA[Ok, this one is fairly basic... I'm just putting it here because I use this bit of code really, really often. SPWeb mySite = SPContext.Current.Web; SPListItemCollection listItems = mySite.Lists["NameOfList"].Items; int countResults = 0; for (int i = 0; i &#60; listItems.Count; i++) {     SPListItem item = listItems[i];     writer.Write(item["Title"].ToString()+"&#60;br /&#62;"); } Nice and simple...]]></description>
		<wfw:commentRss>http://www.bigscholar.com/2009/03/24/querying-sharepoint-lists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DataGrids in SharePoint Web Parts</title>
		<link>http://www.bigscholar.com/2009/03/24/datagrids-in-sharepoint-web-parts/</link>
		<comments>http://www.bigscholar.com/2009/03/24/datagrids-in-sharepoint-web-parts/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 00:03:44 +0000</pubDate>
		<dc:creator>Wei</dc:creator>
				<category><![CDATA[SharePoint Web Parts]]></category>
		<category><![CDATA[DataGrid]]></category>

		<guid isPermaLink="false">http://www.bigscholar.com/?p=37</guid>
		<description><![CDATA[Most discussions on data grids were for ASP.net and not in web parts and that annoyed me... so here's a few things you need to know about datagrids in web parts in SharePoint. Firstly, the datagrid needs to be bound in CreateChildControls.                 dgRecords = new DataGrid();                 dgRecords.EnableViewState = true;                 dgRecords.Width = new [...]]]></description>
		<wfw:commentRss>http://www.bigscholar.com/2009/03/24/datagrids-in-sharepoint-web-parts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
