ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 668
نمايش فراداده

HtmlCalendarAdapter.NET 1.1

System.Web.UI.MobileControls.Adapters (system.web.mobile.dll)class

This adapter renders the System.Web.UI.MobileControls.Calendar control to HTML. In this case, the adatper simply renders the HTML of the underlying System.Web.UI.WebControls.Calendar control, which is provided in the System.Web.UI.MobileControls.Calendar.WebCalendar property.

public class 

HtmlCalendarAdapter : HtmlControlAdapter { // Public Constructors public

HtmlCalendarAdapter ( ); // Protected Instance Properties protected Calendar

Control {get; } // Public Instance Methods public override void

Render (HtmlMobileTextWriter

writer ); // overrides HtmlControlAdapter }

Hierarchy

System.Object ControlAdapter(System.Web.UI.MobileControls.IControlAdapter) HtmlControlAdapter HtmlCalendarAdapter