Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting the button HREF
Message
From
20/04/2008 11:33:42
 
 
To
All
General information
Forum:
ASP.NET
Category:
Web forms
Title:
Detecting the button HREF
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01311954
Message ID:
01311954
Views:
79
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
Reply
Map
View

Click here to load this message in the networking platform