<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="CountryList.aspx.cs" Inherits="Mobile.FirstWebApplication.CountryList" %> <%@ Import Namespace="Mobile.FirstWebApplication.Business" %> <%@ Register TagPrefix="mob" Namespace="Mobile.WebControls" Assembly="AMF" %> <asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server"> <mob:MobilePage ID="mbCountryList" HeaderPosition="Fixed" FooterPosition="Fixed" Theme="B" runat="server"> <Header> <mob:IconLinkButton runat="server" ForceToReload="true" Text="Back" Url="Default.aspx" Icon="Back" DataDirection="Reverse" DataTransition="Slide"/> <h1>Country</h1> </Header> <Content> <mob:ListView ID="lv" runat="server"> <ItemTemplate> <mob:LinkContainer ForceToReload="true" Url="<%# GetUrl(((Country)Container.DataItem).Name) %>" runat="server" DataItem="<%# (Container.DataItem)%>"> <Content> <mob:IconListViewItem Source="<%# GetImageUrl(((Country)Container.DataItem).Name) %>" runat="server"/> <%# ((Country)Container.DataItem).Name%> <mob:CountBubbleListViewItem BubbleInfo="<%# ((Country)Container.DataItem).Number %>" runat="server"></mob:CountBubbleListViewItem> </Content> </mob:LinkContainer> </ItemTemplate> </mob:ListView> </Content> <Footer> <h1>AMF 0.9</h1> </Footer> </mob:MobilePage> </asp:Content>
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)