This is a migrated thread and some comments may be shown as answers.

Header template fails with embedded code

1 Answer 37 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Al
Top achievements
Rank 1
Iron
Iron
Iron
Al asked on 05 Nov 2015, 09:01 AM

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>

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 10 Nov 2015, 08:46 AM
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
Tags
ListBox
Asked by
Al
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Ivan Danchev
Telerik team
Share this question
or