Archive for February, 2012

Sharepoint Retrieve List Item Using CAML And SPQuery

Description: This article will show you how to get items from sharepoint list or document library with greater performance. This function is generic method which can be use in sharepoint implementation where you required to get list items. Before you query, you should have below inputs: 1. Site Url 2. List Name 3. Caml query […]

February 24, 2012 · Infoyen · 7 Comments
Tags: , , , , , , ,  · Posted in: CAML, List, MOSS, SharePoint

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: , , , , ,  · Posted in: ASP .NET, MOSS, SharePoint, SharePoint 2010

How to add formatted code in blog

Hi, I wish to add code of any technical language may be c# or java etc into my blog.  But it takes too much time to convert page in decent format. I want in proper format the way its there in our dev toll like Visual Studio. I search and found one good site who […]

February 24, 2012 · Infoyen · No Comments
Tags: ,  · Posted in: General

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: , , , , , , , ,  · 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: , , ,  · Posted in: MOSS, SharePoint, SharePoint 2010

custom pagination for gridview in sharepoint

If you want to implement custom pagination having “Next” and “Prev” button in gridview then you have following options:- But i have got one more good solution which works well for me. See below:- 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 […]

February 21, 2012 · Infoyen · No Comments
Tags: , ,  · Posted in: ASP .NET, MOSS, SharePoint

flickering issue with jquery in sharepoint

Hi, I had flickering issue on sharepoint site when i try to use jQuery. I search lots but none of solution works for me.Few solution are there on some blogs like:- – – – – as per these above blogs below code solve issue <meta http-equiv=”Page-Exit” content=”blendTrans(Duration=0.0)” /> but all these […]

February 21, 2012 · Infoyen · No Comments
Tags: , ,  · Posted in: jquery, MOSS, SharePoint, Tips & Tricks

myworldmaps infoyen