阅读背景:

查询字符串更改时保持控件持久

来源:互联网 

Is there anyway to do a postback with a new querystring that doesn't reset all of the controls on a page to their defaults? I have a page named "default.aspx" with several checkbox controls on it. I can check them all I want and they will remain persistent (meaning they keep their checked or unchecked state) on postbacks to "default.aspx". However, if I postback to "default.aspx?page=2", the controls all revert to their default state. Is there a way to keep them from doing that?Is there anyway to do a postback with a new que




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: