Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

GridView - How to show a message after CRUD operations

$
0
0
This example illustrates how to show a custom message after performing CRUD operations:
- Handle a particular Action method on the Controller side and save the related data/message via a custom ViewData key.
- Handle the GridViewSettings.CustomJSProperties event in the GridView's PartialView and check if a custom ViewData key exists. If so, store it as a custom JS Property.
- Handle the client-side ASPxClientGridView.EndCallback event and check if a custom JS Property exists. If so, visualize its value in the required manner and remove it.
Question Comments

Added By: venu koneru at: 4/21/2015 6:52:04 AM    

@using ShowMessageAfterCallback.Controllers;

Please give us the code for the above controller

Added By: Vladimir (DevExpress Support) at: 4/21/2015 9:44:44 AM    

Hello Venu,

This namespace is implemented in the HomeController.cs file. You can change a currently displayed file to see it. Alternatively, you can download the entire example, run it in our Example Runner and see its code.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>