.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

Picture Library - Selecting photos for download, selection remaining after download

Posted By:      Posted Date: September 23, 2010    Points: 0   Category :SharePoint
We have several picture libraries all containing dozens of photos. When a user ticks several photos and goes to Action > Download the selection remains after the download finishes. This is annoying to the users as they then have to untick their original selection each time they want to take another download. Can this be helped?

View Complete Post

More Related Resource Links

Selecting pictures from a particular directory in the Picture Library.

Hi, Im trying to get the images from a particular directory in a selected picture library, I have seen the SPListItemCollection _pictureList.Folders but im not sure how to access actual contents of these items. Sorry this isn't terrible detailed but i haven't really got any snippets atm. Thanks in advance Courtney O'Sullivan.  EDIT: This is my code but i know its wrong,  SPFile file = folders.File; i think is the actual folder itself instead of the files in the folder. SPListItemCollection listCollection = _pictureList.Folders; foreach (SPListItem folders in listCollection) { SPFile file = folders.File; //if there is a directory set if (PictureLibraryDirName.Length > 0) { bool bFoundDir = false; //if we have a folder directory string dirPath = SPUtility.GetUrlDirectory(file.Item.Url); if (dirPath != null) { string[] dirs = dirPath.Split(new char[] { '/' }); if (dirs.Length > 0) { foreach (string dir in dirs) { errormessage += dir; if (dir.Equals(PictureLibraryDirName)) { bFoundDir = true; } } } } //and if the file belongs to a different directory if (!bFoundDir) { continue; } }

Clicking on "Shared Documents" gives link to download instead of opening document library

