Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Button Event Handler scope (private vs public) ?
Message
From
30/08/2005 13:35:40
 
 
To
30/08/2005 12:51:18
Eugenio Casal
Futura Tecnologia Informação Consult Ltd
São Paulo, Brazil
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01045181
Message ID:
01045243
Views:
25
>This happens because the ASPX Page is based in the class declared in the aspx.cs and it does not have access to the private members.

Which is declared as:
public class Default : System.Web.UI.Page
so I'm still not clear why does the CodeBehind page which can see the page objects does not allow the page object to get to its own click method (which BTW was automatically defined as private by VS 2003).


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform