ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] - نسخه متنی

G. andrew Duthie; matthew Macdonald

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید









HtmlObjectListAdapter.NET 1.1

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

This adapter renders the
System.Web.UI.MobileControls.ObjectList control to
HTML. The list can be rendered in one of two basic formats. If you
have not set any
System.Web.UI.MobileControls.ObjectList.TableFields,
the list is rendered as a table with the property or field specified
by
System.Web.UI.MobileControls.ObjectList.LabelItem
displayed for each item. The user can view a menu of related commands
and a list of additional fields for the item by clicking a
"More" link next to the item.
Alternatively, if you have set one or more
System.Web.UI.MobileControls.ObjectList.TableFields,
these will be used to create a table for each item, which will be
shown instead of the simple list.

public class 

HtmlObjectListAdapter : HtmlControlAdapter {
// Public Constructors
public

HtmlObjectListAdapter ( );
// Protected Instance Properties
protected ObjectList

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

CreateTemplatedUI (bool

doDataBind ); // overrides ControlAdapter
public override bool

HandlePostBackEvent (string

eventArgument ); // overrides ControlAdapter
public override void

OnInit (EventArgs

e ); // overrides ControlAdapter
public override void

OnPreRender (EventArgs

e ); // overrides ControlAdapter
public override void

Render (HtmlMobileTextWriter

writer ); // overrides HtmlControlAdapter
// Protected Instance Methods
protected bool

HasCommands ( );
protected bool

HasDefaultCommand ( );
protected bool

HasItemDetails ( );
protected bool

OnlyHasDefaultCommand ( );
protected virtual void

RenderItemDetails (HtmlMobileTextWriter

writer ,
System.Web.UI.MobileControls.ObjectListItem

item );
protected virtual void

RenderItemsList (HtmlMobileTextWriter

writer );
protected virtual bool

ShouldRenderAsTable ( );
}



Hierarchy


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


/ 873