https://bugzilla.novell.com/show_bug.cgi?id=339426
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: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [EMAIL PROTECTED]
Found By: ---
code like this:
<form id="form1" runat="server" defaultbutton="SubmitButton">
<div>
<table style="width: 100%; vertical-align: top;" width="100%">
<tr><td>
<asp:TextBox ID="InputTextbox" runat="server" Width="90%"
Wrap="False"></asp:TextBox></td>
</tr>
<tr>
<td align="left">
<asp:Button ID="SubmitButton" runat="server"
OnClick="SubmitButton_Click"
Text="Submit" />
</td>
</tr>
</table>
</div>
</form>
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 1.2.5.1-1
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
libraries.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs