Click here to Skip to main content
15,917,645 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionFile cache dependency not clearing when xml file changes. Pin
Steve Holdorf18-Mar-09 9:26
Steve Holdorf18-Mar-09 9:26 
AnswerRe: File cache dependency not clearing when xml file changes. Pin
Steve Holdorf18-Mar-09 9:56
Steve Holdorf18-Mar-09 9:56 
Questionobject caching in webservice Pin
dd31415918-Mar-09 9:19
dd31415918-Mar-09 9:19 
AnswerRe: object caching in webservice Pin
ToddHileHoffer18-Mar-09 10:05
ToddHileHoffer18-Mar-09 10:05 
GeneralRe: object caching in webservice Pin
dd31415918-Mar-09 10:15
dd31415918-Mar-09 10:15 
GeneralRe: object caching in webservice Pin
ToddHileHoffer18-Mar-09 10:23
ToddHileHoffer18-Mar-09 10:23 
GeneralRe: object caching in webservice Pin
dd31415918-Mar-09 11:05
dd31415918-Mar-09 11:05 
QuestionFireFox loading my pages twice. No Images exist, AutoEventWireup is false - Code included. [modified] Pin
Bill Lawton18-Mar-09 7:30
Bill Lawton18-Mar-09 7:30 
I'm really fighting this issue where Firefox is loading my pages twice. Running through the debugging of the pages, my OnInit and Page_Load events are executed twice. This only happens using FireFox, IE7 loads the pages properly. I've been researching the issue and found all the normal "Empty image src" posts and even tried the AutoEventWireup being set to false, and none have resolved my issue. It's causing me all sorts of problems, double emails, double database entries being written, etc. Please can someone just point me in some direction? I would be very grateful.

I'm using VS Team Suite SP1, 3.5 SP1 of the framework and FireFox 3.07. Here is my simple most stripped down test page that the issue is still occurring on.
<![CDATA[<%@ Page Language="C#" AutoEventWireup="false" CodeBehind="WebForm2.aspx.cs" Inherits="RSD.DADS.Web.WebForm2" %>]]>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:label id="Label1" runat="server" text="1" xmlns:asp="#unknown"></asp:label>
        <br />
        <asp:label id="Label2" runat="server" text="2" xmlns:asp="#unknown"></asp:label>
        <br />
        <asp:label id="Label3" runat="server" text="3" xmlns:asp="#unknown"></asp:label>
        <br />
        <asp:label id="Label4" runat="server" text="4" xmlns:asp="#unknown"></asp:label>
    </div>
    </form>
</body>
</html>

And the CodeBehind:
using System;
namespace RSD.DADS.Web
{
  public partial class WebForm2 : System.Web.UI.Page
  {
     override protected void OnInit(EventArgs e)
     {
          this.Load += new System.EventHandler(this.Page_Load);
     }

     protected void Page_Load(object sender, EventArgs e)
     {
          if (!IsPostBack)
          {
               FillLabel1();
               FillLabel3();
               FillLabel4();
           }
      }
  
      private void FillLabel1()
      {
           Label1.Text = "From FillLabel1()";
           FillLabel2();
      }
  
      private void FillLabel2()
      {
           Label2.Text = "From FillLabel2()";
      }
  
      private void FillLabel3()
      {
           Label3.Text = "From FillLabel3()";
      }
  
      private void FillLabel4()
      {
           Label4.Text = "From FillLabel4()";
      }
  }
}


modified on Wednesday, March 18, 2009 2:52 PM

QuestionRe: Able to stop FireFox loading pages twice. Any thoughts as to why? Pin
Bill Lawton18-Mar-09 9:55
Bill Lawton18-Mar-09 9:55 
AnswerRe: FireFox loading my pages twice. No Images exist, AutoEventWireup is false - Code included. Pin
rajmca.g18-Mar-09 19:50
rajmca.g18-Mar-09 19:50 
AnswerRe: FireFox loading my pages twice. No Images exist, AutoEventWireup is false - Code included. Pin
JacquesDP18-Mar-09 22:22
JacquesDP18-Mar-09 22:22 
GeneralRe: FireFox loading my pages twice. No Images exist, AutoEventWireup is false - Code included. Pin
Bill Lawton19-Mar-09 5:50
Bill Lawton19-Mar-09 5:50 
Questionon the fly adding DataFormatString to a TableCell in a GridView Pin
Herman<T>.Instance18-Mar-09 6:54
Herman<T>.Instance18-Mar-09 6:54 
AnswerRe: on the fly adding DataFormatString to a TableCell in a GridView Pin
tech60318-Mar-09 13:59
tech60318-Mar-09 13:59 
GeneralRe: on the fly adding DataFormatString to a TableCell in a GridView Pin
Herman<T>.Instance19-Mar-09 2:46
Herman<T>.Instance19-Mar-09 2:46 
GeneralRe: on the fly adding DataFormatString to a TableCell in a GridView Pin
Herman<T>.Instance19-Mar-09 5:29
Herman<T>.Instance19-Mar-09 5:29 
QuestionProblem with my windows service [modified] Pin
gottimukkala18-Mar-09 6:30
gottimukkala18-Mar-09 6:30 
AnswerRe: Problem with my windows service Pin
Herman<T>.Instance18-Mar-09 6:48
Herman<T>.Instance18-Mar-09 6:48 
GeneralRe: Problem with my windows service Pin
gottimukkala18-Mar-09 6:50
gottimukkala18-Mar-09 6:50 
GeneralRe: Problem with my windows service Pin
Herman<T>.Instance18-Mar-09 6:57
Herman<T>.Instance18-Mar-09 6:57 
GeneralRe: Problem with my windows service Pin
gottimukkala18-Mar-09 7:05
gottimukkala18-Mar-09 7:05 
GeneralRe: Problem with my windows service Pin
Herman<T>.Instance18-Mar-09 7:57
Herman<T>.Instance18-Mar-09 7:57 
QuestionListening for database updates in asp .net Pin
hardboy11118-Mar-09 5:00
hardboy11118-Mar-09 5:00 
AnswerRe: Listening for database updates in asp .net Pin
Abhijit Jana18-Mar-09 5:16
professionalAbhijit Jana18-Mar-09 5:16 
AnswerRe: Listening for database updates in asp .net Pin
Yusuf18-Mar-09 6:15
Yusuf18-Mar-09 6:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.