Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Taking control over a button
Message
De
11/05/2006 22:43:28
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01120906
Message ID:
01121204
Vues:
13
>Instead of an asp:Button control you could use a regular input button, like this:
>
>
><input id="Button1" type="button" value="button" />
>
If I do that, I loose all the ability to control that button from the code behind.

>If, on the other hand, you want to have programatic control over this button server-side you can simply add the runat="server" attribute on the element and it will become available in your code-behind:

The syntax you showed is an option to have it visible in the code behind. This is great.

However, since last night, I finally figured out the proper way of posting these pages and have resolved the issue.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform