CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

problem in deleting, etc.

by mjq » 19 Sep 2014 09:43

Hi,

My app has a grid and navigator to maintain data.
And the "ConfirmDelete" property of the navigator was set to True.

When I clicked delete button of the navigator,
a data which was selected in the grid was deleted, of course,
after showing confirmation dialog.

Similarly, I tried to delete a data which has
foreign key constraint,
then error dialog that was created by browser was shown
after confirmation dialog.

Problem 1:
The confirmation dialog is modal, and couldn't close in this case.
So can no longer operate my app after this.

Problem 2:
Showing error message by browser's dialog is not good in appearance.
I hope if I can trap DB error somehow,
but I couldn't find where I can trap it.

Please give me some advice.
mjq
 
Posts: 58
Joined: 20 Aug 2014 02:46

by Jorge Sousa » 19 Sep 2014 10:31

Hi

Please use the previous demo attached in

viewtopic.php?f=34&t=1823&p=9410#p9410

And send us back to explain what you need.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by mjq » 22 Sep 2014 08:08

Hi,

Now I uploaded test case app in

viewtopic.php?f=34&t=1823&p=9436#p9435


The explanation is:

*couldn't close deletion confirmation dialog which was showed by catching foreign key constraint.
To confirm, please click delete button of navigator.

*want to show database error message without using dialogs which is created by browser
(like which is showed by foreign key error).
The error messages which indicates database error are shown by dialog which was created by browser.
If possible, I want to show these messages by using IWCGJQDialog.


P.S.
For simplification, the "ConfirmDelete" property was left True .
mjq
 
Posts: 58
Joined: 20 Aug 2014 02:46


Return to JQNavigator

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.