get_selected_datesTop
array get_selected_dates()
Get the list of selected dates.
Show/Hide Code
<script type="text/javascript">
function foo()
{
var _list = cal.get_selected_dates();
for(var i=0;i<_list.length;i++)
{
alert(_list[i]);
}
}
</script>
Supported from version: 1.0.0.0
commitTop
void commit()
Commit all changes to server. After the changes such as navigation, date selection, you need to call commit to update all changes to server.
Show/Hide Code
<script type="text/javascript">
function foo()
{
...
cal.commit();
}
</script>
Supported from version: 1.0.0.1
selectTop
void select(Date date)
Select a date.
Show/Hide Code
<script type="text/javascript">
function foo()
{
cal.select(new Date(10,9,2009));
cal.commit();
}
</script>
Supported from version: 1.0.0.1
deselectTop
void deselect(Date date)
Deselect a date.
Show/Hide Code
<script type="text/javascript">
function foo()
{
cal.deselect(new Date(10,9,2009));
cal.commit();
}
</script>
Supported from version: 1.0.0.1
deselect_allTop
void deselect_all(Date date)
Deselect all selected dates.
Show/Hide Code
<script type="text/javascript">
function foo()
{
cal.deselect_all();
cal.commit();
}
</script>
Supported from version: 1.0.0.1
navigateTop
void navigate(Date focused_date)
Navigate to a specific date.
Show/Hide Code
<script type="text/javascript">
function foo()
{
cal.navigate(new Date(10,9,2009));
cal.commit();
}
</script>
Supported from version: 1.0.0.1
nextTop
void next()
Navigate to next month.
Show/Hide Code
<script type="text/javascript">
function foo()
{
cal.next();
cal.commit();
}
</script>
Supported from version: 1.0.0.0
prevTop
void prev()
Navigate to previous month.
Show/Hide Code
<script type="text/javascript">
function foo()
{
cal.prev();
cal.commit();
}
</script>
Supported from version: 1.0.0.0
fast_nextTop
void fast_next()
Make a fast next navigation.
Show/Hide Code
<script type="text/javascript">
function foo()
{
cal.fast_next();
cal.commit();
}
</script>
Supported from version: 1.0.0.0
fast_prevTop
void fast_prev()
Make a fast previous navigation.
Show/Hide Code
<script type="text/javascript">
function foo()
{
cal.fast_prev();
cal.commit();
}
</script>
Supported from version: 1.0.0.0
registerEventTop
void registerEvent(string eventName, function handleEvent)
Register an client-side event.
Show/Hide Code
<script type="text/javascript">
function OnSelect_Handle(sender,arg)
{
alert(arg["Date"]);
}
// Register for OnSelect event
cal.registerEvent("OnSelect",OnSelect_Handle);
</script>
Supported from version: 1.0.0.0