I have this dialog:
Code: HTML/ASPX
<div id="divMain" style="width: 100%; height: 100%; background-color: Blue;">
<eo:Dialog ID="dlgGrid" runat="server" ControlSkinID="None" HeaderHtml="Grid de Viagens"
IsModal="False" BackColor="White" MinimizeButtonUrl="00070102"
RestoreButtonUrl="00070103"
InitialState="Visible">
<HeaderStyleActive CssText="background-image:url('00020311');color:black;font-family:'trebuchet ms';font-size:10pt;font-weight:bold;padding-bottom:5px;padding-left:8px;padding-right:3px;padding-top:0px;" />
<BorderImages BottomBorder="00020305" BottomLeftCorner="00020304"
BottomRightCorner="00020306" LeftBorder="00020303" RightBorder="00020307"
TopBorder="00020310" TopLeftCorner="00020301" TopLeftCornerBottom="00020302"
TopRightCorner="00020309" TopRightCornerBottom="00020308" />
<FooterStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma" />
<ContentStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma" />
<ContentTemplate>
....
</ContentTemplate>
</eo:Dialog>
</div>
i'm trying to move it to its position on form load using this simple script:
Code: JavaScript
function f() {
eo_GetObject("dlgGrid").move(10, 380);
}
but the dialog doesn't move.
tryed setting and unsetting anchorcontentid, confinedelementid but nothing worked...
what am I doing wrong??