News Feeds

LightBox.NET is the packaging of Lightbox JS v2.0 project developed by Lokesh Dhakar into a .NET assembly along with two simple web controls to provide the “lightbox” support. The first web control, ScriptManager, is used to install the necessary script, image and CSS files into your ASP.NET application and to add the correct HTML elements to your element. If you want to use LightBox.NET in your page, you need to place a ScriptManager control in it.

The syntax is something like this:
<lbn:scriptmanager runat="server" id="imgManager" />

From here, you can now use the Hyperlink web control to render out your "lightboxed" image by setting the imageurl and navigateurl properties. If you want to take advantage of the image set feature the script offers, you will only need to specify the group property of the control. The syntax is something like this:

<lbn:hyperlink id="img1" runat="server" imageurl="images/thumb-1.jpg" navigateurl="images/image-1.jpg" tooltip="Picture 1" />

Check out the latest release to see if you like LightBox.NET!

Last edited Dec 7, 2006 at 10:16 PM by codeplexadmin, version 6