Information générale
Catégorie:
Formulaires Web
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement