ASP.NET NextPrevFormat 属性

定义和用法

NextPrevFormat 属性用于规定日历中下一月和上一月的链接的格式。

语法

<asp:Calendar NextPrevFormat="format" runat="server" />
属性 描述
format

规定日历中下一月和上一月的链接的格式。

可能的值:

  • ShortMonth
  • FullMonth
  • CustomText

实例

下面的例子显示 NextPrevFormat 被设置为 "ShortMonth" 的日历:

<form runat="server">
<asp:Calendar id="cal1" runat="server" NextPrevFormat="ShortMonth" />
</form>

实例

为 Calendar 控件设置 NextPrevFormat
系统帮助 | 给我留言 | 收藏本站
Copyright © 2005-2008 www.cnn84.com All Rights Reserved Ver:2.0
CNN84网是公益性便民网站,是为了给大家的日常生活查询及提供最快捷的出行指南