统计在线人数...

.NET移动控件---PhoneCall控件

[ 来源:转载 | 作者:佚名 | 时间:2006-5-29 下午 12:02:56 | 浏览:统计中... ]

当用户选择文本这个移动页面显示文本“Tove’s number”和电话号码(555)555-5555。
The PhoneCall Control
<%@ Page
Inherits=
"System.Web.UI.MobileControls.MobilePage"%>
<%@ Register
TagPrefix="Mobile"
Namespace="System.Web.UI.MobileControls"
Assembly="System.Web.Mobile" %>
<Mobile:Form runat="server">
<Mobile:PhoneCall runat="server"
PhoneNumber="(555) 555-5555"
Text="Tove''s number"
AlternateFormat="{0}" />
 
</Mobile:Form> 

这里的属性”AllternateFormat”是{0}。设置成这种显示将会显示为文本状。
如果你是用值{1}它将显示成”PhoneNumber”。
你也可以实用如下的构作AlternateFormat =”{0}is{1}”.这时候将会显示“Tove''s number is (555) 555-5555”。

共有0人参与评价,平均得分:0分
评论内容只代表网友观点,与本站立场无关! 查看完整内容
   

当前在线人数
QQ:748838 MSN:allen_xia#msn.com E-mail:allenxia666#126.com QQ群:站长联盟北方区-北京(28200145) 站长联盟南方区-上海(67713522)