I just want to know how to capture the width and the heigth of a webDialogWindow in a function javascript AND how to get the initial location (x, y) of the webDialogWindow. I try this:
function locateWebDialog(webPoubelle, evtArgs)
{
var dialogWidth = evtArgs.get_width();
var dialogHeight = evtArgs.get_heigth();
var poubelleY = evtArgs.get_y(); var poubelleX = evtArgs.get_x();
}
<ClientEvents Initialize="locateWebDialog" />
But it doesn't work, why
thanks you for the future help
Gabriel Deschênes
Hi,
You can use following JavaScript function to get position and size of the WebDialogWindow:
<
"text/javascript">
locateWebdialog() {
);
alert(
</script>