引导弹出窗口在asp.net updatepanel中不起作用 [英] bootstrap popover doesn't work in asp.net updatepanel

查看:160
本文介绍了引导弹出窗口在asp.net updatepanel中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的asp页的更新面板中使用了引导程序弹出窗口,但它不起作用.当我将其放在更新面板之外时,可以,请帮帮我.

I'm using bootstrap popover in a update panel in my asp page that it doesn't work. when I put it out of update panel it's OK, please help me.

推荐答案

这里没有很多事情要做,但是当我过去遇到类似问题时,这是因为更新面板对更新,并且javascript未绑定,因为标记已更改或在页面加载后添加了.当AJAX面板更新时,您需要使用

There's not a lot to go on here, but when I've run into similar issues in the past it's been because the update panel does a partial postback for an update and the javascript isn't getting bound because the markup changed or was added after the page load. You will need to rebind the trigger (initialize the popover) when the AJAX panel updates using the methods described in this question.

这篇关于引导弹出窗口在asp.net updatepanel中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