<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReadOnlySeparatorListView.aspx.cs" Inherits="Mobile.Web.List.ReadOnlySeparatorListView" %> <%@ Import Namespace="Mobile.Web.DataAccess" %> <%@ Register TagPrefix="mob" Namespace="Mobile.WebControls" Assembly="AMF" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Read Only Separator List View</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0b2/jquery.mobile-1.0b2.min.css" /> <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.2.min.js"></script> <script type="text/javascript" src="http://code.jquery.com/mobile/1.0b2/jquery.mobile-1.0b2.min.js"></script> </head> <body> <mob:MobilePage ID="mbPage1" runat="server"> <Header> <h1>Read Only Separator List View</h1> </Header> <Content> <mob:ListView ID="lv" runat="server" WithDataSeparator="true" SeparatorProperty="Country"> <ItemTemplate> <%# ((Car)Container.DataItem).Name %> </ItemTemplate> </mob:ListView> </Content> <Footer> <h1>Footer</h1> </Footer> </mob:MobilePage> </body> </html>
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)