asp.net.ph

Control Class

System.Web.UI Namespace


Defines the properties, methods, and events that are shared by all ASP.NET server controls.

Control Class Members

Collapse   Constructors

Visibility Constructor Parameters
public Control ( )

Collapse   Properties

Visibility Name Value Type Accessibility
public AppRelativeTemplateSourceDirectory String [ Get , Set ]
public BindingContainer Control [ Get ]
public ClientID String [ Get ]
public ClientIDMode ClientIDMode [ Get , Set ]
public Controls ControlCollection [ Get ]
public DataItemContainer Control [ Get ]
public DataKeysContainer Control [ Get ]
public EnableTheming Boolean [ Get , Set ]
public EnableViewState Boolean [ Get , Set ]
public ID String [ Get , Set ]
public NamingContainer Control [ Get ]
public Page Page [ Get , Set ]
public Parent Control [ Get ]
public RenderingCompatibility Version [ Get , Set ]
public Site ISite [ Get , Set ]
public SkinID String [ Get , Set ]
public TemplateControl TemplateControl [ Get , Set ]
public TemplateSourceDirectory String [ Get ]
public UniqueID String [ Get ]
public ValidateRequestMode ValidateRequestMode [ Get , Set ]
public ViewStateMode ViewStateMode [ Get , Set ]
public Visible Boolean [ Get , Set ]

Collapse   Methods

Visibility Name Parameters Return Type
protected AddParsedSubObject ( Object obj ) Void
public ApplyStyleSheetSkin ( Page page ) Void
protected BeginRenderTracing ( TextWriter writer , Object traceObject ) Void
protected BuildProfileTree ( String parentId , Boolean calcViewState ) Void
protected ClearCachedClientID ( ) Void
protected ClearChildControlState ( ) Void
protected ClearChildState ( ) Void
protected ClearChildViewState ( ) Void
protected ClearEffectiveClientIDMode ( ) Void
protected CreateControlCollection ( ) ControlCollection
protected DataBind ( Boolean raiseOnDataBinding ) Void
public DataBind ( ) Void
protected DataBindChildren ( ) Void
public Dispose ( ) Void
protected EndRenderTracing ( TextWriter writer , Object traceObject ) Void
protected EnsureChildControls ( ) Void
protected EnsureID ( ) Void
public FindControl ( String id ) Control
protected FindControl ( String id , Int32 pathOffset ) Control
public Focus ( ) Void
protected GetDesignModeState ( ) IDictionary
public GetRouteUrl ( RouteValueDictionary routeParameters ) String
public GetRouteUrl ( Object routeParameters ) String
public GetRouteUrl ( String routeName , RouteValueDictionary routeParameters ) String
public GetRouteUrl ( String routeName , Object routeParameters ) String
public GetUniqueIDRelativeTo ( Control control ) String
public HasControls ( ) Boolean
protected HasEvents ( ) Boolean
protected IsLiteralContent ( ) Boolean
protected LoadViewState ( Object savedState ) Void
protected OnBubbleEvent ( Object source , EventArgs args ) Boolean
protected OnDataBinding ( EventArgs e ) Void
protected RaiseBubbleEvent ( Object source , EventArgs args ) Void
public RenderControl ( HtmlTextWriter writer ) Void
protected RenderControl ( HtmlTextWriter writer , ControlAdapter adapter ) Void
protected ResolveAdapter ( ) ControlAdapter
public ResolveClientUrl ( String relativeUrl ) String
public ResolveUrl ( String relativeUrl ) String
protected SaveViewState ( ) Object
protected SetDesignModeState ( IDictionary data ) Void
public SetRenderMethodDelegate ( RenderMethod renderMethod ) Void
public SetTraceData ( Object traceDataKey , Object traceDataValue ) Void
public SetTraceData ( Object tracedObject , Object traceDataKey , Object traceDataValue ) Void
protected TrackViewState ( ) Void

Collapse   Events

Multicast Name Type
multicast DataBinding EventHandler
multicast Disposed EventHandler
multicast Init EventHandler
multicast Load EventHandler
multicast PreRender EventHandler
multicast Unload EventHandler

Remarks

This is the primary class that you derive from when you develop custom ASP.NET server controls. Control does not have any user interface ( UI ) specific features. If you are authoring a control that does not have a UI, or combines other controls that render their own UI, derive from Control.

ASP.NET server controls include ASP.NET pages. Pages are instantiations classes derived from the Page class when a request for an ASP.NET page is processed. Also included are literal controls ( strings of HTML and text that are not processed on the server ), HTML server controls, Web server controls, and any custom server controls that you create or download.

See Also

Developing ASP.NET Server Controls   Page Class   TemplateControl Class   LiteralControl Class Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph