RadWindow Position in Opera

10 posts, 0 answers
  1. Robert
    Robert avatar
    55 posts
    Member since:
    Aug 2008

    Posted 03 Nov 2008 Link to this post

    Hi,

    I use RadWindow as a login screen which works almost perfectly. The problem is, Opera (9.62) places the window on top of the screen - the topmost part of the window is outside the screen.
    Since I'm not sure if this is a RadWindow or Opera issue I created a new project with only a RadWindow in it. The behavior is the same.

    How can I fix this?
    Best regards,
    Robert
  2. Serrin
    Serrin avatar
    286 posts
    Member since:
    Sep 2008

    Posted 03 Nov 2008 Link to this post

    Hey Robert,

    Would you mind pasting the code you use to open the window?  I have a very similar setup and my RadWindow displays just fine in Opera (even just tested it to be sure ;D).
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Robert
    Robert avatar
    55 posts
    Member since:
    Aug 2008

    Posted 04 Nov 2008 Link to this post

    Hi,

    this is the code I use to display the RadWindow - as simple as it can be.
    Don't know what's wrong with it. If you have somthing different i your code
    please let me know :).

    <body> 
        <form id="form1" runat="server"
            <asp:ScriptManager ID="ScriptManager1" runat="server"
            </asp:ScriptManager> 
        <div> 
             
            <telerik:RadWindow ID="LoginWindow" runat="server"  
                Behavior="None" 
                InitialBehavior="None" 
                VisibleOnPageLoad="True" Modal="false" 
                VisibleStatusbar="False" Width="510px" Animation="None" Behaviors="None"  
                NavigateUrl="http://google.de" 
                Height="315px" 
                > 
            </telerik:RadWindow> 
        </div> 
        </form> 
    </body> 


  5. Serrin
    Serrin avatar
    286 posts
    Member since:
    Sep 2008

    Posted 04 Nov 2008 Link to this post

    Wow, that's quirky.  Looks like by default Opera throws it up there...  One thing I can find that is at least keeping it in the browser window is setting KeepInScreenBounds="true" and also throwing in RestrictionZoneID="divID", otherwise you can always set a default top and left for the control.  Or so some clever work in the code-behind or some javascript on load which positions the window dynamically, but that is a little over my head.

    Nutty standards-strict Opera... :)
  6. Robert
    Robert avatar
    55 posts
    Member since:
    Aug 2008

    Posted 10 Nov 2008 Link to this post

    Hi,

    using the KeepInScreenBounds properties at least makes the window fully displayed. But it is still
    on the top on the screen rather than centered. This is really strange ...
  7. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 10 Nov 2008 Link to this post

    Hi guys,

    We are familiar with the position problems under Opera and we are working on them. We will do our best to have them fixed for one of the following updates.



    Sincerely yours,
    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  8. Reuss
    Reuss avatar
    8 posts
    Member since:
    Aug 2008

    Posted 24 Feb 2009 Link to this post

    Had the same problem, but found out some interesting:

    Try put in a lot of <br /> tag so the example page grow "longer".... then is works nicely.  Seems that Opera don't like to put the RadWindow lower than the length of the page.

  9. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 25 Feb 2009 Link to this post

    Hi Reuss,

    Could you please clarify what do you mean by "put the RadWindow lower than the length of the page"? In your case I suppose that you used the KeepInScreenBounds property of the control with value set to "true". In such case this behavior is the expected one.
    If you do not use the mentioned property, could you please provide more information about your configuration?

    Kind regards,
    Fiko
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  10. Marc Goodell
    Marc Goodell avatar
    6 posts
    Member since:
    Feb 2008

    Posted 18 Dec 2009 Link to this post

    I have ran into the issue now too, but my support window to download new fixes has expired.  Can anybody help?

    Opera 9.6X and 10.x

    Here's my code behind,

    SchedulDatabaseDay.NavigateUrl =

    "DBDownTimeDay.aspx"

     

     

    Dim DBDownTimeDayWindowName As String = "DBDownTimeDay"

     

     

    Dim clickEventHandlerStringDBDownTimeDay As String = "javascript:var w = window.radopen('" & _

     

    Convert.ToString(

    "DBDownTimeDay.aspx") & "', '" & _

     

    DBDownTimeDayWindowName &

    "'); w.set_modal(true); w.set_behaviors(Telerik.Web.UI.WindowBehaviors.Move + Telerik.Web.UI.WindowBehaviors.Reload +Telerik.Web.UI.WindowBehaviors.Close); w.moveTo(100, 100); w.setSize(1100, 600); return false;"

     

    SchedulDatabaseDay.Attributes.Add(

    "onclick", clickEventHandlerStringDBDownTimeDay)

     


    Front End,

    <

     

    telerik:RadWindowManager ID="RadWindowManager1" runat="server"

     

     

    Skin="Default2006" VisibleStatusbar="False" Behaviors="close, Reload, Move"

     

     

    Behavior="close, Reload, Move" IconUrl="https://wac.edgecastcdn.net/0017BD/blank.jpg" Top="150" Left="100" KeepInScreenBounds="True">

     

     

    <Windows>

     

     

    </Windows>

     

     

    </telerik:RadWindowManager>

     

  11. Martin
    Admin
    Martin avatar
    585 posts

    Posted 21 Dec 2009 Link to this post

    Hi Marc Goodell,

    The issue you are experiencing is caused by the relatively old version of RadControls that you are using (2008.2 1001). This has been fixed in the later releases, and I strongly recommend that you upgrade to Q1.2009.SP1 because we cannot provide you with a solution for your particular version.

    Kind regards,
    Martin Ivanov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017