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.
- 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.