<%@ Page
Inherits="System.Web.UI.MobileControls.MobilePage"
Language="VB"
%>
<%@ Register
TagPrefix="mobile"
Namespace="System.Web.UI.MobileControls"
Assembly="System.Web.Mobile"
%>
id="StartForm"
runat="server">
runat="server"
id="lbl1"
Text="Enter a number from 1 to 5:"
/>
runat="server"
id="txtNumber"
/>
id="rngNumber"
controltovalidate="txtNumber"
type="Integer"
minimumvalue=1
maximumvalue=5
runat="server"
errormessage="Number not in correct range!!!"
/>
runat="server"
id="lbl1b"
Text="Enter a date in 2005:"
/>
runat="server"
id="txtDate"
/>
id="rngDate"
controltovalidate="txtDate"
type="Date"
minimumvalue="1/1/2005"
maximumvalue="12/31/2005"
runat="server"
errormessage="Date not in correct range!!!"
/>
runat="server"
id="cmdOK"
OnClick="OK_OnSubmit"
Text="OK"
/>
id="FinishForm"
runat="server">
runat="server"
id="lbl2"
/>