Objective In this article, I will explain couple of things step by step How to work with Progress Bar control of Silver Light 3.0 How to consume WCF service in Silver Light application when both are in same solution. Step 1 Create a Web Application. Give any name of your choice. I am giving nameContinueContinue reading “Progress Bar control in Silver Light 3.0”
Author Archives: Dhananjay Kumar
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 hostedContinueContinue reading “WebGet and HttpWebRequest class”
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 isContinueContinue reading “HyperLinkField in SPGridView using Moss 2007 Object model”
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 UserContinueContinue reading “Programmatically creating folder in SharePoint Document library”
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 windowContinueContinue reading “Populating name of files from SharePoint Document library in a drop down list”
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 aContinueContinue reading “Configuring connection string using SPPersistedObject”
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 AddContinueContinue reading “Adding CheckBoxes in SharePoint GridView (SPGridView)”
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 givesContinueContinue reading “List Events Handling in SharePoint 2007”
How to add user in SharePoint site
Objective In this article, I am going to show step by step, how to add an existing windows user to SharePoint site. Step1 Click on Site Actions. then click Site Settings. Step 2 In Users and Permission tab click on People and Groups Step3 Click on New and then select Add Users option. Step 4ContinueContinue reading “How to add user in SharePoint site”
Programmatically adding document to SharePoint Document library
Objective In this article, I am going to add a document through code to a SharePoint document library. I am going to use SharePoint object model to add document. Assumption I do have a document library called “My Documents”. I am going to add document to this library. Currently the documents in library are asContinueContinue reading “Programmatically adding document to SharePoint Document library”