Ajax Request On Clicking Custom Button In Cgridview
Rate Topic:

Hi,
I was trying to create a custom button which will modify database. I was using cgridview and created custom button. However, when I click the button, the database does get modified but the request is a normal post request and not an ajax request...
here's what I;m doing

If I do not check for isset($_GET['ajax']), I'm not returned back to my view which means that this request is not ajax right? and if it is why is my flash message not displaying?
Any help would be appreciated...