Jun 28, 2011, 3:11 PM
[CLOSED] Adding event to Calendar, Quick Question.
Here is the code I use to add an event to server and to the Calendar:
The same also happens when an event is updated i.e. an event is updated, the view is changed and the message pops up.
I have set the property WarningOnDirty="false" on the event store, which stopped the message popping up.
I was wondering if there is a better way to solve this?
<EventAdd Url="~/PersonalCalendar/AddAppointmentToExchange/" Success="CalendarPanel.hideEditForm();EventStore.add(record);">
<ExtraParams>
<ext:Parameter Name="rec" Mode="Raw" Value="record.data" />
</ExtraParams>
</EventAdd>
The code works as expected however when I then change the calendar view to another month the message "You have uncommitted changes. Are you sure you want to reload data?" pops up. The same also happens when an event is updated i.e. an event is updated, the view is changed and the message pops up.
I have set the property WarningOnDirty="false" on the event store, which stopped the message popping up.
I was wondering if there is a better way to solve this?
Last edited by Daniil; Jun 28, 2011 at 4:37 PM.
Reason: [CLOSED]