Modalpopup breaks layout

Last post 01-05-2007 4:22 AM by thomasabcd. 6 replies.

Sort Posts:

  • Modalpopup breaks layout

    12-31-2006, 4:50 AM
    • Member
      132 point Member
    • thomasabcd
    • Member since 09-07-2005, 5:29 AM
    • Posts 120

    I have a three column layout which is done with CSS. I have created a usercontrol with a modalpopup and placed it in the right-most column. But when the popup is shown, it places it self to the far right of the screen and I have to scroll to see the entire popup. When I scroll, the popup moves further to the right, so I am not able to interact with it.

     

    If I place it in the left or the middle columns, it breaks the layout of the right column, moving some of the elements and creating a gap. You can see it here: http://www.crowdcatcher.dk/Steder/105/CaféLeCoq.aspx. To see the issue:

    1 press the button named "Gem kommentar", the popup will show

    2. Close the popup by pressing the X

    Any ideas how to solve this?

     

    TIA 

  • Re: Modalpopup breaks layout

    12-31-2006, 5:58 AM
    • Member
      132 point Member
    • thomasabcd
    • Member since 09-07-2005, 5:29 AM
    • Posts 120
    Btw, it happens in IE6 only
  • Re: Modalpopup breaks layout

    01-02-2007, 12:47 AM
    • Contributor
      2,610 point Contributor
    • kirtid
    • Member since 11-18-2006, 12:41 AM
    • Redmond
    • Posts 658
    • AspNetTeam
    There are issues in IE 7 as well. The modal background is not covering the master page header. I have opened work item http://www.codeplex.com/AtlasControlToolkit/WorkItem/View.aspx?WorkItemId=6942 to track this.
    Kirti Deshpande
    Program Manager, Silverlight and ASP.NET AJAX
    Microsoft

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Modalpopup breaks layout

    01-02-2007, 6:22 PM
    • Star
      8,710 point Star
    • David Anson
    • Member since 04-11-2006, 1:39 AM
    • Microsoft
    • Posts 1,842
    Looks like it's largely a CSS issue as explained here: http://forums.asp.net/ShowPost.aspx?PostID=1357977

    http://blogs.msdn.com/delay

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Modalpopup breaks layout

    01-03-2007, 3:52 AM
    • Member
      132 point Member
    • thomasabcd
    • Member since 09-07-2005, 5:29 AM
    • Posts 120

    It only breaks the layout in ie6, which puzzles me.

     

    regards,

    Thomas 

  • Re: Modalpopup breaks layout

    01-04-2007, 10:33 AM
    • Member
      132 point Member
    • thomasabcd
    • Member since 09-07-2005, 5:29 AM
    • Posts 120

    I think I solved it. The popup is in a usercontrol. It contains a panel (which is the one being popped up) and a hiddenfield, which was outside the panel. When I moved the hiddenfield INSIDE the panel, it solved my problems with the modalpopup breaking the layout.

     

    best regards

    Thomas 

  • Re: Modalpopup breaks layout

    01-05-2007, 4:22 AM
    • Member
      132 point Member
    • thomasabcd
    • Member since 09-07-2005, 5:29 AM
    • Posts 120

    Hi,

     

    found a solution to the problem with the modalpopup not covering the entire page:  http://forums.asp.net/1519596/ShowThread.aspx

Page 1 of 1 (7 items)
Microsoft Communities