This is a migrated thread and some comments may be shown as answers.

custom link/button

5 Answers 93 Views
ImageGallery
This is a migrated thread and some comments may be shown as answers.
Kjell
Top achievements
Rank 1
Iron
Kjell asked on 21 Oct 2015, 01:31 PM
I use RadImageGallery with SqlDataSource Binding. I want to use Thumbnails or LightBox for Display Area Mode. When i found a image that i like when i click around i want to get image id (from the DataSource) and have a button/link (Request.QueryString) to click to go to a other page, where i read more/download about the picture. How do i that? Is it possibility?

5 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 26 Oct 2015, 11:35 AM
Hello Kjell,

You can achieve this requirement by using the implementation demonstrated in the following code-library:
http://www.telerik.com/support/code-library/access-unique-datakeyvalue-and-delete-images-from-radimagegallery-bound-to-a-data-source

Hope this helps.

Regards,
Eyup
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Kjell
Top achievements
Rank 1
Iron
answered on 28 Oct 2015, 12:41 PM
The problem is that I need to postback before I can pick up the selected  image (databas) ID....
0
Eyup
Telerik team
answered on 02 Nov 2015, 11:53 AM
Hi Kjell,

In this case, you can set the unique ID of the record as the Tooltip of the image element. Then, you can access this dataka key value on the client-side (title) and open a RadWindow or RadToolTip placing the value into a QueryString pointing to another page (aspx) or UserControl (ascx).

Regards,
Eyup
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Kjell
Top achievements
Rank 1
Iron
answered on 09 Nov 2015, 01:57 PM
Any exemple how placing the value (ID from database) into a QueryString pointing to another page (aspx), client-side?
0
Angel Petrov
Telerik team
answered on 12 Nov 2015, 11:16 AM
Hello,

I am sorry to say but there is no example that illustrates such functionality. This seems like a general programming task and you should be able to find exemplary solution in the MSDN or StackOverflow forums.

Regards,
Angel Petrov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ImageGallery
Asked by
Kjell
Top achievements
Rank 1
Iron
Answers by
Eyup
Telerik team
Kjell
Top achievements
Rank 1
Iron
Angel Petrov
Telerik team
Share this question
or