Apr 16, 2013, 10:05 PM
[CLOSED] XTemplate + localized text
Hi,
I'm working on a multilingual website.
I would like to display localized label in a dataview component.
I tried to put a <asp:Literal> control but doesn't work.
thank you for your help
I'm working on a multilingual website.
I would like to display localized label in a dataview component.
I tried to put a <asp:Literal> control but doesn't work.
<ext:Panel runat="server" Region="North" Height="300" AutoScroll="true">
<Items>
<ext:DataView runat="server" StoreID="MatchesStoreID" ItemSelector="div.MatchItem" >
<Tpl runat="server">
<Html>
<tpl for=".">
<div class="MatchItem">
<table>
<tr>
<td class="MatchTableFormat">A localized label</td>
<td>{INDEX}</td>
</tr>
<tr>
<td class="MatchTableFormat">Second localized label</td>
<td>{[TeamRenderer(values.HOMETEAMID)]}</td>
</tr>
<tr>
<td class="MatchTableFormat">third localized label</td>
<td>{[TeamRenderer(values.GUESTTEAMID)]}</td>
</tr>
<tr>
<td class="MatchTableFormat">Last localized label</td>
<td>{DATE:date("d M Y H:i")}</td>
</tr>
</table>
</div>
</tpl>
</Html>
</Tpl>
</ext:DataView>
</Items>
</ext:Panel>
thank you for your help
Last edited by Daniil; Apr 23, 2013 at 3:55 AM.
Reason: [CLOSED]