我的DropDownList是一个PostBack,而AJAX关闭了Postback上的弹出式窗口. [英] My DropDownList is a PostBack and AJAX closes the popup on Postback..how to solve it....

查看:64
本文介绍了我的DropDownList是一个PostBack,而AJAX关闭了Postback上的弹出式窗口.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在javascript和ajax格式中使用了两个弹出窗口,但是下拉菜单出现了问题...一旦我单击了dropdownlist,它将回发,并且不会再次弹出窗口...我在弹出窗口中有5个下拉列表...如果有任何简单的方法请帮助我....因为我已经使用了2个弹出窗口. ... modalpopup扩展程序并尝试使用javasript ....



希望任何人都能帮忙....

Hi i used two popup in javascript and ajax form but dropdown is making problem...once i click on dropdownlist it will postback and its not dispaly again pop window...i have 5 dropdown list in popup window...if there is any easy method plz help me....because i already used 2 popup. ...modalpopup extender and using javasript i tried....



hope anybody will help....

推荐答案

请在我解释为什么不使用弹出窗口的地方查看我的评论.对于一个非常好的替代方案,您可以使用jQuery插件解决方案之一.下面引用的模式窗口"功能不够合理吗?请参阅:

http://www.queness.com/post/77/simple-jquery-modal- window-tutorial [^ ].

找到并单击查看演示"区域以查看其工作方式.还有许多其他控件.

如果您需要学习jQuery,请参阅:
http://en.wikipedia.org/wiki/JQuery [ http://jquery.com/ [ ^ ],
http://docs.jquery.com/Tutorials [ http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery [ http://docs.jquery.com/Tutorials:How_jQuery_Works [
Please see my comment where I explain why not using popup. For a really good alternative, you can use one of jQuery plug-in solution. Isn''t the "modal window" feature referenced below reasonable enough? Please see:

http://www.queness.com/post/77/simple-jquery-modal-window-tutorial[^].

Locate and click "See the Demo" areas to see how it works. There are many other controls.

If you need to learn jQuery, please see:
http://en.wikipedia.org/wiki/JQuery[^],
http://jquery.com/[^],
http://docs.jquery.com/Tutorials[^],
http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery[^],
http://docs.jquery.com/Tutorials:How_jQuery_Works[^].

—SA


这篇关于我的DropDownList是一个PostBack,而AJAX关闭了Postback上的弹出式窗口.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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