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: Accessing list items using the sharepoint object model, CAML Query, get list items from sharepoint list, Programmatically get list items from sharepoint list or library, read list items from sharepoint, Read sharepoint list using caml and SPQuery, SPQuery, Using CAML and SPQuery · 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: 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
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: add formatted code in blog, hilite · 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: 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
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:- http://www.codeproject.com/KB/aspnet/CustomPagingForGridview.aspx http://msdn.microsoft.com/en-us/library/aa479347.aspx http://dotnetslackers.com/articles/ajax/ASPNETAjaxGridAndPager.aspx 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: custom pagination for gridview in sharepoint, custom pagination in gridview, GridView .PagerSettings.FirstPageText · 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:- – http://weblogs.asp.net/wesleybakker/archive/2008/12/29/Eliminate-page-flicker-in-SharePoint.aspx – alligatortags.com – developerit.com – psearch.info/s/irritating-flicker-postbacks-server 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: flickering issue with jquery in sharepoint, jquery in sharepoint, Moss 2007 Tips & Tricks · Posted in: jquery, MOSS, SharePoint, Tips & Tricks