AlwaysVisibleControl does not work in IE 7

Last post 01-07-2008 4:55 AM by gretchen. 16 replies.

Sort Posts:

  • AlwaysVisibleControl does not work in IE 7

    12-14-2006, 12:16 AM
    • Loading...
    • rsvl
    • Joined on 11-10-2006, 6:00 AM
    • Posts 24

    I have an AlwaysVislbleControl on the page that works in IE 6 but not in IE 7. In IE 7 is just stays where it happens to fall within the HTML and doesn't pop down to the bottom left like instructed to.

     As a side note, opacity doesn't seem to work in Firefox. :(

  • Re: AlwaysVisibleControl does not work in IE 7

    12-14-2006, 4:49 AM
    Both are these are working, to confirm please test by pointing your browsers to http://ajax.asp.net/ajaxtoolkit and testing the controls on the site.
  • Re: AlwaysVisibleControl does not work in IE 7

    12-14-2006, 10:31 AM
    • Loading...
    • rsvl
    • Joined on 11-10-2006, 6:00 AM
    • Posts 24
    In the wonderful world of programming there are situations where something may work in one case but not in another. This is one of those. The AlwaysVisibleControl is not working in IE7 in my case. I'm glad it is working for you, but there is a bug here that certainly needs fixing.
  • Re: AlwaysVisibleControl does not work in IE 7

    12-14-2006, 2:26 PM
    • Loading...
    • nathwdavis
    • Joined on 02-26-2003, 3:02 PM
    • Indianapolis, IN
    • Posts 45

    I was unable to get the AlwaysVisible Extender working with IE7 too. I finally traced the problem back to my MasterPage where the DOCTYPE dec was left out completely. I just used the Visual Studio default:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 

    Now it is working fine. Strange....Tongue Tied

    How that helps.

    Nate Davis
  • Re: AlwaysVisibleControl does not work in IE 7

    12-15-2006, 1:52 AM
    agreed, I just wanted to try a simple divide and conquer. Can you provide us with more information - is this with your own code or also with the the toolkit sample site?
  • Re: AlwaysVisibleControl does not work in IE 7

    12-22-2006, 10:58 AM
    • Loading...
    • jsaraiva
    • Joined on 07-13-2002, 10:54 AM
    • Posts 5
    nathwdavis:

    I was unable to get the AlwaysVisible Extender working with IE7 too. I finally traced the problem back to my MasterPage where the DOCTYPE dec was left out completely. I just used the Visual Studio default:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 

    Now it is working fine. Strange....Tongue Tied

    How that helps.

    I had the same problem.

    In DNN with IE6 works fine but in IE7 don't.

    Changing in DNN:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

    to the one that nathwdavis said, solved my problem with IE7. Now seems it's working correct in both IE6, IE7 and Firefox (but need more tests)

    NetForIS - www.netforis.com

  • Re: AlwaysVisibleControl does not work in IE 7

    12-22-2006, 7:00 PM
    • Loading...
    • rsvl
    • Joined on 11-10-2006, 6:00 AM
    • Posts 24

    I tried adding <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> to my page but it didn't help. :(

    This is in my own application and the page is fairly complex. Please let me know what I can post here or send to someone to help with the debugging. Would posting the page source from the IE View -> Source menu help?

  • Re: AlwaysVisibleControl does not work in IE 7

    01-02-2007, 7:32 PM
    Answer

    The complete string that VS uses is:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    If that doesn't help, please reply with a complete, simple, self-contained sample page that demonstrates the problem so that we can investigate the specific behavior you're seeing. Thank you!

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: AlwaysVisibleControl does not work in IE 7

    01-06-2007, 12:19 PM
    • Loading...
    • rsvl
    • Joined on 11-10-2006, 6:00 AM
    • Posts 24
    I'll try your doctype string, but is there going to be an attempt to fix this issue so that the doctype isn't required?
  • Re: AlwaysVisibleControl does not work in IE 7

    01-06-2007, 1:25 PM
    • Loading...
    • MathiasR
    • Joined on 01-02-2007, 11:13 AM
    • Paderborn, Germany
    • Posts 4

    Internet Explorer has two different ways how it renders the page and interprets certain css properties. There is a "standards compliant" mode and a legacy mode ("quirks mode"). Without the doctype, IE will always render the old way (quirks mode), and you'll have problems with some Ajax Toolkit controls.

    More information:
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnie60/html/cssenhancements.asp
    http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/doctype.asp
    http://msdn2.microsoft.com/en-us/library/aa218654(office.11).aspx

     

    Filed under: , , ,
  • Re: AlwaysVisibleControl does not work in IE 7

    01-14-2007, 1:19 PM
    • Loading...
    • rsvl
    • Joined on 11-10-2006, 6:00 AM
    • Posts 24

    WOOHOO!! The doc type:

    <!

    DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

     has fixed this issue for me.

    My new pages now use a master page and I noticed that the master page does not have a doc type. Should I add the doc type to the master page above the <html> element or should it be added to the individual pages themselves?

    Thanks,

     

    Roy

  • Re: AlwaysVisibleControl does not work in IE 7

    01-14-2007, 3:33 PM
    • Loading...
    • rsvl
    • Joined on 11-10-2006, 6:00 AM
    • Posts 24
    With this doc type IE now ignores the text-align style in my CSS classes. It is centering the text in my tables unless I add an align="right" to the TD tag. I wish it would use my CSS class so that I don't have to update all of my TD's on all of the pages where I need this doctype. Does anyone know why IE is ignoring the text-align attribute when using this doctype?
  • Re: AlwaysVisibleControl does not work in IE 7

    02-12-2007, 10:24 PM
    Not that it helps, but I have the same problem you reported. I have a very simple page. The AlwaysVisibleControl displays in IE7, but stays in one location and does not scroll with the page. It works just fine in FireFox.
  • Re: AlwaysVisibleControl does not work in IE 7

    10-12-2007, 5:02 AM
    • Loading...
    • Koevoeter
    • Joined on 03-24-2003, 3:23 PM
    • Belgium
    • Posts 76

    I have the same here. I found with IE Dev toolbar that my panel gets these settings:

    position: fixed;
    top: {calculated value};

    Shouldn't that be: bottom: {vertical offset}?

    The sample website example is working for me...

  • Re: AlwaysVisibleControl does not work in IE 7

    10-31-2007, 5:52 PM
    • Loading...
    • LieBerry
    • Joined on 10-31-2007, 9:46 PM
    • Posts 1

    I've been having the same problem with the AlwaysVisibleControl and IE 7.   The doctype solutions above did not help me.

    What finally worked was making the TargetControlId point to an asp:Panel.    Originally I had it pointing to an asp:Table, which worked fine in IE 6, but not in IE 7.

    I'm just programing hack, so I have no idea why the TargetControlId wants a Panel in IE 7.  Also, I've never read the documentaton.  It may say "point to a Panel" for all I know.  Again, I'm hack.

    But I'm a hack that found my solution.  Hope it works for anyone else that is still having this problema

Page 1 of 2 (17 items) 1 2 Next >