---
title: AutoBindWebDateTimeEdit
summary: API reference for AutoBindWebDateTimeEdit.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-08-17
library: SAIF.Presentation.Web.Controls.AJAX.Infragistics111
reference_type: package
---

# AutoBindWebDateTimeEdit

`AutoBindWebDateTimeEdit` is the auto-binding wrapper around an Infragistics `WebDateTimeEdit`, fixed to display and edit dates in `MM/dd/yyyy` format regardless of the server's culture settings. ([BR-AJAX-042](../../business-rules.md#br-ajax-042-date-editors-display-and-edit-in-mmddyyyy-format)) By implementing `IProvidesEmbeddableEditor`, it can also be hosted directly as a column editor inside an Infragistics `UltraWebGrid` cell, not just as a standalone page control.

## Purpose
- Wraps an Infragistics `WebDateTimeEdit` so date values participate in the shared auto-binding, validation, and styling pipeline via [AutoBindControlAncestor](AutoBindControlAncestor.md).
- Forces a fixed `MM/dd/yyyy` display/edit format so dates are presented consistently across the application regardless of server locale. ([BR-AJAX-042](../../business-rules.md#br-ajax-042-date-editors-display-and-edit-in-mmddyyyy-format))
- Implements `Infragistics.WebUI.Shared.IProvidesEmbeddableEditor` so the control can be embedded as an in-cell editor for grid columns, extending auto-binding behavior into grid editing scenarios.
- Captures a user's edited date/time value on the editor's change event and immediately writes it back to the bound model property. ([BR-AJAX-007](../../business-rules.md#br-ajax-007-a-user-edit-is-captured-and-pushed-to-the-model-immediately))

## Context
- Namespace: `SAIF.Presentation.Web.Controls.V2.AJAX`
- Assembly/package: `SAIF.Presentation.Web.Controls.AJAX.Infragistics111` (packaged in `SAIF.BOF.Presentation.Web.Infragistics111`)
- Base class: [AutoBindControlAncestor](AutoBindControlAncestor.md)
- Implements: `Infragistics.WebUI.Shared.IProvidesEmbeddableEditor` (Infragistics 11.1, vendor)

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `WebDateTimeEdit` | `ReadOnly Property WebDateTimeEdit As Infragistics.WebUI.WebDataInput.WebDateTimeEdit` | The underlying Infragistics date/time editor this class wraps |
| `Textbox_TextChanged` | `Sub Textbox_TextChanged(sender As Object, e As Infragistics.WebUI.WebDataInput.ValueChangedEventArgs)` | Copies the editor's current date value into `Value`, then calls `BindToObject` and, if `AutoValidate`, `Validate()` ([BR-AJAX-007](../../business-rules.md#br-ajax-007-a-user-edit-is-captured-and-pushed-to-the-model-immediately), [BR-AJAX-006](../../business-rules.md#br-ajax-006-controls-validate-automatically-after-bind-and-edit-unless-disabled)) |
| `GetLastFocus` | `Function GetLastFocus() As String` | Defined to report the last-focused sub-part of the date editor; never called in live code* |

## Inherited public members

Members in this section are inherited from `AutoBindControlAncestor` in `SAIF.Presentation.Web.Controls.AJAX.Infragistics111`. They are available on this type through inheritance.

| Member | Signature | Purpose | Origin |
| --- | --- | --- | --- |
| `AutoPostback` | `Property AutoPostback As Boolean` | Controls whether the inner editor posts back on change | `SAIF.Presentation.Web.Controls.AJAX.Infragistics111` — `AutoBindControlAncestor` |
| `AutoBind` | `Property AutoBind As Boolean` | Enables or disables participation in `BindingManager.DataBind` | `SAIF.Presentation.Web.Controls.AJAX.Infragistics111` — `AutoBindControlAncestor` |
| `AutoValidate` | `Property AutoValidate As Boolean` (default `True`) | Enables automatic validation after a user edit | `SAIF.Presentation.Web.Controls.AJAX.Infragistics111` — `AutoBindControlAncestor` |
| `AutoValidateOnDataBind` | `Property AutoValidateOnDataBind As Boolean` (default `True`) | Enables automatic validation after data binding | `SAIF.Presentation.Web.Controls.AJAX.Infragistics111` — `AutoBindControlAncestor` |
| `RootBindingObject` | `Property RootBindingObject As Object` | The page model instance assigned by `BindingManager` | `SAIF.Presentation.Web.Controls.AJAX.Infragistics111` — `AutoBindControlAncestor` |
| `BoundObject` | `ReadOnly Property BoundObject As Object` | Object resolved by walking `BindSource` from `RootBindingObject` | `SAIF.Presentation.Web.Controls.AJAX.Infragistics111` — `AutoBindControlAncestor` |
| `BindSource` | `Property BindSource As String` | Dotted model path to `BoundObject` | `SAIF.Presentation.Web.Controls.AJAX.Infragistics111` — `AutoBindControlAncestor` |
| `BindProperty` | `Property BindProperty As String` | Name of the property on `BoundObject` this control reads/writes | `SAIF.Presentation.Web.Controls.AJAX.Infragistics111` — `AutoBindControlAncestor` |
| `Value` | `Property Value As Object` | The editor's current value | `SAIF.Presentation.Web.Controls.AJAX.Infragistics111` — `AutoBindControlAncestor` |
| `DataBind` | `Overrides Sub DataBind()` | Binds the model value into the control | `SAIF.Presentation.Web.Controls.AJAX.Infragistics111` — `AutoBindControlAncestor` |
| `StyleControl` | `Sub StyleControl(inValid As Boolean)` | Paints the editor red when invalid, resets it otherwise | `SAIF.Presentation.Web.Controls.AJAX.Infragistics111` — `AutoBindControlAncestor` |
| `Validate` | `Function Validate() As Boolean` | Runs validation and updates the page error label | `SAIF.Presentation.Web.Controls.AJAX.Infragistics111` — `AutoBindControlAncestor` |
| `RootObject` | `ReadOnly Property RootObject As Object` | The hosting page's `Model` property value | `SAIF.Presentation.Web.Controls.AJAX.Infragistics111` — `SAIFAJAXControlAncestor` |

## Behavioral notes
- `GetLastFocus` is defined but never called anywhere in this library's live source — likely a remnant of a browser-specific workaround.*
- All other bind/validate behavior comes unchanged from `AutoBindControlAncestor`; this class supplies the concrete Infragistics `WebDateTimeEdit`, its fixed date format, and grid-editor embeddability.

## Constraints and usage notes
- The display/edit format is hard-coded to `MM/dd/yyyy` and is not culture-driven; consuming pages cannot vary the date format per locale. ([BR-AJAX-042](../../business-rules.md#br-ajax-042-date-editors-display-and-edit-in-mmddyyyy-format))
- `Infragistics35.WebUI.WebDataInput.v11.1` and `Infragistics35.WebUI.Shared.v11.1` (version 11.1.20111.2090) must be available in the hosting application.

## Related documentation
- [Index](../../index.md)
- [Overview](../../overview.md)
- [Architecture](../../architecture.md)
- [Business rules](../../business-rules.md)
- [API reference](../index.md)

> **Note:** Statements marked with `*` were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with `**` could not be confirmed; treat as unknown until verified.

## Sources
- `SAIF.Presentation.Web.Controls.AJAX.Infragistics111/AutoBindWebDateTimeEdit.vb`
