最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to set the position of the ASP.NET Ajax ModalPopupExtender? - Stack Overflow

programmeradmin4浏览0评论

Can the position of the Ajax modalpopupextender be set either to an absolute or relative position on the page?

The default puts it at page center and I haven't found a way to override this.

I would like to position the popup close to the control that triggers it.

Can the position of the Ajax modalpopupextender be set either to an absolute or relative position on the page?

The default puts it at page center and I haven't found a way to override this.

I would like to position the popup close to the control that triggers it.

Share Improve this question edited Aug 19, 2011 at 13:28 Luke Girvin 13.4k10 gold badges67 silver badges85 bronze badges asked Jun 9, 2009 at 14:20 Lill LanseyLill Lansey 4,91513 gold badges58 silver badges77 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 14

There are X and Y properties you can set with the latest version:

<AjaxToolkit:ModalPopupExtender ...otherproperties... 
     X="100" Y="300">
</AjaxToolkit:ModalPopupExtender>
发布评论

评论列表(0)

  1. 暂无评论