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

Is it possible to put links in tiles?

3 Answers 177 Views
TileList
This is a migrated thread and some comments may be shown as answers.
Ned
Top achievements
Rank 1
Ned asked on 29 Oct 2014, 03:10 PM
We're able to redirect users to a link when they click tiles by using NavigateUrl. My question is that is it possible to add multiple links inside a tile?

For example, users will go to a.aspx when they click anywhere in tile. There will be also "Click for B" and "Click for C" links in tile. Users will be redirected to b.aspx or c.aspx from these links.

3 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 31 Oct 2014, 01:38 PM

Hi Nedim,

You can use a ContentTemplate tile and add the desired HTML inside: http://www.telerik.com/help/aspnet-ajax/tilelist-tiles-contenttemplatetile.html. For example:

<telerik:RadContentTemplateTile runat="server" ID="RadContentTemplateTile1" NavigateUrl="some-page.aspx">
    <ContentTemplate>
        <a href="A">Page A</a>
        <br />
        <a href="B">B</a>
    </ContentTemplate>
</telerik:RadContentTemplateTile>



Regards,

Marin Bratanov
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
Ned
Top achievements
Rank 1
answered on 03 Nov 2014, 09:57 PM
Thanks Marin, this was what I had been looking for.

A question about this control: Is there any easy way to assign a background image? There is no ImageUrl property for this control (except the one for title). Should we set the image with HTML/CSS?
0
Marin Bratanov
Telerik team
answered on 04 Nov 2014, 12:51 PM

Hello Nedim,

The ContentTemplate tile lets the developer define the entire content of the tile and this would include images, should you want them. You can add them as <img> tags, as background-image CSS rules for elements in your content, or override the built-in CSS of the control, depending on what you would need.


Regards,

Marin Bratanov
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.

 
Tags
TileList
Asked by
Ned
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Ned
Top achievements
Rank 1
Share this question
or