DateEditSettings.PopupCalendarOwnerName Property

Gets or sets the name of a date editor whose popup window (with a calendar and a time edit) the current date editor should use.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v21.1.dll

Declaration

public string PopupCalendarOwnerName { get; set; }

Property Value

Type Description
String

A string value specifying the donor date editor’s name (SettingsBase.Name).

Remarks

Date editors enable an individual date editor’s popup calendar (and a time edit if it is visible) and its settings to be shared between several date editors. This feature allows you to decrease the size of the HTML code rendered into the web page by date editors, since a popup window is rendered only once, and then can be used (invoked) by all date editors on the page.

Use the PopupCalendarOwnerName property to refer to a date editor control whose popup calendar the current editor should use. Note that if the PopupCalendarOwnerName property is set, the popup calendar’s settings are taken from the specified date editor’s DateEditProperties.CalendarProperties property (which can be accessed via the editor’s DateEditSettings.Properties). If the time edit is visible (the DateEditTimeSectionProperties.Visible is set to true) its settings are taken from the DateEditProperties.TimeSectionProperties property of the specified date editor.

Note

The PopupCalendarOwnerName property should not refer to a date editor whose PopupCalendarOwnerName property is also set.

See Also