页面刷新后,未选中复选框保持选中状态
问题描述:
嗨
当我使用更新面板停止页面重新加载时如果勾选复选框,那么它只刷新listview而不是页面
然后,如果我取消选中复选框,则取消选中它并过滤列表.....
但是当我刷新页面时,复选框值仍然被检查..
请咨询
Hi
when i use update panel to stop page reload if checkbox click, then it refreshes only listview and not page
then if i uncheck checkbox , it is unchecked and list is filtered.....
but then again when i refresh page,checkbox value remains as checked..
pls advice
答
请将Checkbox属性设置为AutoPostBack =true,它位于Access键旁边
或
您是否在onload事件中使用了ISPostBack属性,如果没有请在onload事件中使用
Please make Checkbox property AutoPostBack="true" which lies next to Access key
or
Have you used ISPostBack property on onload event, If not please use it in onload event