Link to home
Start Free TrialLog in
Avatar of Larry Brister
Larry BristerFlag for United States of America

asked on

JavaScript RadWindow Positioning

In the JavaScript below
The window DOES open

But Always.... way down in the scroll on the page.
I have to scroll down
And drag back up to the top through several "drags"

        function ShowHtmlAudit(id) {
            var wd = window.radopen("EmailViewAudit.aspx?CampaignID=" + id, "DefaultWin");
            wd.set_height(700);
            wd.set_width(1200);
            wd.moveTo(5, 5);
            return false;
        }


The DefaultWin part is taken from the BootStrap page

                <telerik:RadWindow ID="DefaultWin" Title="" Modal="true" OffsetElementID="rgTemplates"
                    KeepInScreenBounds="true" CssClass="RadWindowDefault" MinWidth="500" MaxWidth="1300"
                    Height="600" Width="1115" Left="20px" runat="server">
                </telerik:RadWindow>

ASKER CERTIFIED SOLUTION
Avatar of David H.H.Lee
David H.H.Lee
Flag of Malaysia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial