Persistence Support

5 Oct 20151 minute to read

This feature supports you to save current model value to browser cookies for state maintenance. When you refresh the web page, the Slider control retains the model value apply from browser cookies. The data type of EnablePersistence is Boolean type.

The following steps explains you on how to enable the EnablePersistence property.

  1. In an VIEW page, add a helper element to render it as a Slider widget.
  • // Add this code in your view page

    After execute the code, Increase the value and reload the page. The state is maintained in the Slider control.