wnd.__parentBackReference = window
wnd.__data = myCustomDataObjectInJS;
where I have left the creation of the myCustomDataObjectInJS object to your business logic.
The article I linked creates the "argument" field, my example above creates "__data". What is the name of the field, depends on your preferences, but I would advise using some peculiar notation to be sure you will not override something internal. The two underscores I used above would do the trick.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items