Bug in ModalPopup? (vertical scrollbar)

Last post 07-04-2009 12:56 PM by mga911. 21 replies.

Sort Posts:

  • Re: Bug in ModalPopup? (vertical scrollbar)

    04-29-2008, 10:23 AM
    • Member
      18 point Member
    • pranilrao
    • Member since 04-26-2007, 9:31 PM
    • Posts 9

    On further investigation I have come to the conclusion, that this is a machine related issue or probably IDE related.

    We tried the exact same thing from my colleagues machine and it worked fine there, also we deployed the version on her machine to the test server, and it works fine there too!

    however, when I deploy from my machine, it starts behaving in the same weird way!!!

    this really is a crazy issue..!!

  • Re: Bug in ModalPopup? (vertical scrollbar)

    04-30-2008, 12:43 PM
    • Member
      18 point Member
    • pranilrao
    • Member since 04-26-2007, 9:31 PM
    • Posts 9

    For all those, who are still not able to figure out, this is a ajaxcontroltoolkit version related issue (atleast from my research I conclude). I was using 1.0.11119.0 till now and facing the same problem.

    Now I changed to 1.0.10301.0 and it works fine.

    Hope this helps,

    Pranil

     

  • Re: Bug in ModalPopup? (vertical scrollbar)

    05-13-2008, 12:20 PM
    • Member
      81 point Member
    • richardneverett
    • Member since 12-14-2007, 3:01 PM
    • London, UK
    • Posts 31

    I have run into this same problem on IE6. Unfortunately I have about ten ModalPopups...am wondering if a more generic approach is possible that will fix the issue for all of my ModalPopups.

  • Re: Bug in ModalPopup? (vertical scrollbar)

    05-21-2008, 10:01 PM
    • Member
      18 point Member
    • quitchat
    • Member since 07-18-2006, 9:27 AM
    • Posts 6

    This work around woks like a champ!

     

    Thanks Andy!

  • Re: Bug in ModalPopup? (vertical scrollbar)

    02-26-2009, 7:02 PM
    • Member
      4 point Member
    • mga911
    • Member since 07-18-2008, 7:20 PM
    • Posts 2

    I may have a cleaner solution than executing javascript when the Modal pops. I was able to remove the horizontal bar completely but the vertical toolbar still pops up while the modal.  Removing the horizontal bar makes it look much better....

    I downloaded the source code for the Ajax Toolkit v1.0.20229 (since I'm on .Net v2.0 still) and simply changed the two lines that set the x and y coordinates of the background.  As stated earlier on IE6 those two lines would set the x and y coordinates of the modal background at 2,2 so I simply changed it to 0,0.  It is pretty easy once you know where it is.

     The lines are located in ModalPopupBehavior.js at 575 and at 583:

    I changed 575 from:

    this._backgroundElement.style.left = (-backgroundXCoord) + 'px';

    to:

    this._backgroundElement.style.left = 0 + 'px';

    and 583 from: 

     this._backgroundElement.style.top = (-backgroundYCoord) + 'px';

    to:

     this._backgroundElement.style.top = 0 + 'px';

     

    Then I recompiled a release version and copied the Ajax Control Toolkit DLL to my project.

     

  • Re: Bug in ModalPopup? (vertical scrollbar)

    07-04-2009, 1:29 AM
    • Member
      695 point Member
    • flohaas
    • Member since 01-25-2008, 8:09 AM
    • Chennai, India
    • Posts 208

    HI mga911


    it is not working...


    wht to do...

    Cheers
    Florence
    My Blog
  • Re: Bug in ModalPopup? (vertical scrollbar)

    07-04-2009, 12:56 PM
    • Member
      4 point Member
    • mga911
    • Member since 07-18-2008, 7:20 PM
    • Posts 2

    What part isn't working? 


    Did you make the changes?  Did it compile?

Page 2 of 2 (22 items) < Previous 1 2