Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default Command Button
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00838919
Message ID:
00838965
Vues:
32
Thanks, Cathi ... I don't need to use it right now (not working on any WebForms), but I thought others reading the thread might benefit.

~~Bonnie


>Bonnie,
>
>Yes, you can also use the following javascript code to set a default button. The class just contains a built in control that allows you to set a property instead of needing to add javascript. Here is the code that is involved to do it manually:
>
>
>Page.RegisterHiddenField("__EVENTTARGET", "btnSearch")
>
>
>>Cathi,
>>
>>Isn't there just some javascript that will set a default button? Or am I hallucinating? <g>
>>
>>~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform