1

I'm using client object model in a custom webpart. What I'm looking for is a way to get the file-icons that represent the doc types of the files in a document library.

Probably I need a solution similar to SPUtility.MapToIcon but in client object model.

Thanks in advance

Stefan

2

There is a corresponding Javascript option:

http://msdn.microsoft.com/en-us/library/ie/ee658997.aspx

and http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.web.maptoicon.aspx (Microsoft.SharePoint.Client.dll or Microsoft.SharePoint.Client.Silverlight.dll)

  • Thanks a lot Ashish. That's exactly what I was looking for. – Stefan Hennicken Feb 10 '12 at 11:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.