Hello,
I'm currently working on a DataGrid to show and insert events with an id, name and start- / end date. Trying to achieve a probably comforting, but also useful info for the user, I have following problem:
The user gets a custom edit form as a popup to enter a new event. Now, when clicking on "Insert", he should be notified if there already exists an event (DB side) and confirm again (!) the insert. I read the post here http://www.telerik.com/forums/adding-confirmation-to-update-insert-cancel-buttons which is helpful, but not sufficient to solve this expected behaviour. So in short again:
- after inserting new values for a new event
- click "Insert"
- server-side call the database and check if one or more events exist in given period of the new entry
- if not, just insert entry
- if so, show confirmation dialog "There is already an event. Do you want to continue (inserting) ? "
- if yes, insert
- if no, cancel
Thanks very much!
Regards,
Jan
I'm currently working on a DataGrid to show and insert events with an id, name and start- / end date. Trying to achieve a probably comforting, but also useful info for the user, I have following problem:
The user gets a custom edit form as a popup to enter a new event. Now, when clicking on "Insert", he should be notified if there already exists an event (DB side) and confirm again (!) the insert. I read the post here http://www.telerik.com/forums/adding-confirmation-to-update-insert-cancel-buttons which is helpful, but not sufficient to solve this expected behaviour. So in short again:
- after inserting new values for a new event
- click "Insert"
- server-side call the database and check if one or more events exist in given period of the new entry
- if not, just insert entry
- if so, show confirmation dialog "There is already an event. Do you want to continue (inserting) ? "
- if yes, insert
- if no, cancel
Thanks very much!
Regards,
Jan