This is a migrated thread and some comments may be shown as answers.

RadWindow Position in Opera

9 Answers 134 Views
Window
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 03 Nov 2008, 02:42 PM
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

9 Answers, 1 is accepted

Sort by
0
Serrin
Top achievements
Rank 1
answered on 03 Nov 2008, 09:29 PM
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).
0
Robert
Top achievements
Rank 1
answered on 04 Nov 2008, 07:22 AM
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> 


0
Serrin
Top achievements
Rank 1
answered on 04 Nov 2008, 07:23 PM
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... :)
0
Robert
Top achievements
Rank 1
answered on 10 Nov 2008, 09:49 AM
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 ...
0
Georgi Tunev
Telerik team
answered on 10 Nov 2008, 12:10 PM
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.
0
Reuss
Top achievements
Rank 1
answered on 24 Feb 2009, 02:51 PM
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.

0
Fiko
Telerik team
answered on 25 Feb 2009, 02:59 PM
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.
0
Marc Goodell
Top achievements
Rank 1
answered on 19 Dec 2009, 05:43 AM
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>

 

0
Martin
Telerik team
answered on 21 Dec 2009, 09:22 AM
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.
Tags
Window
Asked by
Robert
Top achievements
Rank 1
Answers by
Serrin
Top achievements
Rank 1
Robert
Top achievements
Rank 1
Georgi Tunev
Telerik team
Reuss
Top achievements
Rank 1
Fiko
Telerik team
Marc Goodell
Top achievements
Rank 1
Martin
Telerik team
Share this question
or