且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用bootstrap显示动态弹出式messgae?

更新时间:2023-02-19 12:23:14

的用户会话超时时显示Popup消息这会给你一个想法如何使用bootstrap获取弹出窗口你需要将你的逻辑放在检查会话验证上以使你所需的功能工作



Bootstrap Modals [ ^ ]

How to show session timeout warning popup message using Bootstrap.

What I have tried:

Created a function xy() in .cshtml page getting the text message saying that "XY project is going to expire in few minutes". Created a Iframe and called Javascript function Onload of the Iframe . Iframe called body of the div of bootstrap but Onload event of Iframe not firing in Bootstrap.

How to display a Popup message when user session timeout using bootstrap

This will give you idea how to get popup using bootstrap you need to put your logic around to check on session validations to make your required functionality work

Bootstrap Modals[^]