Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Set the position of a modal popup

$
0
0

While playing around with that modal popup extender just to see its capabilties, I found a difficulty in positioning the panel (which is the control that pops up as a modal window) in a place other than the center of the page .

I initially tried defining the style atribbute of the panel itself (eg: style="position:absolute; top:200px; left:200px") and didn't work. I then tried applying a css (containg the info about the position in class) to the panel which again didn't work. It seems that the modal overrides the settings regarding the positioning and always places the panel in the center of its container.

Is there something that I am not doing right?[:S]


 


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>