Nov 30, 2012, 12:51 PM
[CLOSED] ItemTpl for Razor
Hi,
We have the following code to port from aspx to razor.
But we still can not figure the exactly syntax between Html.X().ListConfig and Html.X().XTemplate.
Please advise,
We have the following code to port from aspx to razor.
<ListConfig>
<ItemTpl ID="ItemTpl1" runat="server">
<Html>
<div class="icon-combo-item {iconCls}">
{displayName}
</div>
</Html>
</ItemTpl>
</ListConfig>
It seems like we should use XTemplate() to replace ItemTpl.But we still can not figure the exactly syntax between Html.X().ListConfig and Html.X().XTemplate.
Please advise,
Last edited by Daniil; Dec 07, 2012 at 6:41 AM.
Reason: [CLOSED]