Instead of using RenderAction I used RenderPartial and used Grid.Refresh() on Clientside Init event of the grid, to make sure that endcallback gets called.
MVC2 Devexpress Gridview. How to call a Clientside Javascript function after the databound?
-
23-09-2022 - |
Question
How can I call a Javascript function after data binding is completed ?
I have already tried EndCallback but it doesnot work when the Grid is loaded for the first time because I use RenderAction to display the partialview which contains gridview.
Solution 2
OTHER TIPS
Try to use OnInit from GridView client side event, standard javascript window.onload, or jQuery $(document).ready event handlers.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow