Click or drag to resize

IViewManagerShowCalendarPopup Method

Shows date selection dialog with calendar.

Namespace: Resto.Front.Api.UI
Assembly: Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
DateTime? ShowCalendarPopup(
	DateTime selectedDate,
	string title,
	DateTime minDate,
	DateTime maxDate,
	string okBtnText = null,
	string cancelBtnText = null
)

Parameters

selectedDate  DateTime
Date that will be selected when showing the popup.
title  String
Dialog title.
minDate  DateTime
Minimal date.
maxDate  DateTime
Maximal date.
okBtnText  String  (Optional)
Ok button text.
cancelBtnText  String  (Optional)
Cancel button text.

Return Value

NullableDateTime
Selected date null if cancelled.
See Also