C
|
cgphp 7/4/2011 |
Hi buddy, |
![]() |
buddy author 7/4/2011 |
Hi buddy, from the visual editor, on the list page, insert a new button: http://xlinesoft.com...ting_button.htm In the "Client before" section type the code for a confirm message. In the "Server" section type the code, using a query, to delete all records. In the "Client after" section type the code for alert the user with a message: "all records deleted".
|
C
|
cgphp 7/4/2011 |
If you are using PHPrunner and not ASPrunner: ctrl.setEnabled();
global $strTableName;
alert("All record deleted"); |
![]() |
buddy author 7/4/2011 |
Thanks cgphp. |
C
|
cgphp 7/4/2011 |
Try this for the server section:
|
![]() |
buddy author 7/4/2011 |
Try this for the server section:
|
C
|
cgphp 7/4/2011 |
Try this non-parametric solution:
|
![]() |
buddy author 7/4/2011 |
Still no result after clicking OK in popup. |
C
|
cgphp 7/4/2011 |
Probably, there are some errors in your app. |
![]() |
buddy author 7/4/2011 |
Firebug returns: |
![]() |
buddy author 7/4/2011 |
I deleted that event and got the same result. |
C
|
cgphp 7/4/2011 |
Post a demo without the "Before record deleted" event set. |