Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trying to set button's Enabled property from Client & Se
Message
From
26/06/2008 19:37:39
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
26/06/2008 19:24:39
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01326508
Message ID:
01327109
Views:
10
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
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform