Archive for tag: Picture Library

Custom Webpart – Displays the latest image from picture library

13 October, 2008 (09:51) | MOSS - Object Model | By: GVK

Here is the simple custom webpart which displays the latest image from picture library. Download complete source code using System; using System.Runtime.InteropServices; using System.Web.UI; using System.Web.UI.WebControls.WebParts; using System.Xml.Serialization; using System.Web.UI.WebControls; using Microsoft.SharePoint; using Microsoft.SharePoint.WebControls; using Microsoft.SharePoint.WebPartPages; namespace LatestImage { [Guid("8c21451d-1763-4a7f-817c-f4330a5b1fd8")] public class LatestImage : System.Web.UI.WebControls.WebParts.WebPart { Image myimage = new Image(); protected override void CreateChildControls() [...]