Need help with odd bug.

  • Thread starter Thread starter Elliot M. Rodriguez
  • Start date Start date
E

Elliot M. Rodriguez

I am having a heckuva time debugging this, or determining why my page is
behaving this way.

I have a search form, that when completed, returns a datagrid. When the user
selects a row (normal selectcommand button), i assign some session variables
and perform a rediect to a "more information" page. Neither page is using
Output Caching.

On the more information page, a button reads "new search". this clears the
session variables i set in the previous page and redirects to the original
search form. here is where the bug shows up.

when the user inputs new search criteria, the datagrd of results is
returned. when the user selects the row again, the more information page
shows up, but with the information from the *previous* search. additionally,
none of the events (Page_Load, any binding, etc) does not occur.

however, if I wait a few minutes and hit F5, the page_load event DOES fire,
and the information I want is now loaded.

SEtting the page's cache.expires property doesnt work, because no events
fire on this page. Can someone please help?
 
Elliot,

Is SmartNavigation enabled on the page? If it is, do you see the problem
go away if you disable it?

Jim Cheshire [MSFT]
Developer Support
ASP.NET
(e-mail address removed)

This post is provided as-is with no warranties and confers no rights.

--------------------
 
Jim:

Thanks for your reply. SmartNavigation is not enabled on the page.

If I set a breakpoint on the calling page (the one with the select datagrid
on it), I can step through the procedure up to the end, but again, no page
events fire on the callee ("more information" page). I have tried
Server.Transfer and that causes even more headaches.

Any other thoughts? I am desperate.

Jim Cheshire said:
Elliot,

Is SmartNavigation enabled on the page? If it is, do you see the problem
go away if you disable it?

Jim Cheshire [MSFT]
Developer Support
ASP.NET
(e-mail address removed)

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "Elliot M. Rodriguez" <elliotmrodriguezatnospamhotmail.com>
Subject: Need help with odd bug.
Date: Thu, 16 Oct 2003 12:08:49 -0400
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 208.216.254.2
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:184667
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

I am having a heckuva time debugging this, or determining why my page is
behaving this way.

I have a search form, that when completed, returns a datagrid. When the user
selects a row (normal selectcommand button), i assign some session variables
and perform a rediect to a "more information" page. Neither page is using
Output Caching.

On the more information page, a button reads "new search". this clears the
session variables i set in the previous page and redirects to the original
search form. here is where the bug shows up.

when the user inputs new search criteria, the datagrd of results is
returned. when the user selects the row again, the more information page
shows up, but with the information from the *previous* search. additionally,
none of the events (Page_Load, any binding, etc) does not occur.

however, if I wait a few minutes and hit F5, the page_load event DOES fire,
and the information I want is now loaded.

SEtting the page's cache.expires property doesnt work, because no events
fire on this page. Can someone please help?
 
When the page comes up and no events are being fired, if I wait 45 seconds
(I timed it), and reload, the events fire and my breakpoints are hit. Any
less and the browser reloads without hitting my breakpoints.

Jim Cheshire said:
Elliot,

Is SmartNavigation enabled on the page? If it is, do you see the problem
go away if you disable it?

Jim Cheshire [MSFT]
Developer Support
ASP.NET
(e-mail address removed)

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "Elliot M. Rodriguez" <elliotmrodriguezatnospamhotmail.com>
Subject: Need help with odd bug.
Date: Thu, 16 Oct 2003 12:08:49 -0400
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 208.216.254.2
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:184667
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

I am having a heckuva time debugging this, or determining why my page is
behaving this way.

I have a search form, that when completed, returns a datagrid. When the user
selects a row (normal selectcommand button), i assign some session variables
and perform a rediect to a "more information" page. Neither page is using
Output Caching.

On the more information page, a button reads "new search". this clears the
session variables i set in the previous page and redirects to the original
search form. here is where the bug shows up.

when the user inputs new search criteria, the datagrd of results is
returned. when the user selects the row again, the more information page
shows up, but with the information from the *previous* search. additionally,
none of the events (Page_Load, any binding, etc) does not occur.

however, if I wait a few minutes and hit F5, the page_load event DOES fire,
and the information I want is now loaded.

SEtting the page's cache.expires property doesnt work, because no events
fire on this page. Can someone please help?
 
Elliot,

I'm afraid I don't. We would need to get a repro from you and attempt to
debug it. That kind of work falls outside of what we can do in the
newsgroups, but you can open a case with us and we'll be glad to work on it
for you.

Jim Cheshire [MSFT]
Developer Support
ASP.NET
(e-mail address removed)

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "Elliot M. Rodriguez" <elliotmrodriguezatnospamhotmail.com>
References: <[email protected]>
Subject: Re: Need help with odd bug.
Date: Thu, 16 Oct 2003 13:11:19 -0400
Lines: 76
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <#[email protected]>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 208.216.254.2
Path: cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08
.phx.gbl!TK2MSFTNGP12.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:184695
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Jim:

Thanks for your reply. SmartNavigation is not enabled on the page.

