Avatar of Larry Brister
Larry Brister
Flag 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>

ASP.NETJavaScriptBootstrap* Telerik

Avatar of undefined
Last Comment
David H.H.Lee

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
David H.H.Lee

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck