C# Class Castle.MonoRail.Framework.Views.Aspx.WebFormUtils

Pendent
Mostra file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
FindControlRecursive ( Control rootControl, string controlId ) : Control

Finds the first control that matches the id, rescursively.

GetFieldOrProperty ( object target, string name ) : object

Gets the field or property of the specified target.

SetFieldOrProperty ( object target, string name, object value ) : void

Sets the field or property of the specified target.

Method Details

FindControlRecursive() public static method

Finds the first control that matches the id, rescursively.
public static FindControlRecursive ( Control rootControl, string controlId ) : Control
rootControl System.Web.UI.Control The root control.
controlId string The id of the control to search.
return System.Web.UI.Control

GetFieldOrProperty() public static method

Gets the field or property of the specified target.
public static GetFieldOrProperty ( object target, string name ) : object
target object The target to act on.
name string The name of the field or property.
return object

SetFieldOrProperty() public static method

Sets the field or property of the specified target.
public static SetFieldOrProperty ( object target, string name, object value ) : void
target object The target to act on.
name string The name of the field or property.
value object The value to set.
return void