Click here to Skip to main content
15,885,546 members
Articles / Web Development / HTML

AMF: Asp.net Mobile Framework

Rate me:
Please Sign up or sign in to vote.
4.91/5 (23 votes)
11 Aug 2011Ms-PL7 min read 109K   4.1K   85  
Asp.net framework for making web application for most-used tablet and smartphone web browsers based on JQuery mobile
<%@ 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.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)


Written By
Technical Lead RTE Technologie
France France
Visit my website: http://www.ymartel.com

Comments and Discussions