Skip to main content

ASPxClientScheduler.ShowAppointmentFormByServerId(aptServerId) Method

Client-side function that invokes the editing form for the appointment specified by its storage identifier.

Declaration

ShowAppointmentFormByServerId(
    aptServerId: string
): void

Parameters

Name Type Description
aptServerId string

A string, representing the appointment identifier.

Remarks

The function executes the SchedulerCallbackCommandId.ShowAppointmentFormByServerId 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 ShowAppointmentFormByServerId and ASPxClientScheduler.ShowAppointmentFormByClientId 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 ShowAppointmentFormByServerId or ASPxClientScheduler.ShowAppointmentFormByClientId methods.

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