custom link/button

6 posts, 0 answers
  1. Kjell
    Kjell avatar
    203 posts
    Member since:
    May 2011

    Posted 21 Oct 2015 Link to this post

    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?
  2. Eyup
    Admin
    Eyup avatar
    3007 posts

    Posted 26 Oct 2015 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Kjell
    Kjell avatar
    203 posts
    Member since:
    May 2011

    Posted 28 Oct 2015 in reply to Eyup Link to this post

    The problem is that I need to postback before I can pick up the selected  image (databas) ID....
  5. Eyup
    Admin
    Eyup avatar
    3007 posts

    Posted 02 Nov 2015 Link to this post

    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
  6. Kjell
    Kjell avatar
    203 posts
    Member since:
    May 2011

    Posted 09 Nov 2015 in reply to Eyup Link to this post

    Any exemple how placing the value (ID from database) into a QueryString pointing to another page (aspx), client-side?
  7. Angel Petrov
    Admin
    Angel Petrov avatar
    1006 posts

    Posted 12 Nov 2015 Link to this post

    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
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017