RadHeatMap Empty Data Template

3 posts, 0 answers
  1. Warren
    Warren avatar
    2 posts
    Member since:
    Nov 2012

    Posted 10 Dec 2012 Link to this post

    Hi Guys I wonder if you could help, me I am using the RadHeatMap control to display search results from a database. when no results are returned I want to display a user friendly message to indicate there are no results to display instead of simply showing an empty heatmap control. I see there are a few posts which deal with this for the RadGridView control. But this will not work for the radheatmap control. I wonder if you could point me in the right direction.
  2. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 12 Dec 2012 Link to this post

    Hello Warren,

    The RadHeatMap does not offer an out-of-the-box feature that allows you to display such a message. However you can simply place a Border with a TextBlock on top of the heat map and bind the Border's Visibility to the same items source of the heat map (and use a converter). I think this is the easiest way to achieve the desired results.

    Regards,
    Petar Marchev
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Warren
    Warren avatar
    2 posts
    Member since:
    Nov 2012

    Posted 13 Dec 2012 Link to this post

    Yeah that should do it, thanks Petar
Back to Top