C# Class Adf.Web.Binding.DateTimeBinder

Represents a binder for a System.Web.UI.WebControls.Calendar and Adf.Web.UI.DateTextBox. Provides methods to bind the 'SelectedDate' or 'Date' property of a System.Web.UI.WebControls.Calendar or a Adf.Web.UI.DateTextBox control respectively with a date.
Inheritance: IControlBinder
Datei anzeigen Open project: NLADP/ADF

Public Methods

Method Description
Bind ( object control, IEnumerable values ) : void

Binds the specified System.Web.UI.WebControls.Calendar or Adf.Web.UI.DateTextBox with the specified list. Currently not being supported.

Bind ( object control, object values ) : void

Binds the specified System.Web.UI.WebControls.Calendar or Adf.Web.UI.DateTextBox with the specified array of objects. Currently not being supported.

Bind ( object control, object value, PropertyInfo pi ) : void

Binds the 'SelectedDate' or 'Date' property of the specified System.Web.UI.WebControls.Calendar or Adf.Web.UI.DateTextBox with the specified value.

Private Methods

Method Description
GetDate ( object value ) : DateTime?

Converts the specified value to a Nullable<DateTime> value and returns the output.

Method Details

Bind() public method

Binds the specified System.Web.UI.WebControls.Calendar or Adf.Web.UI.DateTextBox with the specified list. Currently not being supported.
public Bind ( object control, IEnumerable values ) : void
control object The or /// to bind to.
values IEnumerable The list to bind.
return void

Bind() public method

Binds the specified System.Web.UI.WebControls.Calendar or Adf.Web.UI.DateTextBox with the specified array of objects. Currently not being supported.
public Bind ( object control, object values ) : void
control object The or /// to bind to.
values object The array of objects to bind.
return void

Bind() public method

Binds the 'SelectedDate' or 'Date' property of the specified System.Web.UI.WebControls.Calendar or Adf.Web.UI.DateTextBox with the specified value.
public Bind ( object control, object value, PropertyInfo pi ) : void
control object The or /// to bind to.
value object The value to bind.
pi System.Reflection.PropertyInfo Currently not being used.
return void