Archive for the ‘SharePoint 2010’ Category
Binding a SharePoint Event Handler
You must associate your event receiver with a SharePoint object type (the event host), which you do by binding the event receiver to the receiver host. There are two ways to bind an event receiver to a receiver host in Microsoft SharePoint Foundation 2010: 1.   By using the SharePoint Foundation object model. Most of the […]
March 21, 2012
·
Infoyen ·
No Comments
Tags: Binding a SharePoint Foundation Event Handler · Posted in: Event Handler, List, MOSS, SharePoint, SharePoint 2010
Lists Throttling in SharePoint 2010
In this article I am showing you a new feature in SharePoint 2010 called throttling Detail:- In SharePoint 2007 the max items that can be returned by a list view was approximately 2000 items and any query over this limit shall result in low performance and increased load on the server. But SharePoint P2010 list […]
March 14, 2012
·
Infoyen ·
No Comments
Tags: Lists Throttling, SharePoint 2010, SharePoint 2010 List Throttling, SharePoint 2010 list view throttling and custom CAML queries, Understanding List Query Throttling Limits in SharePoint 2010, Working with Large Lists in SharePoint 2010 - List Throttling · Posted in: SharePoint 2010
Downloading File using stream on sharepoint page
Description This article will show you how to buffer data into a MemoryStream from a query and output the buffered data back to the browser as a dialog (with save open cancel). The Code: – The first step is to get object of SPSite and SPWeb. – Second steps is to get SPListItem object using […]
February 24, 2012
·
Infoyen ·
No Comments
Tags: download a document in SharePoint using stream, Download document using file bytes, Download sharepoint file into memorystream object, Downloading File using stream, Moss 2007 Tips & Tricks, SharePoint stream file for preview · Posted in: ASP .NET, MOSS, SharePoint, SharePoint 2010
Upload file in document library with metadata including lookup field using sharepoint web service
Issue When we try to upload document (especially pdf) with metadata association to sharepoint document library using CopyIntoItems method of Copy webservice. Then it works great for upload & association of metadata. However it has one issue: It could not update metadata for lookup column but it does not throw any error also. Description This […]
February 23, 2012
·
Infoyen ·
8 Comments
Tags: Copy webservice, CopyIntoItems, Lists web service, UpdateListItems web service method, upload document using Copy.asmx, upload document using CopyIntoItems, upload document using sharepoint web service, Upload file in document library using sharepoint web service, Web Service · Posted in: MOSS, SharePoint, SharePoint 2010, Web Service
How to avoid Access denied page in sharepoint
Description Access denied exception is handled by sharepoint platform and user will be redirected to _layouts/AccessDenied.aspx page if user doesn’t have permission to perform that task. This might cause usability problem in some cases The Code: You can handle access denied exception in your code by setting CatchAccessDeniedException value to true. Following code snippet shows […]
February 22, 2012
·
Infoyen ·
No Comments
Tags: avoid Access denied page in sharepoint, CatchAccessDeniedException, MOSS, SharePoint · Posted in: MOSS, SharePoint, SharePoint 2010