刷新更新面板
我也有母版页更新面板。当我的子页面有删除功能时。 当我从网格中删除该行时。在我重新绑定网格之后。然后我也看不到刷新的网格。
如何更新面板或网格?
问候 丹拉吉·S
i have master page update panel also. When i child page have delete function.
when i delete the row from grid. after i rebind the grid. Then also i cannot see refreshed grid.
how to update the panel or grid?
regards
Dhanraj.S
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试以下操作:
ctype(me.Page.Master.FindControl("UpdatePanel1"),UpdatePanel).Update()
try the following:
ctype(me.Page.Master.FindControl("UpdatePanel1"),UpdatePanel).Update()
像这样设置 UpdatePanel:
注意:当 GridView 和 DetailsView 控件的 EnableSortingAndPagingCallbacks 属性设置为 true 时,它们与 UpdatePanel 不兼容。默认为 false。
在母版页中使用 UpdatePanel 控件
UpdateMode 属性 :
UpdatePanel 控件的内容更新为在以下情况下:
Setup your UpdatePanel like this:
NOTE: GridView and DetailsView controls are not compatible with the UpdatePanel when their EnableSortingAndPagingCallbacks property is set to true. The default is false.
Using UpdatePanel Controls in Master Pages
UpdateMode Property :
The content of an UpdatePanel control is updated in the following circumstances: