Telerik LightBox Control with Templates, Items Collection, Automatic Resizing and Paging
The LightBox popup control included with Telerik's ASP.NET control suite provides support for templates, which provides an ability for the control to hold different type of content like images, iFrames, HTML code and ASP.NET server controls. It also enables you to bind to different datasources such as SqlDataSource, LinqDataSource, EntityDataSource and ObjectDataSource.
The control includes features such as automatic resizing, keyboard navigation, paging and modality and enables you to set different resize and fade animation types for open, hide, next and prev actions. It can be placed by double clicking it from the Visual Studio 2013 toolbox and usage will look like as shown below
<telerik:RadLightBox ID="RadLightBox1" runat="server" DataSourceID="SqlDataSource1"
In order to work with Items collection, create an object of RadLightBoxItem and add the required description, title, URL, width and height. Finally, add the object collection to an instance of RadLightBox control as shown below
Daniel Peichev, Software Developer, Telerik in his blog post has examined the steps required to setup a relation between a given trigger control and an item from the Items collection.
Jessica Kerr Nov 01, 2014
Yoni Goldberg Oct 30, 2014
Dmytro Svarytsevych Oct 30, 2014