Problem with MinimizeZone?

4 posts, 0 answers
  1. Eric
    Eric avatar
    82 posts
    Member since:
    Feb 2009

    Posted 24 Aug 2009 Link to this post

    Hi there,

    I try to minimize a RadWindow and it works fine as long as I don't use a MinimizeZoneId.

      var oWin = radopen("Report.aspx?r_Key=1", null);  
        
      // this could be browser specific...  
      oWin.setSize(document.body.clientWidth, document.body.clientHeight -100);  
      oWin.moveTo(0, 100);  
        
      oWin.set_behaviors( Telerik.Web.UI.WindowBehaviors.Resize +   
                          Telerik.Web.UI.WindowBehaviors.Minimize +  
                          Telerik.Web.UI.WindowBehaviors.Close +  
                          Telerik.Web.UI.WindowBehaviors.Maximize +  
                          Telerik.Web.UI.WindowBehaviors.Move );  
     

    If I minimize, it is minimized in the current position, which is fine.

    When I try to set the RadWindowManager property MinimizeZoneId, it obviously takes it into account but instead of a small minimized icon, I get something that does not look like anything but is in the right position and has the size of my window before minimizing...

    Any hope, doctor?
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 25 Aug 2009 Link to this post

    Hello Eric,

    I tried to reproduce the problem locally but to no avail - everything is working as expected on my side. I also noticed that you are using body.clientHeight - note that when working in XHTML environment, the height of the body is not the height of the viewport. In such case you should use document.documentElement.offsetHeight

    I hope this helps. If you still experience problems, please open a support ticket and send me a sample project that I could check.

    All the best,
    Georgi Tunev
    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.
  3. Eric
    Eric avatar
    82 posts
    Member since:
    Feb 2009

    Posted 25 Aug 2009 Link to this post

    Hi Georgi,

    Unfortunately, it is part of a complex main page and I am pretty sure I'd fail to reproduce on a small project.

    For the moment, I have removed the minimize button and it's still looking quite good.

    I'll see if I can think of things to try from time to time.



    Thanks for trying


    Eric
  4. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 25 Aug 2009 Link to this post

    OK Eric,

    Let us know if you manage to isolate the problem - we will be glad to help.


    Regards,
    Georgi Tunev
    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.
Back to Top