Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting the button HREF
Message
De
20/04/2008 11:33:42
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Titre:
Detecting the button HREF
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01311954
Message ID:
01311954
Vues:
80
I have some code that is disabling a button as soon as a click is done on it. However, for now, I have to include the URL of the button in the Add() method as I do not know how to detect that.

Is there a way in .NET to adjust the following line to it would be generic no matter the URL of the button?
                loControlButton.Attributes.Add("onclick", "this.disabled=true; this.form.submit()")
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
Répondre
Fil
Voir

Click here to load this message in the networking platform