Simon Channell
Top achievements
Rank 1
Simon Channell
asked on 13 May 2014, 01:50 PM
Is it possible to do something in an Item data bound event server side with a light Box?
If so can you please show me how?
If so can you please show me how?
3 Answers, 1 is accepted
0
Hello Simon,
I have created a new web site to demonstrate a basic sample. Please run the attached application and let me know if it helps you.
Regards,
Eyup
Telerik
I have created a new web site to demonstrate a basic sample. Please run the attached application and let me know if it helps you.
Regards,
Eyup
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Simon Channell
Top achievements
Rank 1
answered on 16 May 2014, 10:52 AM
I tried that but my form ended up in an endless loop
Here is my Databound code
The title has been set to one of the field from the database query in the page load event
Here is my Databound code
Protected Sub RadLightBox1_DataBound(sender As Object, e As EventArgs)<
br
> Dim items As RadLightBoxItemCollection = RadLightBox1.Items<
br
> For i As Integer = 0 To items.Count - 1<
br
> items(i).ImageUrl = "private/images/" + items(i).Title + ".jpg"<
br
> Next<
br
><
br
>End Sub
The title has been set to one of the field from the database query in the page load event
0
Hi Simon,
Can you please verify that you are trying with the latest release version of the controls? I am also sending a VB version of the sample, which works as expected on my side.
Looking forward to your reply.
Regards,
Eyup
Telerik
Can you please verify that you are trying with the latest release version of the controls? I am also sending a VB version of the sample, which works as expected on my side.
Looking forward to your reply.
Regards,
Eyup
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.