If I set a breakpoint on the calling page (the one with the select datagrid
on it), I can step through the procedure up to the end, but again, no page
events fire on the callee ("more information" page). I have tried
Server.Transfer and that causes even more headaches.

Any other thoughts? I am desperate.

Jim Cheshire said:
Elliot,

Is SmartNavigation enabled on the page? If it is, do you see the problem
go away if you disable it?

Jim Cheshire [MSFT]
Developer Support
ASP.NET
(e-mail address removed)

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "Elliot M. Rodriguez" <elliotmrodriguezatnospamhotmail.com>
Subject: Need help with odd bug.
Date: Thu, 16 Oct 2003 12:08:49 -0400
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 208.216.254.2
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:184667
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

I am having a heckuva time debugging this, or determining why my page is
behaving this way.

I have a search form, that when completed, returns a datagrid. When the user
selects a row (normal selectcommand button), i assign some session variables
and perform a rediect to a "more information" page. Neither page is using
Output Caching.

On the more information page, a button reads "new search". this clears the
session variables i set in the previous page and redirects to the original
search form. here is where the bug shows up.

when the user inputs new search criteria, the datagrd of results is
returned. when the user selects the row again, the more information page
shows up, but with the information from the *previous* search. additionally,
none of the events (Page_Load, any binding, etc) does not occur.

however, if I wait a few minutes and hit F5, the page_load event DOES fire,
and the information I want is now loaded.

SEtting the page's cache.expires property doesnt work, because no events
fire on this page. Can someone please help?
 
solved. never mind.


Elliot M. Rodriguez said:
When the page comes up and no events are being fired, if I wait 45 seconds
(I timed it), and reload, the events fire and my breakpoints are hit. Any
less and the browser reloads without hitting my breakpoints.

Jim Cheshire said:
Elliot,

Is SmartNavigation enabled on the page? If it is, do you see the problem
go away if you disable it?

Jim Cheshire [MSFT]
Developer Support
ASP.NET
(e-mail address removed)

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "Elliot M. Rodriguez" <elliotmrodriguezatnospamhotmail.com>
Subject: Need help with odd bug.
Date: Thu, 16 Oct 2003 12:08:49 -0400
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 208.216.254.2
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:184667
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

I am having a heckuva time debugging this, or determining why my page is
behaving this way.

I have a search form, that when completed, returns a datagrid. When the user
selects a row (normal selectcommand button), i assign some session variables
and perform a rediect to a "more information" page. Neither page is using
Output Caching.

On the more information page, a button reads "new search". this clears the
session variables i set in the previous page and redirects to the original
search form. here is where the bug shows up.

when the user inputs new search criteria, the datagrd of results is
returned. when the user selects the row again, the more information page
shows up, but with the information from the *previous* search. additionally,
none of the events (Page_Load, any binding, etc) does not occur.

however, if I wait a few minutes and hit F5, the page_load event DOES fire,
and the information I want is now loaded.

SEtting the page's cache.expires property doesnt work, because no events
fire on this page. Can someone please help?
 
Elliot,

What was it?

Jim Cheshire [MSFT]
Developer Support
ASP.NET
(e-mail address removed)

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "Elliot M. Rodriguez" <elliotmrodriguezatnospamhotmail.com>
References: <[email protected]>
Subject: Re: Need help with odd bug (more information)
Date: Thu, 16 Oct 2003 13:40:24 -0400
Lines: 81
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 208.216.254.2
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:184716
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

solved. never mind.


"Elliot M. Rodriguez" <elliotmrodriguezatnospamhotmail.com> wrote in message
When the page comes up and no events are being fired, if I wait 45 seconds
(I timed it), and reload, the events fire and my breakpoints are hit. Any
less and the browser reloads without hitting my breakpoints.

Jim Cheshire said:
Elliot,

Is SmartNavigation enabled on the page? If it is, do you see the problem
go away if you disable it?

Jim Cheshire [MSFT]
Developer Support
ASP.NET
(e-mail address removed)

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "Elliot M. Rodriguez" <elliotmrodriguezatnospamhotmail.com>
Subject: Need help with odd bug.
Date: Thu, 16 Oct 2003 12:08:49 -0400
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 208.216.254.2
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:184667
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

I am having a heckuva time debugging this, or determining why my page is
behaving this way.

I have a search form, that when completed, returns a datagrid. When the
user
selects a row (normal selectcommand button), i assign some session
variables
and perform a rediect to a "more information" page. Neither page is using
Output Caching.

On the more information page, a button reads "new search". this clears the
session variables i set in the previous page and redirects to the original
search form. here is where the bug shows up.

when the user inputs new search criteria, the datagrd of results is
returned. when the user selects the row again, the more information page
shows up, but with the information from the *previous* search.
additionally,
none of the events (Page_Load, any binding, etc) does not occur.

however, if I wait a few minutes and hit F5, the page_load event DOES fire,
and the information I want is now loaded.

SEtting the page's cache.expires property doesnt work, because no events
fire on this page. Can someone please help?
 
