[CLOSED] Adding event to Calendar, Quick Question.

  1. #1

    [CLOSED] Adding event to Calendar, Quick Question.

    Here is the code I use to add an event to server and to the Calendar:

                     <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]
  2. #2
    Hi,

    You can call
    eventStore.save()
  3. #3
    Perfect.

    Thanks Daniil

Similar Threads

  1. Question about Calendar
    By feanor91 in forum 1.x Help
    Replies: 2
    Last Post: Nov 29, 2011, 12:53 PM
  2. Replies: 4
    Last Post: Jun 30, 2011, 3:30 PM
  3. Replies: 9
    Last Post: Apr 12, 2011, 3:13 PM
  4. [CLOSED] Quick FX question
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 11, 2010, 11:35 PM
  5. [CLOSED] [1.0] Validation Question (Quick)
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Feb 23, 2010, 12:31 AM

Posting Permissions