.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

SP2010: Sinlge list events

Posted By:      Posted Date: October 25, 2010    Points: 0   Category :SharePoint
If i understand right event handler in sharepoint apply to an entire site
Is there a way to write event handlers referred to a single list?

View Complete Post

More Related Resource Links

Upgrade List from MOSS 2007 to SP2010

Hi, I have a list in MOSS2007 and I want to save it as a template to use it in SharePoint 2010. But, the problem we can't use stp file in SP2010. So, did you have idea about creating wsp package in 2007 for existing List ? I have seen this article but it talk about Discussion List Feature. Thanks 

How do I open an application by clicking on a specific document from the list of documents on SP2010



I created my own file type. And I have an application to open this specific file (xml).  In SP2010 created a list of documents and have uploaded this file type on my list of specific documents and up to here everything is working fine. 

But when I click the file from the list of documents that he was open with my software or whether it is possible to synchronize with the file.
My application (WPF Application) is already prepared to receive through "CommandLineArgument" the name and location of the file. If I go to the folder where my file and make double click, my software starts and open the file.
How do I open t

Expanding Recuring Events in a Calendar list


Hi all,

I have a remote Web service that connects and queries a sharepoint site collection. One specific query is on a events list. Some of the events are recuring so I want these expanded so I can view the individual instances. I am aware that SPQuery is able to do this, but since this service is remote from the sharepoint server, I have been forced to use the Microsoft.Sharepoint.Client namespace to connect to the site collection.

Does anyone know how I can expand the recurring events without having to write my own code to parse the RecurrenceData field of the event item ?

Problem quering calendar list with recurring events


Hi guys,

I need to get all events from a list which are overlap with a range of time (StartDateTime - EndDateTime).

The problem is that recurring events has EventDate as the first day of recurence and EndDate 30 years later so absolutly all ranges of time get into any recurring period.

Is there a way to fix it?

SP2007 designer list workflow to SP2010


Hello all,

Is there a way to ;
- get an upgraded Sharepoint designer 2007 list workflow into a 2010 VS WSP
- get an upgraded Sharepoint designer 2007 list workflow into a 2010 re-usable workflow

Without having to re-create ? :)


Calendar Web Part for SharePoint that displays and gives fetails of events from an event list: Value

Hi All,

         I have followed the following post to create the custom Calendat webpart, that displays the details of events from events list. 

But i am getting the following error when i click on the dates shown as there are some events. The error looks like the following,

Server Error in '/' Application.

Value does not fall within the expected range. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.ArgumentException: Value does not fall within the expected range.

Source Error: 

SP2010 List containing multiple steps approval


Dear all,

Im sending this message in a bottle just in case.
I administrate an eRoom community (about 2000 employees) since 6 years.

We are now looking for a new system and have deployed SharePoint as a candidate to replace eroom.

However one of our bigest  used objects are  the Approval steps databases.

Approval steps databases (=lists in SharePoint) allows a new entry to be pushed to higher level or Rejected and push back to previous level.

I wonder if there is any "out of the box" workflows able to do this job !
If not is there any specific terms to search for or any good approach to have maybee ?

The approval steps list should behave this way :
New entry > [Push to next level if approved] >  Step 2 > [Push to Step 3 if approved]/or/[Push back to Step 1 if rejected] > Step 3 > [Push to Step 4 if approved]/or/[Push back to Step 2 if rejected] and so on.


Many thanks in advance for your time!
Much appreciated.




Not able to see any events in outLook calendar which is integrated with WSS 3.0 Calendar List (User


When I click "Actions", "Connect to Outlook" it appears to work and even opens a calendar view.  The calendar is empty though (but the calendar on sharepoint does have entries).  I get the following error message from outlook:

"Task 'SharePoint' reported error (0x80070005) : 'You do not have permission to view this SharePoint List . Contact the SharePoint site administrator.  HTTP 302.'"


I am able to view the calendar in sharepoint, so I do have permission to view it. 

SP2010: How to list all memebers which has access to a list/view/doc-lib ?


Hello World,

I have searched but not found, maybe you can get me some advice...

How can I in Sharepoint 2010 with help from C# get a list (or array) containing names of user that has access to a certain list/list-view ?

With access I mean that the user shall have ability to add/remove a document from that list ...


I assume that I have to send as an inparameter some kind of name for that list/view/doc-lib ...

As you might see from my question am I not so good i SP/C# dev but soon I hope to be some more smarter :-)



WCF Tutorial - Events and Callbacks

we described how to make a very simple client/server application where clients would call functions on the server through a shared interface. In this tutorial, I'm going to expand that application to allow the server to execute functions on the client by using callbacks. Essentially, this is WCF's mechanism to allow events to be raised from the server to it's connected clients.

Ready made List Types provided by SharePoint

SharePoint provides some out of the box List Types. Some of the most used ready made list types that SharePoint provides currently are listed below:

Export SharePoint List to Excel Spreadsheet Programmatically using C#

In SharePoint applications, Custom Lists are used to store business data and Document Libraries to store the documents. But for data manupulation and analysis, Microsoft Excel provides very rich features as compared to SharePoint Lists. That's why people still loves to work on Microsoft Excel Sheets.

Dropdown list in ASP.NET - How to get value selected

am sure this must be very simple, but unforunately I can't figure it out.
I have the following code which populates the dropdown lists from the database. This works fine. Now, when the user selects a particular employee name from the list, I want to get the Employee Id of the selected employee. i.e. I need to get the "Eid" value. I can do this if the EId is loaded in the dropdown list, but in this case only the employee name is displayed. Please let me know howI can get the Eid value even though it is not loaded in the dropdown list.
I would really appreciate your help

Creating Sites/Lists/List Items under Current User Context in SharePoint By Using SPUserToken

Usually we do this by performing the action under RunWithElevatedPrivileges method and updating the listitem using SPListItem.SystemUpdate() method (see here). but this approach has its own flaws like (RunWithElevatedPrivileges will run under system account, we cannot use SystemUpdate for SPSite,SPWeb,SPList, since it runs under system we will "CreatedBy" by as SystemAccount).

Editable Gridview with Textbox, CheckBox, Radio Button and DropDown List

This is an example of an editable gridview containing different ASP.NET controls. When user wants to edit values in gridview, she/he can use these controls to edit existing values in Gridview Edit Mode.

Using the Code

Delegates and events in c#.net

People often find it difficult to see the difference between events and delegates. C# doesn't help matters by allowing you to declare field-like events which are automatically backed by a delegate variable of the same name. This article aims to clarify the matter for you. Another source of confusion is the overloading of the term "delegate". Sometimes it is used to mean a delegate type, and at other times it can be used to mean an instance of a delegate type. I'll use "delegate type" and "delegate instance" to distinguish between them, and "delegate" when talking about the whole topic in a general sense.

Get pixel format, raw format, property id list and property items image in VB.net - C#.net.

n this simple article you will learn that how we can get pixel format, raw format, property id list and property items image in VB and C#.net.

Get Pixel Format:

Image consists of pixels to get the format of the pixel we have a property named pixel format. This property returns an enumeration of pixel format. This enumeration tells the pixel format.

To demonstrate make a window application. Drag one button and a picture box on form.

Now write the following code on Button click event:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend