Quantcast
Channel: C# – SharePoint Insight
Browsing all 6 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Programmatically upload a file to Document Library

Following is a utility function which you can use to upload a file programmatically in SharePoint document library. It has two parameters. First is the source file path and second is the target...

View Article



Image may be NSFW.
Clik here to view.

Got MCTS Status Today! – Exam 70-542 Done!

Today, I got the status of MCTS: Microsoft Office SharePoint Server 2007 ― Application Development. This exam focuses on Application Development for Sharepoint Portal Server by utilizing enterprise...

View Article

Image may be NSFW.
Clik here to view.

How to add custom CSS in your WebPart

If you want to add custom CSS file for your webpart, here is the code: protected override void CreateChildControls() { base.CreateChildControls(); CssLink cssLink = new CssLink(); cssLink.DefaultUrl =...

View Article

Image may be NSFW.
Clik here to view.

How to generate a valid SharePoint FileName

SharePoint imposes several restrictions for the filenames. To get the details of all these restrictions, please check this support article from Microsoft. I have created a utility function to convert a...

View Article

Image may be NSFW.
Clik here to view.

Download wsp solution file from SharePoint Farm

Some times you need to download the solution file from SharePoint Farm. SharePoint user interface does not provide any functionality to achieve it .  Don’t worry, you can extract the solution file from...

View Article


Image may be NSFW.
Clik here to view.

Get FormDigest from C# using REST in SharePoint 2013

If you want to communicate with SharePoint 2013 through REST, you need to send FormDigest value with every request. In JavaScript, it is very easy as it will always be available on SharePoint Page...

View Article
Browsing all 6 articles
Browse latest View live




Latest Images