HighTechTalks DotNet Forums  

Object List Control: Align Data Grid Issu

ASP.net Mobile microsoft.public.dotnet.framework.aspnet.mobile


Discuss Object List Control: Align Data Grid Issu in the ASP.net Mobile forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Bharani Dharan
 
Posts: n/a

Default Object List Control: Align Data Grid Issu - 11-06-2007 , 12:39 AM






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


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.