运行时期间的Modalpopup扩展程序位置设置 [英] Modalpopup extender location setting during runtime

查看:56
本文介绍了运行时期间的Modalpopup扩展程序位置设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我使用模态弹出扩展器根据用户输入的文本显示一些产品名称。

我有将modalpopup放在文本框的正下方。我已经设置了Modalpopup X和Y属性的静态值。但我面临的问题是modalpopup的位置取决于机器。所以想用javascript设置modalpopup的X和Y值



任何人都知道如何做到这一点?如果我能得到很好的代码

解决方案

http://www.asp.net/web-forms/tutorials/ajax-control-toolkit/modalpopup/positioning-a-modalpopup-vb [<一个href =http://www.asp.net/web-forms/tutorials/ajax-control-toolkit/modalpopup/positioning-a-modalpopup-vb\"target =_ blanktitle =New Window> ^

hi

I am using modal popup extender to show some product names based on the text entered by the user.
I have to place modalpopup exactly below the textbox. I have set static values of Modalpopup X and Y properties. But the problem I am facing is the postion of the modalpopup changing depend on the machines. so want to set the X and Y values of modalpopup using javascript

can any one know how to do that? if i can get code well appreciated

解决方案

http://www.asp.net/web-forms/tutorials/ajax-control-toolkit/modalpopup/positioning-a-modalpopup-vb[^]


这篇关于运行时期间的Modalpopup扩展程序位置设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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