This is a migrated thread and some comments may be shown as answers.

Identifying when a user saves without changes

1 Answer 41 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 16 Oct 2012, 02:47 AM
When a user modifies a schedule is there a way to detect on the server if the appointment and the modified appointment are the same, in other words, there are no changes? Or client side is there a way to simply call the cancel submit when save is clicked with no changes?

I cannot find any way to do a compare on the appointment and the modified appointment that is built in and would cover all information passed from the form.

Thanks!

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 18 Oct 2012, 02:52 PM
Hello Andrew,

 
There is no such built in functionality in RadScheduler but one possible solution if to get all the information about the appointment in the OnClientFormCreated event save it in a some hidden field's value and then check if it is the same on a click of the button.

One the server side this can be easily made in the AppointmentUpdate event.

Hope this will be helpful.

Greetings,
Plamen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Scheduler
Asked by
Andrew
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or