Hi, I hope someone can help! All of a sudden (I don't know if someone has changed something!), whenever anone clicks on a link to open the "shared documents" document library in a specific site within our sharepoint site, instead of opening the document library, it instead gives a download dialog for a zip "AllItems.aspx" as a zip file. Anyone got any iteas what could have gone wrong and how to correct the issue?   Many thanks for any help!

Move a wiki library? (Save wiki as template/download wiki page)


Hi all,

I'm using SharePoint Foundation and there is no option to save a wiki library as a template, and the Download a copy control is disabled for the wiki pages. Is this normal? Is there anyway to save a wiki as a template?

Or, is there a different way to move an entire wiki library to a new site collection? The old, easy way was save it as a template and use that template in another site. Am I missing something?

Thanks for your time.

Download and Share Visual Studio Color Schemes

The good news is that Visual Studio allows you to completely customize the editor background and text colors to whatever you want - allowing you to tweak them to create the experience that is "just right" for your eyes and personality. You can then optionally export/import your color scheme preferences to an XML file via the Tools->Import and Export Settings menu command.

Free e-books Download

This is the link where we have get free e-books for downloading

how to know when a user finish his file download successfully ?


hi all

i am doing a page to sell files online

 the paying method is by a card or bank account and the customer is not registered to the site so i want to make sure that the customer has downloaded the file successfully after that the system completes the payment operation

so if there is any way to know do that tell me please

i use c# thanx all



where can i download from SSRS?


Hi all,

My  machine is alread installed with Sql Server 2005.  I need to install sql server 2005 reporting services as a add-on.

Where can i download this from. Can anyone post the link here..?


Thanks in advance


Ten Essential Tools: Visual Studio Add-Ins Every Developer Should Download Now


James Avery does it again with his popular list of developer tools. This time he covers the best Visual Studio add-ins available today that you can download for free.

James Avery

MSDN Magazine December 2005

.NET Tools: Ten Must-Have Tools Every Developer Should Download Now


This article introduces 10 development tools that can increase your productivity, give you a better understanding of .NET, and maybe even change the way that you develop applications. The tools covered include NUnit to write unit tests, Reflector to examine assemblies, FxCop to police your code, Regulator to build regular expressions, NDoc to create code documentation and five more.

James Avery

MSDN Magazine July 2004

Download forum free for .net



I search to download forum free for .Net plateforme,




Download db from web



I want add a download backup button to my site and when the user click the mssql database will start downloading to user computer.Can i do this ?

File Download Problem


Hi everyone,

I am using a download handler to handle the downloading of files from my website.  I am using a slightly modified code from the Microsoft article http://support.microsoft.com/kb/812406

Everything is working fine and downloading, even with large files, but it does not show the file size for any of the files to download. Even if theyre really small.

Here is my code for the handler

public class DownloadHandler : IHttpHandler

        public void ProcessRequest(HttpContext context)
            string path = "";
                path = context.Server.UrlDecode(context.Request.QueryString["src"]).DecryptString();
            catch(Exception ex)
            System.IO.Stream iStream = null;

            byte[] buffer = new Byte[10000];

            int length;

            long dataToRead;

            string filename = System.IO.Path.GetFileName(path);

                iStream = new System.IO.FileStream(context.Server.MapPath("~/" + path), System.IO.FileMode.Open,
                            System.IO.FileAccess.Read, System.IO.FileShare.Read);


Problem download file from SQL Server


Hello everyone. I am having an issue downloading files that I have store in SQL Server. I have no problem in a WinForm. What am I doing wrong in my code?

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        Dim sch As New clsReport
        Dim fileData As New clsReport.Letter
        fileData = sch.DownloadLetter(Session("LetterID"))
        Dim ms As System.IO.MemoryStream = fileData.fil

        Dim fil As Byte() = ms.ToArray
        Dim nam As String = fileData.name
        Dim ext As String = fileData.ext
        If Not fil Is Nothing Then
                ' Response.Clear()
                Response.AppendHeader("Content-Disposition", "attachment; filename=" + nam & "." & ext)
                ' Response.AddHeader("Content-Disposition", nam & "." & ext)
                Response.AddHeader("Content-Length", fil.Length.ToString)
                Response.ContentType = "Application/octet-stream"
                Response.Buffer = True
            Catch ex As Exception
            End Try

        End If

    End Su

The file reached the maximum download limit. Check that the full text of the document can be meaning



I'm facing an issue with the indexing.

I have 1 WFE+Index server+DB server.

Index server is not installed with MS FIlter pack 1.0

When crawling, the there will be document with warning in crawl log:
The file reached the maximum download limit. Check that the full text of the document can be meaningfully crawled.

Documents that with warning are such as doc, ppt, xls, docs, ppts and many others.
However, I view into the successful crawled document, there are doucments with ext doc and ppt.

For large file index, there are MaxGrowthFactor + MaxDownLoadSize required to be added into the index server.

As my understanding is, MS Filter Pack should installed into index server(already did, correct me if i'm wrong).

I looked into the Office SharePoint Seach(CA>Services in farm), if the server is appointed to "Use this server as indexing server", then MS Filter Pack is suppose to be installed into that particular server as well.

At the bottom, there also has another option is "Use all web front end for crawling".

The question here is, IF the option "Use all web front end for crawling" is selected.
Does the WED FRONT END Server required to installed the Ms Filte

Issue With MOSS 2007 Picture library



We have a MOSS 2007 publishing portal. We are currently facing issues with Picture library created with default picture library template.Whenever we have tried to upload an image to the picture library I am getting "acess denied" error message, though I have full permission to the site level as well as to the library level.I have seen the pictures are getting uploaded and in "checked out" state.It does not show the "edit properties" page on upload and does not even allow the owner of the image to edit the properties, gives the same access denied error message.

I have also tried to check in the image files through the "management and content structure", but the images are not getting checked in. Please let me know the root cause of this and how we can resolve this.





SharePoint Developer Training Kit Download

Download presentations, videos, labs, and demos that provide advanced guidance about how to develop for SharePoint.

Download the SharePoint 2010 SDK (RTM)

All the conceptual topics and managed code reference of the SharePoint 2010 SDK are now available for you to download in one convenient package.
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