vendredi 8 mai 2015

Telerik Kendo UI grid loses custom command event handler after persisting (and restoring) its state

I've isolated the issue, see and try the full source here:

http://ift.tt/1RknM4u

Steps to reproduce:

  1. Press Ctrl+Enter to run the snippet

  2. Click on 'Say Hello' custom command button, and check if the event handler runs

  3. Click on top left 'Save State' button 3) Click on 'Load State' button, and restore the previous state.

  4. Now click again on 'Say Hello' button and demonstrate the event handle will not run, instead something weird is happening.

Notes: Please do not search for the solution around the localStorage. The issue can be reproduced by using different server side state persisting solution. (as my original app does)

Any idea where to patch? ... or workaround?

Aucun commentaire:

Enregistrer un commentaire