Databind tile color

2 posts, 0 answers
  1. Michael H
    Michael H avatar
    17 posts
    Member since:
    Feb 2010

    Posted 02 Nov 2013 Link to this post

    Is it possible to databind the tile back color to a field with the hex value?

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3595 posts

    Posted 04 Nov 2013 Link to this post

    Hi Michael,

    You can use the OnTIleDataBound event to get that color from the datasource and set it to the tiles. You can find examples of this in the following resources:
    http://www.telerik.com/help/aspnet-ajax/tilelist-server-side-events-ontiledatabound.html
    http://demos.telerik.com/aspnet-ajax/tilelist/examples/databinding/defaultcs.aspx

    Regards,
    Marin Bratanov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top