1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Image control propery to navigate to external site

Image control propery to navigate to external site

3 posts, 0 answered
  1. Rama Krishna
    Rama Krishna avatar
    14 posts
    Registered:
    20 Nov 2008
    22 Dec 2008
    Link to this post
    Hi,

    I have one image in my home page. When user clicks on it, it should navigate to external site, but I didn’t find any URL property for Image control to specify the external site link.

    Can you guide me to achieve this functionality?

    Thanks,
         
    RK

  2. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    22 Dec 2008
    Link to this post
    adding an image alone isn't enough to create a link because an image is not a link. however, in the editor, if you first click the image to select it, then click the HyperLink button in the toolbar, you can assign a url link to the image.

    I hope this was helpful
  3. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    10 Jan 2009
    Link to this post
    Hello,

    A possible solution is to use Hyper Link or Dynamic Hyper Link. NavigateUrl property (under section Navigation) should point to the page you want to navigate, while ImageUrl (under section Appearance) should be set to the URL of an image to be displayed.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Register for webinar
3 posts, 0 answered