WebInput provides method to enable user to select quick date from client-side.
This topic will show you how to select quick date using client-side API.
To select quick date using client-side API
- Create a HTML button control.
- Create QuickDateSelectSingle() function in client-side to enable
quick date selection.
function QuickDateSelectSingle()
{
var input = ISGetObject("WebInput1");
input.DateTimeEditor.PopUpQuickSelectDate("btnSingle");
}
|
- Run the project.