asp.net webforms and jquery: How to save/restore jquery state between postbacks?

前端 未结 4 1284
庸人自扰
庸人自扰 2020-12-28 10:55

I am building a asp.net webforms (3.5 sp1) application, using jquery where I can to animate the UI, change its state. It has worked great until I started doing postbacks, wh

4条回答
  •  一向
    一向 (楼主)
    2020-12-28 11:32

    I'm using HTML5 storage, you can choose how to persist (local storage or per browser session). If you're worried about non HTML5 you can use Amplify.Storage. The downside is that you have to write the code to call the save/read. I'm looking at a way to automate this, if anyone has any ideas then please say. Thanks.

提交回复
热议问题