Unable to drag webpart after page scroolbar is moved from top position...

Last post 07-05-2009 12:25 AM by chenpengli. 6 replies.

Sort Posts:

  • Unable to drag webpart after page scroolbar is moved from top position...

    04-16-2008, 10:55 AM
    • Member
      372 point Member
    • Nuwanda
    • Member since 09-25-2007, 3:42 PM
    • Posts 207

    Hi

    Using either IE6 or IE7, if I move the IE generated scrollbar from top position I am not able to drag'n drop webparts. If I move the scrollbar to the top position agen, I am able to drag'n drop webparts.

    Have you guy's experienced this? I've tested it on 5 different computers, its always the same behavior....I am hoping this is something fixable :)

    Nuwanda

    You learn from experience, everything else is just information.
  • Re: Unable to drag webpart after page scroolbar is moved from top position...

    04-16-2008, 8:41 PM
    • All-Star
      91,768 point All-Star
    • vinz
    • Member since 10-05-2007, 3:47 PM
    • Cebu, Philippines
    • Posts 13,769
    • TrustedFriends-MVPs

    Thats Weird.. by the way what do you mean by the IE generated scrollbar? you mean the browsers scroll bars?

    "Code,Beer and Music ~ my way of being a programmer"

  • Re: Unable to drag webpart after page scroolbar is moved from top position...

    04-17-2008, 5:26 AM
    • Member
      372 point Member
    • Nuwanda
    • Member since 09-25-2007, 3:42 PM
    • Posts 207

    Yes, the browser scrollbar. I've seen posts here about this problem....It must be something on the page where the webpartzones are that is causing this behavior, since noone else has this problem.

    Nuwanda

    You learn from experience, everything else is just information.
  • Re: Unable to drag webpart after page scroolbar is moved from top position...

    04-17-2008, 5:37 AM
    • All-Star
      91,768 point All-Star
    • vinz
    • Member since 10-05-2007, 3:47 PM
    • Cebu, Philippines
    • Posts 13,769
    • TrustedFriends-MVPs

    Nuwanda:

    Yes, the browser scrollbar. I've seen posts here about this problem....It must be something on the page where the webpartzones are that is causing this behavior, since noone else has this problem.

    Maybe the height of your WebZone is too short thats why you can no longer webpart in the zone.. try to extend the height of your webzone..

    "Code,Beer and Music ~ my way of being a programmer"

  • Re: Unable to drag webpart after page scroolbar is moved from top position...

    12-19-2008, 8:33 PM
    Answer
    • Member
      12 point Member
    • Dineth
    • Member since 12-20-2008, 1:24 AM
    • Posts 1

     I was facing the same problem and I figured that it was due a CSS style issue.

      

    <body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <util:FrameworkWebPartManager ID="webpartManagerMain" runat="server" onwebpartadded="webpartManagerMain_WebPartAdded" />
    <div class="container">

    <!-- Web Parts --> </div>

    </body>



    Style Sheet

    .container
    {
    padding: 0px;
    margin-top: 5px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    /* position: relative; */ /* Got rid of this */
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #333333;
    height: 550px;
    width: 990px;
    }
     

    The style "container" was setting the "position" to "relative" which caused the problem for me. Removing it made the drap and drop work just fine. Hope this helps !

  • Re: Unable to drag webpart after page scroolbar is moved from top position...

    02-17-2009, 8:01 AM
    • Member
      4 point Member
    • pacman74
    • Member since 03-06-2008, 3:07 PM
    • Posts 2

    I had this problem too but within an iframe and I was not using any relative properties fixed it in the end by making sure there where no scroll bars on the form instead placing the scrollbars on the document body.

     I still have problems with IE8 though it will not auto scroll down when dragging web part to the bottom of the page. Also try dragging a web part down the screen in safari it scrolls up rather than down.

  • Re: Unable to drag webpart after page scroolbar is moved from top position...

    07-05-2009, 12:25 AM
    • Member
      11 point Member
    • chenpengli
    • Member since 12-16-2008, 2:52 PM
    • Posts 10

    thank you, sir! I have struggled for a full day for this. Your solution rocks!!! If you were here, I'll buy you an ice cream!

Page 1 of 1 (7 items)