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

RADWindow Prometheus - Gotchas

5 Answers 250 Views
Window
This is a migrated thread and some comments may be shown as answers.
zaphod94
Top achievements
Rank 1
zaphod94 asked on 18 Oct 2007, 01:18 PM
I have been trying to get RADWindow Prometheus to work consistently and discovered that if the VisibleStatusBar property on RADWindow is set to true you will get erratic resize behavious.

The Behaviors is set to "Close, Move" When the window first open everything looks good. But upon closing it and reopening, the window loses the "X" at the top. Because this is a modal window there is no way to close the window. I dont want the window to be resizable.

Setting VisibleStatusBar="false" gets me the consistent behavior and everytime I open the window the close button does not disappear.

Hope this helps someone

thanks
zaphod

5 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 22 Oct 2007, 10:48 AM
Hello zaphod94,

I've tried to reproduce the problem but to no avail. As you can see from the attached movie, everything is working as expected. Can you please check the code below and let me know how it differs from your setup?

<script type="text/javascript">  
    function showWin()  
        {  
            var oWnd = $find("RadWindow1");  
            oWnd.show();  
        }  
</script> 
<telerik:RadWindow   
    Behavior="Close, Move" 
    Modal="true" 
    id="RadWindow1" 
    NavigateUrl="http://www.google.com"   
    runat="server">  
</telerik:RadWindow> 
<button onclick="showWin(); return false;">Show RadWindow</button> 



Greetings,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
zaphod94
Top achievements
Rank 1
answered on 22 Oct 2007, 01:52 PM
Georgi,
Thank you for trying to reproduce the problem described. I think it's got to do with the URL used to open the modal window. The URL in my case has a looong query string, and this causes the status bar to stretch all the way across beyond the visible port. I was able to get this behaviour using your code by specifying the following URL

http://www.google.com/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=en&q=rad+window&btnG=Google+Search

This causes the window to stretch and the said inconsistent behaviour. If I set the VisibleStatusbar="false" then the long URL used is not shown and the window displays consistently. Hope this helps

And, thanks for your response
zaphod
0
Georgi Tunev
Telerik team
answered on 24 Oct 2007, 07:47 AM
Hi zaphod,

Can you please make sure that you are using the latest version of RadControls Prometheus (2007.2.1010.0)? I've tried your scenario again and was not able to reproduce the problem (video attached).

Please let me know if I am missing something.



All the best,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Chris Williams
Top achievements
Rank 1
answered on 25 Oct 2007, 06:19 PM
I've seen the same thing, and I think it's when there is some  long running process in the RadWindow web page.

Instead of loading a RadWindow where the URL is set to Google, create a RadWindow that points to an aspx page in the project.  Ensure that there is a thread.sleep(5000) in the page.init method to simulate a long running init process.

What you should see is that the Window is initially created to the size of the URL in the status bar, but then after the page finishes loading, it gets resized to the proper size.  This can be quite noticeable on common aspx pages.
0
Georgi Tunev
Telerik team
answered on 30 Oct 2007, 02:02 PM
Hello Chris,

Thank you for the feedback, however we are still unable to reproduce the problem. If you can reproduce the problem every time, please open a new support ticket and send us a sample project where we can observe that behavior. We will check it right away.

Thank you in advance for your cooperation.


Greetings,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Window
Asked by
zaphod94
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
zaphod94
Top achievements
Rank 1
Chris Williams
Top achievements
Rank 1
Share this question
or