문제

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.

도움이 되었습니까?

해결책 2

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.

다른 팁

Try to use OnInit from GridView client side event, standard javascript window.onload, or jQuery $(document).ready event handlers.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top