Selected Tiles using Javascrip

2 posts, 0 answers
  1. Wiliam
    Wiliam avatar
    8 posts
    Member since:
    Aug 2012

    Posted 25 Oct 2016 Link to this post

    Is there a way to check and uncheck all Tiles through javascript? And also it has a way to be able to remove a Tile through javascript or code-behind? I'm waiting
  2. Marin Bratanov
    Marin Bratanov avatar
    5140 posts

    Posted 27 Oct 2016 Link to this post

    Hello Wiliam,

    Each tile exposes a set_selected(value, triggerEvents) method, as listed in their API reference:

    You can get all tiles from the tile list object through its get_allTiles() method:

    Removing tiles is not allowed on the client because it will break the client state of the control and then the server code (control recreateion, viewstate loading, client state loading).

    On the server, however, you can modify the tiles collections to match your needs. One of the easiest ways to do that is to data bind the tile list and modify the data source, then rebind it.


    Marin Bratanov
    Telerik by Progress
    Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
Back to Top