How to set ASP.NET Ajax ModalPopupExtender position?

Is it possible to set the position of modalpopupextender Ajax to an absolute or relative position on the page?

By default, it is placed in the center of the page, and I did not find a way to override this.

I would like to place a popup next to the control that launches it.

+3
source share
1 answer

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

<AjaxToolkit:ModalPopupExtender ...otherproperties... 
     X="100" Y="300">
</AjaxToolkit:ModalPopupExtender>
+13
source

Source: https://habr.com/ru/post/1710076/


All Articles