+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 18
Home Access Plus+ Thread, Small data-refresh bug in Booking System (</= v7.9) (IE-Only) in Projects:; Notan issue in Chrome or Firefox, just in IE. Open the booking system, make a booking. The page refreshes nicely ...
  1. #1
    mattgrimley's Avatar
    Join Date
    Jun 2011
    Location
    Bedfordshire
    Posts
    316
    Thank Post
    35
    Thanked 21 Times in 19 Posts
    Blog Entries
    1
    Rep Power
    10

    Small data-refresh bug in Booking System (</= v7.9) (IE-Only)

    Notan issue in Chrome or Firefox, just in IE.

    Open the booking system, make a booking. The page refreshes nicely to display the booking. Browse to another day, then back to the original book day. The booking appears to no longer be there.

    Oddly enough, despite our staff all managing last term without complaint, 4 people have hit this today and panicked that their bookings have been lost. I guess they are all making start of term mass bookings?!

    Cheers,
    matt

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    Sounds like a caching issue in IE, will have to think of a way to stop this, hmmm

  3. #3
    mattgrimley's Avatar
    Join Date
    Jun 2011
    Location
    Bedfordshire
    Posts
    316
    Thank Post
    35
    Thanked 21 Times in 19 Posts
    Blog Entries
    1
    Rep Power
    10
    yep, that makes sense.. similarly i noticed that when i delete a booking and browse around, then come back, the booking "appears" to still be there (of course it is actually isnt). Annoyingly, hitting refresh on the browser, still shows the incorrect info. - you can do the same thing in firefox or chrome, side-by-side with ie and see two different things.

    It's a shame that IE got so bad!

  4. #4
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    I'll add some
    Code:
    + "?" + new date();
    To all of the AJAX requests, that may take a while to implement though as I'm back at work today (in about 20 minutes time)

  5. #5
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    Another way to possibly resolving this would be to add content expiration in IIS

  6. #6
    mattgrimley's Avatar
    Join Date
    Jun 2011
    Location
    Bedfordshire
    Posts
    316
    Thank Post
    35
    Thanked 21 Times in 19 Posts
    Blog Entries
    1
    Rep Power
    10
    tried enabling "immediate content expiration" as per IIS7 : HOW TO enable content expiration? - Rakki Muthukumar - Site Home - MSDN Blogs - but that hasn't worked. (even tried a server reboot in case it was an odd "at-startup" type setting).

  7. #7
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    Can you try

  8. #8
    mattgrimley's Avatar
    Join Date
    Jun 2011
    Location
    Bedfordshire
    Posts
    316
    Thank Post
    35
    Thanked 21 Times in 19 Posts
    Blog Entries
    1
    Rep Power
    10
    Hey @nickbro - that one (using 7.9) doesnt load the table on the booking page for me.. It loads the header column and the room names, but no bookings..

  9. #9
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    How odd, what does Firebug, Chrome Dev Tools say is going on when you load the page

  10. #10
    mattgrimley's Avatar
    Join Date
    Jun 2011
    Location
    Bedfordshire
    Posts
    316
    Thank Post
    35
    Thanked 21 Times in 19 Posts
    Blog Entries
    1
    Rep Power
    10
    arrrgghh! Compatability View in IE!! - I'm gonna work out what is going on there over the weekend!

    Disable compatability view in ie and suddenly it appears! I will test the booking thing again now

  11. #11
    mattgrimley's Avatar
    Join Date
    Jun 2011
    Location
    Bedfordshire
    Posts
    316
    Thank Post
    35
    Thanked 21 Times in 19 Posts
    Blog Entries
    1
    Rep Power
    10
    Okay, so IE9 knows its an intranet site and defaults to "Display intranet sites in Compatibility View".

    This means when you load the site, you get:
    Browser Mode: IE9 Compat and Document Mode: IE7 Standards

    The HTML shows the "Doctype" entry as commented out in the dev tools.

    removing the "Display intranet sites in Compatibility View" tickbox (Show Command Bar > Page > Compatibility View Settings.) then changes this and the Doctype entry shows uncommented.

    I just now need to work out how to change this setting via GPO - can't find an entry so far.

    BLOODY IE!

  12. #12
    mattgrimley's Avatar
    Join Date
    Jun 2011
    Location
    Bedfordshire
    Posts
    316
    Thank Post
    35
    Thanked 21 Times in 19 Posts
    Blog Entries
    1
    Rep Power
    10
    Success!! Compatability Mode disabled:

    Group Policy:
    User Configuration / Policies / Administrative Templates / Windows Components / Internet Explorer / Compatability View /
    Turn on Internet Explorer Standards Mode for local Intranet = Enabled

    (I actually meant to disable it, but on checking, i have in-fact "enabled" it.. and it works!)

    Now it's home time!!

    I wonder how many other IE issues were related to this?!

  13. #13
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    IE Compatibility Mode needs to die, so does anything < IE8

  14. #14

    Join Date
    Sep 2011
    Location
    Christchurch,NewZealand
    Posts
    16
    Thank Post
    2
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Hi Nick

    I am getting this in ie and firefox comes up internal server error. have applied the patch. any ideas running 7.9 btw


    thanks

    Dave

  15. #15
    mattgrimley's Avatar
    Join Date
    Jun 2011
    Location
    Bedfordshire
    Posts
    316
    Thank Post
    35
    Thanked 21 Times in 19 Posts
    Blog Entries
    1
    Rep Power
    10
    Update on my original problem...

    I was finding that my GP update has been fairly inconsistent (I suspect people are running iE before GP's have finished on the slower machines).
    However, i appear to have now solved this with a change to the masterpage.master file.
    I moved the followin line from line 15 to line 9 (first line in the header section):
    Code:
    <meta http-equiv="x-ua-compatible" content="IE=EmulateIE9">
    This now consistently loads pages in IE9 Compat View / IE9 standards mode - formatting looks correct and the booking system works fine.

    @nickbro could you take a look at that change as i have no idea what the implications are!!


    My masterpage.master now looks like this:
    Code:
    <%@ Master Language="C#" %>
    <%@ Register Assembly="HAP.Web" Namespace="HAP.Web.Controls" TagPrefix="hap" %>
    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
    
    <!DOCTYPE html>
    
    <html>
        <head id="Head1" runat="server">
            <meta http-equiv="x-ua-compatible" content="IE=EmulateIE9">
            <title>Home Access Plus</title>
            <link rel="shortcut icon" href="~/favicon.ico" />
            <hap:jQuery runat="server" />
            <link href="~/style/jquery-ui.css" rel="stylesheet" type="text/css" />
            <link href="~/style/basestyle.css" rel="stylesheet" type="text/css" />
            <link rel="icon" type="image/vnd.microsoft.icon" href="~/favicon.ico" />
            <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
            <hap:HAPTag runat="server" />
            <asp:ContentPlaceHolder id="head" runat="server" />
        </head>
        <body>
    
            <form runat="server">
                <div id="hapContent">
                    <asp:ToolkitScriptManager runat="server" EnablePartialRendering="true" />
                    <asp:LoginView runat="server">
                        <LoggedInTemplate>
                            <div id="usertop">Logged in as <asp:LoginName runat="server" /> | <asp:LoginStatus runat="server" /></div>
                        </LoggedInTemplate>
                    </asp:LoginView>
                    <div id="baseContent">
                        <asp:ContentPlaceHolder id="body" runat="server" />
                    </div>
                </div>
            </form>
        </body>
    </html>

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Booking system for single computers in LRB
    By reggiep in forum How do you do....it?
    Replies: 0
    Last Post: 11th November 2010, 03:34 PM
  2. Replies: 22
    Last Post: 17th August 2010, 05:38 PM
  3. A bug in the system
    By Mr.Ben in forum General Chat
    Replies: 4
    Last Post: 22nd July 2010, 04:09 PM
  4. Replies: 2
    Last Post: 9th June 2010, 05:14 PM
  5. In/Out board & room booking system for outlook?
    By cokecan72 in forum Windows
    Replies: 1
    Last Post: 16th April 2009, 02:07 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •