C# 클래스 Nettiers.AdventureWorks.Web.UI.EntityDropDownList

A specialised Drop Down List that adds extra functionality to the base class. Features include the ability to add a null item, make the control readonly, make the control required and it supports type ahead
상속: System.Web.UI.WebControls.DropDownList
파일 보기 프로젝트 열기: netTiers/netTiers 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
EntityDropDownList ( ) : System

Initializes a new instance of the T:EntityDropDownList class.

Validate ( ) : void

Calls the validate method on the embedded required validator if permitted

보호된 메소드들

메소드 설명
CreateChildControls ( ) : void

Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.

CreateControlCollection ( ) : System.Web.UI.ControlCollection

The base DropDownList class doesn't allow a child control collection. We'll override it so that we can have one for the validator.

OnDataBinding ( EventArgs e ) : void

Raises the event.

OnInit ( EventArgs e ) : void

Raises the event.

OnLoad ( EventArgs e ) : void

Handles the event.

Render ( System.Web.UI.HtmlTextWriter writer ) : void

Renders the control to the specified HTML writer.

RenderDropDownList ( System.Web.UI.HtmlTextWriter writer ) : void

Renders the drop down list.

RenderRequiredValidator ( System.Web.UI.HtmlTextWriter writer ) : void

Renders the required validator.

메소드 상세

CreateChildControls() 보호된 메소드

Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.
protected CreateChildControls ( ) : void
리턴 void

CreateControlCollection() 보호된 메소드

The base DropDownList class doesn't allow a child control collection. We'll override it so that we can have one for the validator.
protected CreateControlCollection ( ) : System.Web.UI.ControlCollection
리턴 System.Web.UI.ControlCollection

EntityDropDownList() 공개 메소드

Initializes a new instance of the T:EntityDropDownList class.
public EntityDropDownList ( ) : System
리턴 System

OnDataBinding() 보호된 메소드

Raises the event.
protected OnDataBinding ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
리턴 void

OnInit() 보호된 메소드

Raises the event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
리턴 void

OnLoad() 보호된 메소드

Handles the event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs An object that contains event data.
리턴 void

Render() 보호된 메소드

Renders the control to the specified HTML writer.
protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The object that receives the control content.
리턴 void

RenderDropDownList() 보호된 메소드

Renders the drop down list.
protected RenderDropDownList ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The writer.
리턴 void

RenderRequiredValidator() 보호된 메소드

Renders the required validator.
protected RenderRequiredValidator ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The writer.
리턴 void

Validate() 공개 메소드

Calls the validate method on the embedded required validator if permitted
public Validate ( ) : void
리턴 void