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
thanks
andrew
@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"))
}
</div>
<script>
function TileClick(args) {
var Tile = this.id ;
var t = args.id;
alert(t);
alert(Tile);
}
</script>