Jim:

I'm too embarrased to say. Suffice it to say that I should *always* closely
inspect my code before posting to the newsgroups.

Thank you for your time.
Elliot

Jim Cheshire said:
Elliot,

What was it?

Jim Cheshire [MSFT]
Developer Support
ASP.NET
(e-mail address removed)

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "Elliot M. Rodriguez" <elliotmrodriguezatnospamhotmail.com>
References: <[email protected]>
Subject: Re: Need help with odd bug (more information)
Date: Thu, 16 Oct 2003 13:40:24 -0400
Lines: 81
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 208.216.254.2
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:184716
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

solved. never mind.


"Elliot M. Rodriguez" <elliotmrodriguezatnospamhotmail.com> wrote in message
When the page comes up and no events are being fired, if I wait 45 seconds
(I timed it), and reload, the events fire and my breakpoints are hit. Any
less and the browser reloads without hitting my breakpoints.

Elliot,

Is SmartNavigation enabled on the page? If it is, do you see the problem
go away if you disable it?

Jim Cheshire [MSFT]
Developer Support
ASP.NET
(e-mail address removed)

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "Elliot M. Rodriguez" <elliotmrodriguezatnospamhotmail.com>
Subject: Need help with odd bug.
Date: Thu, 16 Oct 2003 12:08:49 -0400
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 208.216.254.2
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.aspnet:184667
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

I am having a heckuva time debugging this, or determining why my
page
is
behaving this way.

I have a search form, that when completed, returns a datagrid. When the
user
selects a row (normal selectcommand button), i assign some session
variables
and perform a rediect to a "more information" page. Neither page is using
Output Caching.

On the more information page, a button reads "new search". this clears
the
session variables i set in the previous page and redirects to the
original
search form. here is where the bug shows up.

when the user inputs new search criteria, the datagrd of results is
returned. when the user selects the row again, the more information page
shows up, but with the information from the *previous* search.
additionally,
none of the events (Page_Load, any binding, etc) does not occur.

however, if I wait a few minutes and hit F5, the page_load event DOES
fire,
and the information I want is now loaded.

SEtting the page's cache.expires property doesnt work, because no events
fire on this page. Can someone please help?
 
Elliot,

Everyone who has developed code has made mistakes that seem elementary and
that made them slap their head when they found them. No big deal. Glad
it's working.

Jim Cheshire [MSFT]
Developer Support
ASP.NET
(e-mail address removed)

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "Elliot M. Rodriguez" <elliotmrodriguezatnospamhotmail.com>
References: <[email protected]>
<[email protected]>
<uK#q#[email protected]>
Subject: Re: Need help with odd bug (more information)
Date: Fri, 17 Oct 2003 07:29:05 -0400
Lines: 133
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 208.216.254.2
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:184880
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Jim:

I'm too embarrased to say. Suffice it to say that I should *always* closely
inspect my code before posting to the newsgroups.

Thank you for your time.
Elliot

Jim Cheshire said:
Elliot,

What was it?

Jim Cheshire [MSFT]
Developer Support
ASP.NET
(e-mail address removed)

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "Elliot M. Rodriguez" <elliotmrodriguezatnospamhotmail.com>
References: <[email protected]>
Subject: Re: Need help with odd bug (more information)
Date: Thu, 16 Oct 2003 13:40:24 -0400
Lines: 81
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 208.216.254.2
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:184716
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

solved. never mind.


"Elliot M. Rodriguez" <elliotmrodriguezatnospamhotmail.com> wrote in message
When the page comes up and no events are being fired, if I wait 45 seconds
(I timed it), and reload, the events fire and my breakpoints are hit. Any
less and the browser reloads without hitting my breakpoints.

Elliot,

Is SmartNavigation enabled on the page? If it is, do you see the
problem
go away if you disable it?

Jim Cheshire [MSFT]
Developer Support
ASP.NET
(e-mail address removed)

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "Elliot M. Rodriguez" <elliotmrodriguezatnospamhotmail.com>
Subject: Need help with odd bug.
Date: Thu, 16 Oct 2003 12:08:49 -0400
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 208.216.254.2
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.aspnet:184667
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

I am having a heckuva time debugging this, or determining why my page
is
behaving this way.

I have a search form, that when completed, returns a datagrid. When the
user
selects a row (normal selectcommand button), i assign some session
variables
and perform a rediect to a "more information" page. Neither page is
using
Output Caching.

On the more information page, a button reads "new search". this clears
the
session variables i set in the previous page and redirects to the
original
search form. here is where the bug shows up.

when the user inputs new search criteria, the datagrd of results is
returned. when the user selects the row again, the more information
page
shows up, but with the information from the *previous* search.
additionally,
none of the events (Page_Load, any binding, etc) does not occur.

however, if I wait a few minutes and hit F5, the page_load event DOES
fire,
and the information I want is now loaded.

SEtting the page's cache.expires property doesnt work, because no
events
fire on this page. Can someone please help?
 
Back
Top