R
Ruan Yuping
<mobile:List ID="lstItems" Runat="server"
OnItemCommand="lstItems_ItemCommand"
Visible="False" ItemsPerPage="6">
<DeviceSpecific>
<Choice Filter="isHTML32">
<HeaderTemplate><table width="180" cellspacing="0"
cellpadding="0" align="center"></HeaderTemplate>
<ItemTemplate>
<tr>
<td align="center" width="50%" bgcolor='<%#
Eval("BtnColour") %>'>
<asp:LinkButton Text="<%#
Eval(lstItems.DataTextField) %>" runat="server"></asp:LinkButton>
</td>
</ItemTemplate>
<AlternatingItemTemplate>
<td align="center" width="50%" bgcolor='<%#
Eval("BtnColour") %>'>
<asp:LinkButton Text="<%#
Eval(lstItems.DataTextField) %>" runat="server"></asp:LinkButton>
</td>
</tr>
</AlternatingItemTemplate>
<FooterTemplate></table></FooterTemplate>
</Choice>
</DeviceSpecific>
</mobile:List>
OnItemCommand="lstItems_ItemCommand"
Visible="False" ItemsPerPage="6">
<DeviceSpecific>
<Choice Filter="isHTML32">
<HeaderTemplate><table width="180" cellspacing="0"
cellpadding="0" align="center"></HeaderTemplate>
<ItemTemplate>
<tr>
<td align="center" width="50%" bgcolor='<%#
Eval("BtnColour") %>'>
<asp:LinkButton Text="<%#
Eval(lstItems.DataTextField) %>" runat="server"></asp:LinkButton>
</td>
</ItemTemplate>
<AlternatingItemTemplate>
<td align="center" width="50%" bgcolor='<%#
Eval("BtnColour") %>'>
<asp:LinkButton Text="<%#
Eval(lstItems.DataTextField) %>" runat="server"></asp:LinkButton>
</td>
</tr>
</AlternatingItemTemplate>
<FooterTemplate></table></FooterTemplate>
</Choice>
</DeviceSpecific>
</mobile:List>