We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How can i find out which tile is clicked

Here is my view how can i find out which tile has been clicked.

i would like to post back the T.Tilename of the tile that was clicked in the function below, which i think is the tile id
i cant find anything on clientsideevents for mvc tile on your website

@model List<JobObjects.MyTile>

    <div class="group">
   @foreach (JobObjects.MyTile T in @Model)
    @Html.EJ().Tile(T.TileName ).ImagePosition(TileImagePosition.Center ).TileSize(TileSize.Medium).ImageUrl(T.ImageURL).Text(T.Text).ClientSideEvents(evt => evt.mouseUp ("TileClick"))


        function TileClick(args) {
            var Tile = this.id  ;
            var t = args.id;


3 Replies

SS Selvamani Sankarappan Syncfusion Team October 15, 2015 12:24 PM UTC

Hi Andrew,

Thanks for Contacting Syncfusion Support,

We have analyzed your code and we can get the id of tile view using this._id. And also this refers to the tile of the object. Please refer the below code example:


function tileClick(args) {

        var Tile = this._id;




And also we have prepared the simple sample based on your requirement. Please get the sample from below location:


Our EJMVC components are created as wrapper for the JavaScript components. So the API, and events will be the same in both JS and EJMVC components. You can refer the following API reference section present in our online JS help document to know about the list of API’s, methods and events supported by each components.



Selvamani S

AS Andrew Simpson October 16, 2015 09:48 AM UTC

Thank you for your help. My code is working now.


SS Selvamani Sankarappan Syncfusion Team October 19, 2015 07:34 AM UTC

Hi Andrew,

Thanks for the update,

Please let us know, if you have further queries.


Selvamani S

Live Chat Icon For mobile
Up arrow icon