We are using kendo mobile with our app and encountered the following issue: Our views are using the data-init to specify one time functions to be called for a view. However our app requires user-login, which means that one user can log in then log out and log in again as other user.
On every login we need to reset the data-init events so they will be called for each user that logs in.
We use it to handle cases where in the same session a user visits the view several time and we need to init the view only once for this session. But on the next login, we also need the init event to be executed once.
We did not find how to reset the init-event in kendo's documentation - so it will fire again after a second (or third...) login.
On every login we need to reset the data-init events so they will be called for each user that logs in.
We use it to handle cases where in the same session a user visits the view several time and we need to init the view only once for this session. But on the next login, we also need the init event to be executed once.
We did not find how to reset the init-event in kendo's documentation - so it will fire again after a second (or third...) login.