In this demo you can see how the RadLightBox is bound to a RadClientDataSource.
You can data bind RadLightBox on the client to a RadClientDataSource control since Q2 2014. This functionality is provided out of the box through the ClientDataSourceID
property.
The seamless integration between these two controls allows a fully codeless approach.
You should only set the ClientDataSourceID and specify the LightBox DataFileds:
-
DataImageUrlField
-
DataImageUrlField
-
DataTitleField
-
DataTargetControlIDField