ASPxClientScheduler.ChangeFormContainer(container) Method
In This Article
Returns focus to the form if the ASPxScheduler control is not visible when the reminder fires.
#Declaration
TypeScript
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 ASPx |
#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