Year: 2009
-
File Upload from Silverlight using WCF
Objective This article will explain, How to upload a file from SilverLight client to server location using WCF. To achieve above task, follow the below steps. I am assuming here, that Reader has a basic concept of WCF Create WCF Service Consume in SilverLight client Follow the Steps below Step 1 Create and Host the…
-
WebGet and HttpWebRequest class
Objective This article will discuss about, different way of consuming HTTP enabled service (like REST).This article, will explain about WebGet and HttpWebRequest. Before reading this article, I will suggest readers to read my previous articles on REST, ADO.NET Data Service and Cross Domain issue on our site.Assumption Already REST service has been created and hosted…
-
HyperLinkField in SPGridView using Moss 2007 Object model
Objective This article is going to explain How to work with SPGridView How to add HypeLinkField on a SPGridView. How to Put SPGridView on a web part. How to deploy the web part on a sharepoint site. Assumption I have a SharePoint list called TestingHyperLink. Columns of SharePoint list are as below. Name column is…
-
Programmatically creating folder in SharePoint Document library
Objective In this article, I am going to create folder inside a document library using the SharePoint object model or in other words using .Net code. Assumption I do have a document library called “My Documents”. I am going to add folder this library. Currently the documents in library are as below. Working Procedure User…
-
Populating name of files from SharePoint Document library in a drop down list
Objective This article will show how to iterate through SharePoint document library and list out all the file names and bind the list to a drop down list. Working Screen When user will click on button name of the files will get loaded from document library to drop down list. Step 1 Create a…
-
Configuring connection string using SPPersistedObject
Objective In this article, I am going to show how to use SPPersistedObject to save connection string in config database of web application. I will also show how to configure connection string using ADMIN UI. We really do not need to go and configure the web.config manually. Background On a fine morning, I got a…
-
Adding CheckBoxes in SharePoint GridView (SPGridView)
Objective In this article, I am going to show how to add a checkboxes in SPGRidVIew. I will iterate through the SPGridView to find out the selected rows. Step 1 Create a SharePoint project by selecting Web Part template. Choose trust level to Fully. Or in other words deploy into the GAC. Step 2…
-
List Events Handling in SharePoint 2007
Objective The objective of this article is to give a very basic explanation of how to catch an event on a SharePoint list and deploy them programmatically. I will achieve in this article “User will get error message; whenever any item will get deleted from a particular list “. What is Event? Event handling gives…