ASP.NET Mobile MobilePage Control |
||||||||||||||
| 作者:佚名 来源:本站整理 发布时间:2008-3-14 20:45:14 | ||||||||||||||
Definition and Usage
|
<%@ Page Inherits="System.Web.UI.MobileControls.MobilePage" %> |
Properties
属性
| Property 属性 |
Description 描述 |
|---|---|
| Assembly | Required. Points to the assembly where the namespace resides 必要参数。指定命名空间的集中位置 |
| Inherits | Required. Specifies a class that this page should inherit from. If the page inherits directly from a MobilePage object, set this property to the "System.Web.UI.MobileControls.MobilePage" namespace. If the page inherits from a code-behind class, the name of the class must be specified instead 必要参数。指定该页面需要继承的类。如果页面直接继承了一个MobilePage[移动页面]对象,那么将这个属性设置为“System.Web.UI.MobileControls.MobilePage”命名空间。如果页面继承了“code-behind”类,必需指定类名称替代 |
| Language | Optional. Specifies the scripting language used on the page 可选参数。指定在页面中使用的脚本语言 |
| NameSpace | Required. The namespace to use for mobile server controls 必要参数。指定为移动服务器控件使用的命名空间 |
| TagPrefix | Required. The tag prefix to use 必要参数。指定使用的标签前缀 |
Example 1
案例1
The following example will display "Hello W3POP" in a Label control in an .aspx file:
下面的案例将显示 .aspx文件的标签空间中的“Hello W3POP”:
<%@ Page <Mobile:Form runat="server"> |
