Hello
Tried using the code given on page http://www.sitepoint.com/forums/showthread.php?676415-Greybox-onload-amp-centered by Simple User.
If I use the following, it works:
ClientScript.RegisterClientScriptBlock(Me.GetType(), "Mesaj", "<script type='text/javascript'>AJS.AEV(window, 'load', function() { GB_show('Title', '../inputform.aspx',500,700); });</script>")
However, The following does not work:
ClientScript.RegisterClientScriptBlock(Me.GetType(), "Mesaj", "<script type='text/javascript'>AJS.AEV(window, 'load', function() { GB_showCenter('Title', '../inputform.aspx', callback_fn); });</script>")
I want to have my popup window centered. What am I missing?
thanks
Elcin