We've had to move one of our asp.net web applications to a new internal
server.
The move worked, except that our SUBMIT buttons on all the pages no longer
trigger a postback in Internet Explorer 6. The pages work just fine in
Firefox, though.
Any idea as to what's going on? Was there some weird Windows update for IE6
that was snuck out this week? I'm not even sure where to look to begin
figuring out this problem.
-Darrel 8 7670
The move worked, except that our SUBMIT buttons on all the pages no
longer trigger a postback in Internet Explorer 6. The pages work just fine
in Firefox, though.
Here's the HTML that gets rendered to screen:
<form name="Form1" method="post" action="agents_ edit.aspx?agent =new"
language="javas cript" onsubmit="if (!ValidatorOnSu bmit()) return false;"
id="Form1">
....
<input type="submit" name="button_sa venew" value="Save New Agent"
onclick="if (typeof(Page_Cl ientValidate) == 'function')
Page_ClientVali date(); " language="javas cript" id="button_save new" />
-Darrel
compare the "view source" from the two browser's, and see what's different.
"darrel" <no*****@nowher e.comwrote in message news:eh******** ******@TK2MSFTN GP04.phx.gbl...
>The move worked, except that our SUBMIT buttons on all the pages no longer trigger a postback in Internet Explorer 6. The pages work just fine in Firefox, though.
Here's the HTML that gets rendered to screen:
<form name="Form1" method="post" action="agents_ edit.aspx?agent =new" language="javas cript" onsubmit="if (!ValidatorOnSu bmit())
return false;" id="Form1">
...
<input type="submit" name="button_sa venew" value="Save New Agent" onclick="if (typeof(Page_Cl ientValidate) == 'function')
Page_ClientVali date(); " language="javas cript" id="button_save new" />
-Darrel
darrel napisa³(a):
>The move worked, except that our SUBMIT buttons on all the pages no longer trigger a postback in Internet Explorer 6. The pages work just fine in Firefox, though.
Here's the HTML that gets rendered to screen:
<form name="Form1" method="post" action="agents_ edit.aspx?agent =new"
language="javas cript" onsubmit="if (!ValidatorOnSu bmit()) return false;"
id="Form1">
...
There is no "language" attribute in form element neither in input
element in html! But this isn't cause of problem.
IMHO problem is in ValidatorOnSubm it function. It's probably poor
quality and only works in IE, so in FF it isn't preventing form from
submit. Check if your input is valid (in terms of your validating function).
--
PP
There is no "language" attribute in form element neither in input element
in html!
Tell that to VS.net 2003. ;o)
..
IMHO problem is in ValidatorOnSubm it function. It's probably poor quality
and only works in IE, so in FF it isn't preventing form from submit.
There is client-side validation. I turned it off on all the validation
controls, but same issue.
Plus, the client-side stuff was working before for some reason.
Anyways, I found how to 'fix' it by telling the asp:button to NOT cause
validation. Then it works fine in IE. Of course, now the page doesn't
validate. Ugh. ;o)
-Darrel
compare the "view source" from the two browser's, and see what's
different.
They're exactly the same. So it is likely the IE client side validation
that's failing. Which is odd. Why would it fail just because we moved to a
new server?
-Darrel
are you using asp.net 1.1 or 2.0 ?
1.1 has all sorts of validation problems in cross browser environments.
using 2.0 usually solves the matter.
"darrel" <no*****@nowher e.comwrote in message news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
>There is no "language" attribute in form element neither in input element in html!
Tell that to VS.net 2003. ;o)
.
>IMHO problem is in ValidatorOnSubm it function. It's probably poor quality and only works in IE, so in FF it isn't preventing form from submit.
There is client-side validation. I turned it off on all the validation controls, but same issue.
Plus, the client-side stuff was working before for some reason.
Anyways, I found how to 'fix' it by telling the asp:button to NOT cause validation. Then it works fine in IE. Of course, now the
page doesn't validate. Ugh. ;o)
-Darrel
1.1 has all sorts of validation problems in cross browser environments.
Yea. I know. ;o)
Ok, went back, did a complete recompile, and it seems to be OK now as long
as I don't use any client-side validation. I usually try to avoid doing that
anyways, so not a huge deal.
using 2.0 usually solves the matter.
Good ol' MS. Always takes a few revisions before they get things working.
;o)
-Darrel
Make sure the validation scripts are installed on the web server. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: LRW |
last post by:
(Sorry if this is a repost...my newsreader keeps crashing on the
posting--I don't know if the message going out or not)
For some reason this javascript just won't work in Firefox. It works
fine in
IE, though.
I know, IE is a bit more permissive than IE, and sometimes lets errors
work
when they shouldn't. But from what I can see, I just don't see what's
wrong.
|
by: Dave |
last post by:
(Second Try)
Greetings,
I have an asp.net web application that utilizes a User Control at the top of
the page.
My User Control contains a Server Control menu which will require postbacks.
I currently cannot get this to happen, but I know the functionality is
|
by: Tina |
last post by:
I have an aspx page with a textbox and an "add to my Account Button." when
the button is pushed, my program adds the amount in the textbox to the
database which, lets say takes a few seconds. If the user rapidly clicks on
the "add to my Account Button" it generates multiple postbacks, which I
believe all get processed asyncronously.
I don't want for it to work this way. I don't want the user to be able to
issue another postback until...
|
by: Frankie |
last post by:
Just doing some testing here to see what happens when JavaScript is
disabled. I was told somewhere along the line that PostBacks would fail
because they rely on JavaScript:
function __doPostBack(eventTarget, eventArgument) {...
But my page is still posting back just fine with JavaScript disabled (while
other JavaScript-dependent features are totally broken).
So, how do PostBacks still happen?
|
by: darrel |
last post by:
Our intranet server died a few months ago and we migrated everything over to
a new one.
When we did that, any app (asp.net 1.1) of ours that depended on client-side
navigation just broke.
What happens is that in IE, any button that causes a post-back but also
triggers client-side validation doesn't do anything. It doesn't validate,
nor causes a postback. Nor does it give me a JS error.
| |
by: narmathabala |
last post by:
Hi,
I have a set of linkbuttons postback to the same page using
Response.Redirect().
It works great with FF but not on IE (surprising). On IE, the PostBack
does not work. Am I missing anything here? I work with .Net 2.0.
Could anyone please, let me know how to work around this?
Page_Load()
{
|
by: Altman |
last post by:
I have created an ascx control and I am calling
registerclientscriptblock. The path to the js file is relative to the
aspx page and not the ascx file. The function runs fine in IE7 but in
Firefox the error console says that the function is not defined. I
tried making a very basic js file to get it to work and I am having
the same problem. My js file is as follows
function testjs()
{
alert("test fired");
|
by: =?Utf-8?B?Sm9obiBCYWlsZXk=?= |
last post by:
I have a ASP .Net page that allows moving around items on the page through
javascript. This page works fine in IE.
In FireFox however, I have found that if the page is using XHTML 1.0
Transitional as the doctype, you cannot set the style.left and style.top
properties of image or div tags. If you remove the doctype from the page it
works just fine, although I would rather not do this. You can work around
this by setting the cssText...
|
by: dihola |
last post by:
Hi all,
I have a page (C# ASP.NET) with a link button which when clicked, executes a postback that downloads a file for the user. The way this file is downloaded is:
FileInfo file = new FileInfo(HttpContext.Current.Server.MapPath(filename));
if (file.Exists)
{
HttpContext.Current.Response.Clear();
HttpContext.Current.Response.AddHeader("Content-Disposition", "attachment; filename=" +...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |