Header template fails with embedded code

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

    Posted 05 Nov 2015 Link to this post

    Hi,

    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. 

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

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    829 posts

    Posted 10 Nov 2015 Link to this post

    Hello Alwin,

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

    Regards,
    Ivan Danchev
    Telerik
    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top