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
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