更新 asp.net 中的面板
我正在使用两个更新面板..以嵌套方式..我可以像这样使用吗? 在我的项目中,我使用 clientscript.RegisterScript 和更新面板,它没有给出任何错误,但是,当我单击网格上的一项时,我的弹出窗口没有显示。弹出窗口位于内部(嵌套)的更新面板中。 有人可以帮忙吗???
谢谢
I am using two update panel..in nested way.. can i use like this and also
in my project im using clientscript.RegisterScript along with update panel , its not giving any error but , my pop up is not being displayed when i click one item on grid. the pop up is in update panel which is inside (nested)..
can anyone help ???
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
RegisterScript
可能无法与 updatepanel 很好地配合。在这种情况下,使用PageRequestManager.add_endRequest
方法来连接客户端脚本。还要确保页面加载期间没有 JavaScript 错误。
RegisterScript
may not work well with updatepanel. usePageRequestManager.add_endRequest
method to hook-up client script in this scenario.also make sure there is no javascript erros during page load.