<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SimpleDialogBoxPage.aspx.cs" Inherits="Mobile.Web.Dialog.SimpleDialogBoxPage" %> <%@ 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>Dialogbox Page</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>Dialogbox Page</h1> </Header> <Content> <p>This is an example of a DialogBox.</p> <p> <mob:LinkButton runat="server" Text="Open a dialogbox" Url="#mbDialog" DialogBox="Open"/> </Content> <Footer> <h1>Footer</h1> </Footer> </mob:MobilePage> <mob:MobilePage ID="mbDialog" runat="server"> <Header> <h1>The DialogBox</h1> </Header> <Content> <p>Welcome in your first dialogbox.</p> <p><mob:LinkButton ID="LinkButton1" runat="server" Text="Close the dialogbox" Url="#" DialogBox="Close"/></p> </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)