A button doesn't work no more

G

Guest

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.HtmlTextWriter</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 :)
 
P

Patrick Olurotimi Ige

Have u ran :- run aspregiis /i from the .NET framework folder
Patrick
 
G

Guest

I'm sorry I don't speak english very well and I'm a beginner too...
Why run aspregiis /i ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top