Mobile Data Control - Quick Question

R

Ryan Smith

I have an Mobile Web App that I would like to use to display a dataset
returned from a Web Service that I have written. I need to display multiple
items in multiple columns. The only control I see that can do this is the
List control but cannot see how to get mulitple columns. Any idea of how to
use the List control or is there another control that I should use?

Many thanks!
 
L

lekshmisuseela

Use Objectlist control. see the below example

<mobile:ObjectList runat="server" ID="gv" EnableViewState="false"
LabelField ="Name"
AutoGenerateFields="flase" TableFields="Name;Site"
OnItemSelect="Selected" Font-Size="small" >
<Field Title="Name" DataField="Name" Visible="true"
Name="Name" />
<Field Title="Site" DataField="MS Location" Visible="True"
Name="Site" />
<Field Title="Id" DataField="Id" Visible="false" Name="Id"/</mobile:ObjectList>

This will show Name and site (specified in 'TableFields')

Thanks,
Lekshmi
 

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

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,054
Latest member
LucyCarper

Latest Threads

Top