All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
New to Telerik UI for ASP.NET AJAX? Download free 30-day trial
RadTileList uses a collection of Tiles to create the overall UI of the control. Each of them can be declared separately in the page as a standalone control. The different tile types share most of their properties and ` functionality however there are some specific ones defining the appearance and the elements layout.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DefaultCS.aspx.cs" Inherits="Telerik.Web.Examples.TileList.Animations.DefaultCS" %> <!DOCTYPE html> <html xmlns='http://www.w3.org/1999/xhtml'> <head runat="server"> <title>Telerik ASP.NET Example</title> <link href="styles.css" rel="stylesheet" type="text/css" /> <script src="scripts.js" type="text/javascript"></script> </head> <body> <form id="form1" runat="server"> <telerik:RadScriptManager runat="server" ID="RadScriptManager1" /> <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" /> <div class="demo-container"> <div class="imageHeaderWrapper"> <img src="../../images/Tiles/Image_header.png" class="imageHeader" alt="" /> </div> <telerik:RadLiveTile ID="LiveTile1" OnClientDataLoadingError="telerikDemo.liveTileOnClientDataLoadingError" runat="server" Width="310" Height="310" Value="0" UpdateInterval="4000" OnClientTemplateDataBound="telerikDemo.liveTileOnClientTemplateDataBound"> <WebServiceSettings Path="defaultcs.aspx" Method="GetTileData" UseHttpGet="false" /> <ClientTemplateAnimationSettings AnimationDuration="1000" /> <ClientTemplate> <img class="liveTileTitleImg" src="../../images/Tiles/#= imageName #" alt=""/> <div class="liveTileTitle">#= title #</div> </ClientTemplate> </telerik:RadLiveTile> <telerik:RadImageTile ID="RadImageTile2" runat="server" Shape="Wide" ImageUrl="../../images/Tiles/ImageTile.png"> <Title Text="Mobile users can lock thier lost devices remotely"></Title> </telerik:RadImageTile> <telerik:RadContentTemplateTile ID="RadContentTemplateTile1" runat="server" Shape="Wide"> <ContentTemplate> <img class="weatherIcon" src="../../images/Tiles/ContentTemplateTile_icon.png" alt="" /> <div class="weatherInforWrapper"> <div class="degreesWrapper"> 15°C </div> <div class="weatherText"> Clouds and sun<br /> 25.09.2013<br /> Wednesday </div> </div> </ContentTemplate> <Title Text="Weather"></Title> </telerik:RadContentTemplateTile> <telerik:RadTextTile ID="RadTextTile1" runat="server" Text="The Moon is 100 million years younger than thought" Font-Size="10.5"> </telerik:RadTextTile> <telerik:RadImageAndTextTile ID="RadImageTile1" runat="server" Shape="Wide" Text="How High Sea Levels Go by 2100?" ImageUrl="../../images/Tiles/ImageAndTextTile1.png"> <PeekTemplateSettings Animation="Slide" ShowInterval="5000" CloseDelay="5000" AnimationDuration="1000" /> <PeekTemplate> <img src="../../images/Tiles/ImageAndTextTile2.png" alt="" /> </PeekTemplate> </telerik:RadImageAndTextTile> <telerik:RadIconTile ID="RadIconTile2" runat="server" ImageUrl="../../images/Tiles/IconTile.png"> <Title Text="Contact us"></Title> </telerik:RadIconTile> </div> </form> </body> </html>