Persistence Support

1 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 applied from browser cookies. The data type of the EnablePersistence is Boolean.

In an ASPX page, define the Slider control and set the EnablePersistence property to true. 

  • HTML
  • <ej:Slider ID="BasicSlider" runat="server" Height="20" Width="500" EnablePersistence="true"></ej:Slider>