XhtmlCalendarAdapter.OnInit(EventArgs) 方法

定义

创建事件处理程序,确定目标设备可以显示的月数,以及该请求是否不是回发,并将当前日期设置为日历的可视日期。Creates event handlers, determines how many months the target device can display, and if the request is not a postback, sets the current date as the calendar's visible date. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 override void OnInit(EventArgs ^ e);
public override void OnInit (EventArgs e);
override this.OnInit : EventArgs -> unit
Public Overrides Sub OnInit (e As EventArgs)

参数

e
EventArgs

一个 EventArgs 对象。An EventArgs object.

适用于