473,394 Members | 1,893 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

A button doesn't work no more

bbp
Hello,

In an ASPX page I have a "Quit" button which make a simple redirect in
code-behind.
This button doesn't work no more since (I think) I moved from the framework
1.0 to 1.1
and it doesn't work only on IE! My ASPX page works in FireFox.
If the button doesn't work it's because of validators (and it worked with
the same code in v1.0).

The HTML code done in IE :
<form name="Form1" method="post" action="test.aspx" language="javascript"
onsubmit="if (!ValidatorOnSubmit()) return false;" id="Form1">
The HTML code done in FireFox :
<form name="Form1" method="post" action="test.aspx" id="Form1">

It's the "onsubmit" which block the page load. It doesn't appear on
FireFox's HTML code.
I haven't error and nothing is happening.

The "Quit" button's HTML code in both of browsers :
<input type="submit" name="Bouton:Quitter" value="Quitter"
id="Bouton_Quitter" font-color="Red"
style="color:Red;border-width:1px;border-style:Solid;font-size:8pt;font-weight:bold;height:27px;width:150px;" />

The "Quit" button's ASPX code :
<asp:button id="Quitter" CausesValidation="False" runat="server"
Width="150px" Font-Bold="True" BorderStyle="Solid" BorderWidth="1px"
Height="27px" Font-Size="8pt" text="Quitter" ForeColor="Red"
font-color="Red"></asp:button>

How can I do to not generate "onsubmit" event in my form tag?
Or anything else which could make my button work?

I put in the <system.web> tag in the web.config file :
<browserCaps>TagWriter=System.Web.UI.HtmlTextWrite r</browserCaps>
It doesn't work for that!

I'm blocked for some days...

Best regards,

bbp.

PS : I'm not fluent in english, so I'm sorry if you don't understand what I
wrote :)

Nov 19 '05 #1
4 3380
Have u ran :- run aspregiis /i from the .NET framework folder
Patrick

*** Sent via Developersdex http://www.developersdex.com ***
Nov 19 '05 #2
bbp
I'm sorry I don't speak english very well and I'm a beginner too...
Why run aspregiis /i ?
Nov 19 '05 #3
This might help: http://scottonwriting.net/sowBlog/posts/2943.aspx

Cheers,

Mun
--
Munsifali Rashid
http://www.munit.co.uk/blog/
"bbp" <bb*@discussions.microsoft.com> wrote in message
news:4C**********************************@microsof t.com...
I'm sorry I don't speak english very well and I'm a beginner too...
Why run aspregiis /i ?

Nov 19 '05 #4
bbp
I had a bad version of WebUIValidation.js.

Well done!
"Patrick Olurotimi Ige" wrote:
Have u ran :- run aspregiis /i from the .NET framework folder
Patrick

*** Sent via Developersdex http://www.developersdex.com ***

Nov 19 '05 #5

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

Similar topics

7
by: piperzen | last post by:
Hi, I'm developing a set of language learning exercises for http://www.yale.edu/swahili , and we've run into a javascript question that the programmer doesn't know how to tackle (we mostly work...
25
by: KK | last post by:
Hi, I am using history.go(-1) for implementing the back button functionality. Its working fine but with this exception. 1. The page which is having back button has some hyperlinks on it. ...
4
by: Chris Lane | last post by:
Hi, I have an HTML RESET button and Web Control Button that posts back to the server. Problem is the reset button doesn't work after the postback occurs. Any ideas or suggestions as to why this...
1
by: Jack Black | last post by:
OK, I've got a basic webform set up, with several buttons that I want to trigger different things on when they're clicked. For example, when the onClick event is triggered on one, I want a...
9
by: Neo Geshel | last post by:
I have strip-mined, strip-searched, and completely exhausted the Internet (up to the 30th page on Google, with 100 results per page!!), all without finding an answer to my question AS TO WHY IT...
4
by: John Smith | last post by:
I have a continuous form. there is a command button with the following code for the OnClick event: DoCmd.OpenForm "frmPlants", , , "PlantsID =" & Me!PlantsID I click the button and frmPlants...
8
by: Richard Maher | last post by:
Hi, I am in a mouseup event for button A and I'd like to disable=false button B before starting some work. Is there anyway that an event for button B can then fire before my event processing for...
4
by: cameljs18 | last post by:
Should be easy don't know y i cant get it to work please help. public partial class Form1 : Form { public Form1() { InitializeComponent(); }
8
by: Harvey Schmidlapp | last post by:
I have a fairly complex form (generated by means of an ASP 3 page). The form is used to define a query against a database. After running a query, the user hits their browser's back button and goes...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
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
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...
0
tracyyun
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...

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.