This question is locked. New answers and comments are not allowed.
The documentation tells how to subscribe to client events using a C# method on the server:
.ClientEvents(events => events.OnLoad("Grid_onLoad"))
But I've got a need to subscribe through Javascript, as the handlers won't be on an immediately accessible object. How do you do this?
.ClientEvents(events => events.OnLoad("Grid_onLoad"))
But I've got a need to subscribe through Javascript, as the handlers won't be on an immediately accessible object. How do you do this?