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

Pendent
Afficher le fichier Open project: nats/castle-1.0.3-mono

Méthodes publiques

Méthode 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 méthode

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.
Résultat System.Web.UI.Control

GetFieldOrProperty() public static méthode

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.
Résultat object

SetFieldOrProperty() public static méthode

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.
Résultat void