Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ImageButton acts as submit
Message
De
08/07/2009 15:20:29
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
08/07/2009 14:14:33
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Divers
Thread ID:
01410977
Message ID:
01411007
Vues:
43
It looks like I can add a Panel around my data entry objects and dynamically specify the default button like so:

Panel1.DefaultButton = "button1";
or
Panel1.DefaultButton = "button2";

Thanks,

Jerry


>I have a webform with an ImageButton, that pops up a calendar control, and two regular buttons below it. If a user is typing into the textbox and presses enter, the ImageButton acts as the submit button. How can I get the regular button below to act as the submit button?
>
>I see that regular buttons have the "UseSubmitBehavior" property, but the ImageButton does not. How can I specify which button acts as the submit button?
>
>Thanks,
>
>Jerry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform