Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enable and disable button
Message
De
31/10/2013 09:07:02
 
 
À
31/10/2013 09:01:11
Information générale
Forum:
Javascript
Catégorie:
JQuery
Divers
Thread ID:
01586844
Message ID:
01586959
Vues:
14
asp:Button (which must have "runat='server'") creates an input element with type="submit" (rather than "button" which was what I suggested)


>In the end, ASP.Net has to generate HTML to display in the browser. CSS should take care of the styling for you. My guess is if you look at the rendered page (View Source) you'll see it created a button.
>
>>Very good point. I kind of forgot that you can use plain HTML input instead of aps:button. The only thing I am thinking right now is in this case I have 4 buttons (centered on the page). And 3 of them don't need to post back but one does. I want to be sure that they all have the same "look and feel.". Will having one as asp:button and others as html buttons affect it?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform