ModalPopup issue - IE6 bug - CommonToolkitScripts

Last post 08-15-2007 4:12 AM by menn. 6 replies.

Sort Posts:

  • ModalPopup issue - IE6 bug - CommonToolkitScripts

    08-07-2006, 6:41 PM
    • Member
      15 point Member
    • kellygreer1
    • Member since 07-26-2006, 10:32 PM
    • Posts 3

    I was having an issue with the ModalPopup not hiding SELECTs.  Looked at the ModalPopupBehavior.js file and noticed it does try to compensate for the SELECT bug in IE.

    But first it trys to detect if IE is version 6 with:

    if (CommonToolkitScripts.isBrowserIE6()) {
       ...
    }

    The reason I started digging further was my browser is version 6 and it didn't seem to be running through the loop that is supposed to be hiding the SELECTs.

    So I attempted 
    alert(CommonToolkitScripts.isBrowserIE6()); and get a CommonToolkitScripts is undefined

    What am I doing wrong? I am declaring the script manager.... looked at the sample and couldn't figure out what I am doing differently.  Where is this CommonToolkitScripts object located? What needs to be done to bring this to the browser correctly?

    Thanks in advance,
    Kelly

  • Re: ModalPopup issue - IE6 bug - CommonToolkitScripts

    08-08-2006, 10:37 AM
    • Member
      15 point Member
    • kellygreer1
    • Member since 07-26-2006, 10:32 PM
    • Posts 3

    Am I missing something in my web.config?

    Is the CommonToolkitScripts part of the base Atlas OR the Atlas Control Toolkit ?

    Any ideas on how I can further troubleshoot this?

    Kelly

  • Re: ModalPopup issue - IE6 bug - CommonToolkitScripts

    08-08-2006, 5:59 PM
    • Member
      15 point Member
    • kellygreer1
    • Member since 07-26-2006, 10:32 PM
    • Posts 3

    Ok I fixed it ..... by dragging all 3 dlls back over to the project.  Maybe one of them was updated.
    oh well.  that is working now.

    But a suggestion for the modalPopup dialog ..... you can give your panel a CssClass that makes it visibility:hidden or display:none and the scripts don't do anything to make the div visible when the popup is called.

    The reason I suggest this.... is you get an annoying flash/flicker on the screen when the "onload" scripts initially hide the div.

    it would be nice to add a

    _foregroundElement.style.display = 'block';

    // or a

    _foregroundElement.style.visibility = 'visible';

    to the script.....
    I guess for now I will try an initial left:-1000 / top:-1000

    Thanks,
    Kelly

  • Re: ModalPopup issue - IE6 bug - CommonToolkitScripts

    04-30-2007, 5:15 PM
    • Member
      273 point Member
    • larrydotnet
    • Member since 12-09-2002, 1:43 PM
    • Ecuador
    • Posts 108

    Hello,

    Please can you clarify me if you discovered a way to get modalpopup and dropdownlist working properly?  Dropdowns get hide when modalpopup is loaded and get visible when popuo gets away.  I have win2000 and IE 6.

    Thanks

    Larry Suárez.
  • Re: ModalPopup issue - IE6 bug - CommonToolkitScripts

    05-02-2007, 10:42 PM
    • Member
      12 point Member
    • orianavim
    • Member since 06-08-2006, 2:59 PM
    • Posts 7

    hey there...

     

    i'm sorry to bother you, but i encountered the same problem ('commontoolkitscripts is undefined') in my application. do you remember by any chance what dll's you removed and add to resolve this issue?

     

    thank.
     

  • Re: ModalPopup issue - IE6 bug - CommonToolkitScripts

    08-14-2007, 3:16 PM
    • Member
      37 point Member
    • edelman
    • Member since 12-06-2006, 9:22 PM
    • Posts 22

    I'm having an issue with my modalpopupextender.  it works fine in FF and IE7, but in IE6 it goes wonky.  Basically, when someone clicks on a picture (an image control, in my app) it is supposed to invoke the MPE to display a panel with an image and close button.  In IE6, it goes modal, but it displays my hidden modal panel inline with the page under the transparent modal background and does not let me click anything, therefore disallowing the user from any further interaction with the page.  I can't seem to figure out what's wrong.  My code is below:

     <div class="display">

    <asp:panel id="pnlActionBlowup" runat="server" cssclass="modal-image" style="display: none;">
    <img src="images/blowup-action.jpg" alt="T-Shirt Blowup" />
    <p><asp:imagebutton id="btnCloseAction" runat="server" imageurl="images/button-modal-close.gif" /></p>
    </asp:panel>

    <cc1:modalpopupextender id="mpeAction" runat="server" targetcontrolid="imgbtnAction" popupcontrolid="pnlActionBlowup" backgroundcssclass="modal" cancelcontrolid="btnCloseAction" y="30" />

    <asp:imagebutton id="imgbtnAction" runat="server" imageurl="images/shirt-action.gif" alternatetext="ACTION T-Shirt" />
    <p>ACTION T-Shirt</p>

    </div>

  • Re: ModalPopup issue - IE6 bug - CommonToolkitScripts

    08-15-2007, 4:12 AM
    • Member
      2 point Member
    • menn
    • Member since 08-15-2007, 3:59 AM
    • Posts 1

    Hi

    I have the same problem with you (edelman ), have you found any solution to fix that?

    If you did please help : )

     

    Thank you

Page 1 of 1 (7 items)