RADWindow Prometheus - Gotchas

6 posts, 0 answers
  1. zaphod94
    zaphod94 avatar
    10 posts
    Member since:
    Jun 2007

    Posted 18 Oct 2007 Link to this post

    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
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 22 Oct 2007 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. zaphod94
    zaphod94 avatar
    10 posts
    Member since:
    Jun 2007

    Posted 22 Oct 2007 Link to this post

    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
  5. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 24 Oct 2007 Link to this post

    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
  6. Chris Williams
    Chris Williams avatar
    63 posts
    Member since:
    Oct 2004

    Posted 25 Oct 2007 Link to this post

    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.
  7. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 30 Oct 2007 Link to this post

    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
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017