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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How can i find out which tile is clicked

Thread ID:





120779 Oct 14,2015 11:50 AM UTC Oct 19,2015 07:34 AM UTC ASP.NET MVC 3
Tags: Tile
Andrew Simpson
Asked On October 14, 2015 11:50 AM UTC

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;


Selvamani Sankarappan [Syncfusion]
Replied On 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

Andrew Simpson
Replied On October 16, 2015 09:48 AM UTC

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


Selvamani Sankarappan [Syncfusion]
Replied On October 19, 2015 07:34 AM UTC

Hi Andrew,

Thanks for the update,

Please let us know, if you have further queries.


Selvamani S


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon