Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
710
Migrate oninitializelayout event
posted

Hi! I am migrating from 11.1 to 13.2 and I have a WebHierarchicalDataGrid  that defines a javascript in the oninitializelayout event.

How do I define that event on the new grid?

I tried with OnInit but I get this error:

[mycontrol] does not contain a definition for '[myfunctionname]' and no extension method '[myfunctionname]' accepting a first argument of type '[mycontrol]' could be found (are you missing a using directive or an assembly reference?)

thank you!