Skip to main content
A newer version of this page is available. .

ASPxClientScheduler.ChangeFormContainer(container) Method

Returns focus to the form if the ASPxScheduler control is not visible when the reminder fires.

Declaration

ChangeFormContainer(
    container: any
): void

Parameters

Name Type Description
container any

A DIV object that is located in such a way that it is visible on the page in situations when the ASPxScheduler control is hidden.

Remarks

If the ASPxScheduler is placed inside a tab of an ASPxPageControl, and this tab is invisible when the reminder arrives, call the ChangeFormContainer method to ensure correct operation.

<div id="formContainer"></div>
.....
<dx:ASPxScheduler ID="ASPxScheduler1" runat="server"  ClientInstanceName="scheduler">
  ....
</dx:ASPxScheduler>
...
<script type="text/javascript">
            scheduler.ChangeFormContainer(document.getElementById("formContainer"));
            ...
</script>
See Also