Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trying to set button's Enabled property from Client & Se
Message
De
27/06/2008 11:21:08
 
 
À
26/06/2008 19:37:39
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01326508
Message ID:
01327269
Vues:
12
>Don,
>>
>>Are there many checkboxes trying to influence a single button? or is it 1 checkbox/button?
>>Try it without the "this."
>>Just a guess but I have found the 'this' reference to be unreliable.
>
>In C# this refers to a member of an instance. So if a member regardless if it is a method or a variable or property or whatever is declared static it is not part of an instance and cannot be referenced with the "this" keyword.
>
>I am not sure if I have found it unreliable other than that. If you try to refer to a non instance member using this. you will get a build error.
>
>Tim

Ahh.. That's helpful. Thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform