I want to customize a delete confirmation pop up and use it through out the project for all delete occurrences.
I am currently using a CButtomClass and upon deletion shows a pop-up which doesnot look that great.
Any one who has already done it before, please let me know. Here s part of the code in my view file.
array( 'header' => 'Operations', 'class' => 'CButtonColumn', 'viewButtonImageUrl' => Yii::app()->baseUrl . '/images/' . 'gr-view.png', 'updateButtonImageUrl' => Yii::app()->baseUrl . '/images/' . 'gr-update.png', 'deleteButtonImageUrl' => Yii::app()->baseUrl . '/images/' . 'gr-delete.png', 'deleteConfirmation' => 'Are you sure you want to Delete?' ),