Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enter and Submit Buttons
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01002331
Message ID:
01002345
Views:
24
The only way that I know of to do this is to add the following code to the Page_Load() method:
    Page.RegisterHiddenField("__EVENTTARGET", "myButton");
Do you have code like that in your forms?

>We have noted that on some of our ASP.NET forms, pressing the Enter key will properly fire the the button on the form that posts the form to the server, but on other forms with similar buttons on them, pressing the Enter key does not post the form.
>
>What is the cause of this and is there a way to control this behavior?
>
>Thanks,
>Bill
Chris McCandless
Red Sky Software
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform