Header template fails with embedded code

2 posts, 0 answers
  1. Al
    Al avatar
    221 posts
    Member since:
    Oct 2006

    Posted 05 Nov 2015 Link to this post


    If I set a header with static text it shows fine but as soon as I use embedded code (eg. below) then no header is displayed. 

        <div class="rlvHeader"><%= funcs.Translate("Staff") %></div>

  2. Ivan Danchev
    Ivan Danchev avatar
    1628 posts

    Posted 10 Nov 2015 Link to this post

    Hello Alwin,

    Unfortunately, unlike the ListBox' ItemTemplate, the Header Template does not support displaying expressions (<%= … %>).

    Ivan Danchev
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top