Skip to main content

ASPxClientScheduler.ShowAppointmentFormByClientId(aptClientId) Method

Client-side function that invokes the editing form for the appointment specified by its client ID.

Declaration

ShowAppointmentFormByClientId(
    aptClientId: string
): void

Parameters

Name Type Description
aptClientId string

A string, representing the appointment client identifier.

Remarks

The function executes the SchedulerCallbackCommandId.AppointmentFormShow command.

When the ASPxScheduler.ClientVisible property is set to true or the scheduler is placed into another hidden container, the Edit Appointment Form also becomes hidden. In this case, the ShowAppointmentFormByClientId and ASPxClientScheduler.ShowAppointmentFormByServerId methods do not show the Edit Appointment Form. To workaround the issue, add a separate (visual) container or use any of the existing containers and invoke the ASPxClientScheduler.ChangeFormContainer method before executing the ShowAppointmentFormByClientId or ASPxClientScheduler.ShowAppointmentFormByServerId methods.

<div id="formContainer"></div>
...
<dxwschs:ASPxScheduler ID="ASPxScheduler1" runat="server" GroupType="Date" ClientInstanceName="clientScheduler" ClientVisible="false">
...
</dxwschs:ASPxScheduler>
See Also