I'm struggling to see how I would be able to localise strings for my HeaderTemplate. How can I achieve this correctly?
Usually I would perform localisation like so:
But when I attempt this in the HeaderTemplate the ASPX page does not load correctly.
I have read the localization section of your documentation but this seems like it would only apply to your inbuilt text, such as the text in the MoreResultsBox.
Here is how my control is marked up.
Usually I would perform localisation like so:
<
asp:Literal
ID
=
"Literal132"
runat
=
"server"
Text="<%$ Resources:Common, EMAIL_SUBJECT %>" />
But when I attempt this in the HeaderTemplate the ASPX page does not load correctly.
I have read the localization section of your documentation but this seems like it would only apply to your inbuilt text, such as the text in the MoreResultsBox.
Here is how my control is marked up.
<
telerik:RadComboBox
ID
=
"cmbEmailContacts"
runat
=
"server"
EnableLoadOnDemand
=
"false"
HighlightTemplatedItems
=
"true"
ShowMoreResultsBox
=
"false"
MarkFirstMatch
=
"true"
AutoPostBack
=
"false"
CheckBoxes
=
"true"
DropDownWidth
=
"450px"
DataSourceID
=
"SqlDataSource1"
DataTextField
=
"UserName"
DataValueField
=
"UserKey"
EnableVirtualScrolling
=
"true"
AllowCustonText
=
"false"
EmptyMessage
=
"Select Contacts..."
Filter
=
"None"
CssClass
=
"textbox"
>
<
HeaderTemplate
>
<
ul
>
<
li
class
=
"col1h"
>Select</
li
>
<
li
class
=
"col2h"
>Username</
li
>
<
li
class
=
"col3h"
>Email Address</
li
>
</
ul
>
</
HeaderTemplate
>
<
ItemTemplate
>
<
ul
>
<
li
class
=
"col2"
><%# Eval("UserName") %> </
li
>
<
li
class
=
"col3"
><%# Eval("EmailAddress") %> </
li
>
</
ul
>
</
ItemTemplate
>
</
telerik:RadComboBox
>