473,508 Members | 2,292 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Absolutely strange inconsistent behavior occuring when a user clicks an ASP.NET button.

Hello,

I will discuss at a high level what is happening on an ASP.NET web page
I developed a year ago in ASP.NET using Visual Studio 2003 and
currently support.

I have an ASP.NET web page that is broken out into two sections. One
section is where a user enters the main infomation around a financial
outlook record and the second section is dynamic content that generates
a table of values based on the infromation entered in the first section
when the user clicks the ASP.Button. Before the information is
submitted back to the form, I fire a client-side javascript event to
validate the form and prompt the user if they want to save the
information.

Here is the HTML tag of my ASP.Net button.

<asp:button id="btnSave" EnableViewState="False" Runat="server"
CssClass="clsBtnSmall" Text="Save" CausesValidation="False"
OnCommand="CommandBtn_Click" CommandName="Save">

After the client-side validation is successful and the user clicks OK
to save the information, it goes through the code in the Page_Init and
Page_Load before executing to the CommandBtn_Click event.

Now, we have no issues saving the information when we are testing or
any user is testing this form at U.S. sites. It is performing a
Postback to the server when the button is clicked.

However, we have an issue with users down at a site in Mexico. Looking
at the trace logs it is performing a GET operation and not a postback
like when a user clicks a hyperlink on a web page. The strange thing
is this used to work for them.

The only thing I can think of is that this is a network related issue
but I have no way of proving this other than there was a network
separation happening within our organization over a weekend.

Prior to the network separation, this worked for the user in Mexico.

Afterwards, there is an error.

I am not looking at a solution (although I will accept one :) ). I
looking at "What should I look at first?" scenario.

Any input would be appreciated.

Thanks.

Dec 7 '05 #1
1 1790
My only guess could be they changed the server config to be cookieless?
When I change mine to cookieless and test a postback, the IIS logs show
my POSTS return a 302, which then trigger a GET.

Hope that helps.

--
----
700cb Development, Inc.
http://www.700cb.net
..NET utilities, developer tools,
and enterprise solutions

"Mossman" <tm******@sbcglobal.net> wrote in news:1133989243.385435.296590
@g49g2000cwa.googlegroups.com:
Hello,

I will discuss at a high level what is happening on an ASP.NET web page
I developed a year ago in ASP.NET using Visual Studio 2003 and
currently support.

I have an ASP.NET web page that is broken out into two sections. One
section is where a user enters the main infomation around a financial
outlook record and the second section is dynamic content that generates
a table of values based on the infromation entered in the first section
when the user clicks the ASP.Button. Before the information is
submitted back to the form, I fire a client-side javascript event to
validate the form and prompt the user if they want to save the
information.

Here is the HTML tag of my ASP.Net button.

<asp:button id="btnSave" EnableViewState="False" Runat="server"
CssClass="clsBtnSmall" Text="Save" CausesValidation="False"
OnCommand="CommandBtn_Click" CommandName="Save">

After the client-side validation is successful and the user clicks OK
to save the information, it goes through the code in the Page_Init and
Page_Load before executing to the CommandBtn_Click event.

Now, we have no issues saving the information when we are testing or
any user is testing this form at U.S. sites. It is performing a
Postback to the server when the button is clicked.

However, we have an issue with users down at a site in Mexico. Looking
at the trace logs it is performing a GET operation and not a postback
like when a user clicks a hyperlink on a web page. The strange thing
is this used to work for them.

The only thing I can think of is that this is a network related issue
but I have no way of proving this other than there was a network
separation happening within our organization over a weekend.

Prior to the network separation, this worked for the user in Mexico.

Afterwards, there is an error.

I am not looking at a solution (although I will accept one :) ). I
looking at "What should I look at first?" scenario.

Any input would be appreciated.

Thanks.


Dec 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
2841
by: Andres Eduardo Hernando | last post by:
Hi, I'm not entirely sure this is the right group to ask this question, but I saw a similar one above, and the group's charter is not clear enough about it, so, here I go: ;) What is the...
5
2181
by: hasden | last post by:
I'm working in .NET and I can't seem to get the behavior that I need from the combobox. I'm sure it's possible, I just don't have the .NET experience. Any help would be greatly appreciated. I need...
0
1754
by: William Wisnieski | last post by:
Hello Everyone: I'm having a very strange problem occurring with my Access 2000 database. I call it the "mystery record." Here's the story: I have a query by form that returns a record set...
1
1599
by: JJ | last post by:
We have an ASP.NET web form with 1 TextBox, 2 LinkButtons, and 1 RequireFieldValidator. The situation is: the user needs to enter a folder name in the TextBox and click the first LinkButton (the...
0
1155
by: js | last post by:
In my project I have both ASPX and classic ASP. Four things in question are the entry page(Main.aspx), the logon page(logon.ASP), .Net Session, legacy ASP Session. The Main.apsx contains a Logon...
2
2189
by: COHENMARVIN | last post by:
I have a form with a Submit button. The user fills out the form, clicks the submit button, and then the page posts back to itself. Every time the page posts back to itself, the "Page_Load" event...
10
1392
by: Amit | last post by:
Hi I have occured a very strange situation. The scenario is as follows. I have two buttons in the form. First button is Load button and the second one is Delete button. As the name suggests...
6
2250
by: Joseph Geretz | last post by:
Writing an Outlook AddIn with C#. For the user interface within Outlook I'm adding matching pairs of Toolbar buttons and Menu items. All of the buttons and menu items are wired up to send events to...
5
3099
by: Ian | last post by:
Hi everyone, I have found some bizarre (to me...!) behaviour of the Form_Activate function. I have a form which has a button control used to close the form and a subform with a datasheet view...
0
7120
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7323
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7380
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5626
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5050
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3180
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
763
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
415
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.