Object List Control: Align Data Grid Issu

B

Bharani Dharan

hi geeks

I hav used the following code to display data in Mobile Page using Object List. Im not able to get the alignment with the use TR/TDs. any help? I want the page to be displayed neat in mobile. and im using the below code snippet For XHTML Rendering

<mobile:form id="Form1" runat="server">
<mobile:ObjectList id="objList1" Runat="server" LabelStyle-StyleReference="title" CommandStyle-StyleReference="subcommand">
<DeviceSpecific ID="dev1">
<Choice>
<HeaderTemplate>
<Table>
</HeaderTemplate>
<ItemTemplate>
<td>
<%# DataBinder.Eval(Container, "DataItem.CapabilityType") %>
</td>
</tr>
<tr>
<td>
<%# DataBinder.Eval(Container, "DataItem.Value") %>
<br />
</td>
</tr>
</ItemTemplate>
<FooterTemplate>
</Table>
</FooterTemplate>
</Choice>
</DeviceSpecific>
</mobile:ObjectList>
</mobile:form>

Regs,
Bharani Dharan
Windows Live Butterfly
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top