[Mono-bugs] [Bug 339426] New: the attribute defaultbutton of the element <form> of ASP. NET pages doesn't seem to work

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 5 23:19:09 EST 2007


           Summary: the attribute defaultbutton of the element <form> of
                    ASP.NET pages doesn't seem to work
           Product: Mono: Class Libraries
           Version: 1.2
          Platform: i586
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: orgsow at gmail.com
         QAContact: mono-bugs at ximian.com
          Found By: ---

code like this:

<form id="form1" runat="server" defaultbutton="SubmitButton">
      <table style="width: 100%; vertical-align: top;" width="100%">
<asp:TextBox ID="InputTextbox" runat="server" Width="90%"
                      <td align="left">
                        <asp:Button ID="SubmitButton" runat="server"
                          Text="Submit" />

should fire the SubmitButton_Click event handler if the user hits the enter key
while in the text field, which submits the form.  This event fires when using
window's libraries but not mono's.

The library I am using is version

It's possible this is a bug with mono-apache-server2 if it's the web server's
responsibility to fire the event but I'm assuming this code is inside mono's

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list