Edit this page

TileList Object

Public properties

Name Type Description
AppendClientDataBoundItems bool Gets or sets a bool value that indicates whether the tiles are cleared before client-side data binding.
AppendDataBoundItems bool Gets or sets a bool value that indicates whether the tiles are cleared before data binding. See the Defining structure help article for details.
AutoPostBack bool Gets or sets a value indicating whether a postback to the server automatically occurs when the user changes the RadTileList selection or clicks on a tile.
ClientDataSourceID string The ID of a RadClientDataSource control that RadTileList will use for client-side data binding. See the Client-side Data Binding article for details.
DataBindings This property exposes the databinding configuration of the control. More information on using it is available in the Databinding Basics help article.
DataSource An IEnumberable collection can be passed to this property in order to databind the control. Note that theDataBind() method must be called afterwards.
DataSourceID The ID of a declarative datasource control that RadTileList will use for databinding.
EnableDragAndDrop bool Gets or sets a bool value that indicates whether a drag and drop functionality is enabled.
Groups TileGroupCollection Gets a TileGroupCollection object that contains the tile groups of the TileList. Can be used to iterate through the collection and add tiles to given groups' Tiles collection.
CssClass string The custom CSS class that is applied to the main wrapper element of the control.
Height Unit The height of the control. Usually it is not needed, the control will calculate it according to the number of rows (set through the TileRows property) and the need for scrollbars.
OnClientLoad string Gets or sets the name of the JavaScript function that will be called after the client object of RadTileList is initialized. See the OnClientLoad help article.
OnClientTileClicked string Gets or sets the name of the JavaScript function that will be called when a tile in a RadTileList is clicked, after the OnClientTileClicking event. See the OnClientTileClicked help article.
OnClientTileClicking string Gets or sets the name of the JavaScript function that will be called when a tile in a RadTileList is clicked. The event is cancelable. See the OnClientTileClicking help article.
OnClientTileContentTemplateDataBound string Gets or sets the name of the JavaScript function that will be called when a ClientContentTemplate of a tile in a RadTileList is bound. See the OnClientTileContentTemplateDataBound help article.
OnClientTileCreating string Gets or sets the name of the JavaScript function that will be called before a tile in a RadTileList is rendered in the browser. The event is cancelable. See the OnClientTileCreating help article.
OnClientTileDataBound string Gets or sets the name of the JavaScript function that will be called when a tile in a RadTileList is bound. See the OnClientTileDataBound help article.
OnClientTileDragging string Gets or sets the name of the JavaScript function that will be called while a tile in a RadTileList is being dragged.The event is not cancelable. See the OnClientTileDragging help article.
OnClientTileDragStart string Gets or sets the name of the JavaScript function that will be called when a tile in a RadTileList starts being dragged. The event is cancelable. See the OnClientTileDragStart help article.
OnClientTileDropped string Gets or sets the name of the JavaScript function that will be called when a tile in a RadTileList is dropped. The event is not cancelable. See the OnClientTileDropped help article.
OnClientTileDropping string Gets or sets the name of the JavaScript function that will be called when a tile in a RadTileList is about to be dropped. The event is cancelable. See the OnClientTileDropping help article.
OnClientTileListDataBound string Gets or sets the name of the JavaScript function that will be called when the RadTileList is bound. See the OnClientTileListDataBound help article.
OnClientTilePeekTemplateDataBound string Gets or sets the name of the JavaScript function that will be called when the ClientTilePeekTemplate of a tile in a RadTileList is bound. See the OnClientTilePeekTemplateDataBound help article.
OnClientTileSelected string Gets or sets the name of the JavaScript function which handles the selection of a tile on the client-side. See theOnClientTileSelected help article.
OnClientTileSelecting string Gets or sets the name of the JavaScript function which handles the selecting of a tile client-side event. Occurs before the tile is selected and is cancellable. See the OnClientTileSelecting help article.
OnSelectionChanged event The event handler for the SelectionChanged server-side event.
OnTileClick event The event handler for the TileClick server-side event.
PostBackUrl string Gets or sets the URL of the page to post to from the current page when a tile from RadTileList is clicked if AutoPostBack=true. Defaults to an empty string, so the page posts to itself by default.
RenderMode Telerik.Web.UI.RenderMode Gets or sets the Render Mode of the control. This is the way to control whether the responsive layout or elastic capabilities of the control are enabled.
ScrollingMode Telerik.Web.UI.TileListScrollingMode Get or set the scrolling mode of the RadTileList, see the Scrolling help article. Defaults to Auto.
SelectionMode Telerik.Web.UI.TileListSelectionMode Gets or sets the value indicating the TileList selection mode, giving the tiles ability to be selected. See the Selecting help article. Defaults to None.
TileRows int Gets or sets in how many rows the tiles will be ordered. The height of the control depends on this value. Defaults to 3.
Width Unit Gets or sets the width of the RadTileList control. If this viewport is not sufficient to display all the tiles a scrollbar will be added if the ScrollingMode is not explicitly set to None.
tip

Properties like BackColor, BorderColor, BorderWidth , etc. are inherited from the WebControl class and can also be used in RadTileList.

Public methods

Name Returned type Description
ClearSelection() none Clears all selected tiles.
GetAllTiles() List of RadBaseTile objects Get all tiles in the control.
GetSelectedTiles() List of RadBaseTile objects Get all selected tiles in the control.
GetTileByName(string) RadBaseTile object Get a tile by its Name property. If there are multiple tiles with the same name the first will be returned. If no tile with that name is found null (Nothing) will be returned.
GetTileGroupByName(string) TileGroup object Get a tileGroup by its Name property. If there is no group with that name, null (Nothing) will be returned.