Prevents the Appointment object from being updated until the EndEdit(Boolean) method is called.

Namespace:  C1.C1Schedule
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
public override void BeginEdit()
Visual Basic
Public Overrides Sub BeginEdit

Remarks

The BeginEdit()()()() and EndEdit(Boolean) methods are designed to implement batch modifications. This allows you to prevent generation of change notifications when changing multiple settings at the same time. To do this enclose the code that changes the properties in calls to these methods. Each call to BeginEdit()()()() must be paired with a call to EndEdit(Boolean). To ensure that EndEdit(Boolean) is always called even if an exception occurs, wrap any calls to these methods in a try...finally statement.

See Also