Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making HTML control to look exactly like ASP control
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01303049
Message ID:
01303091
Vues:
14
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>How can I disable Postback for the ASP control or make an input button to look and behave exactly like ASP button? I copied style attribute from generated HTML, but the appearance is still different.

You can suppress the postback via:
<asp:Button runat="server" id="btnSample" OnClientClick="return false;" />
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform