Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Button Event Handler scope (private vs public) ?
Message
De
30/08/2005 13:35:40
 
 
À
30/08/2005 12:51:18
Eugenio Casal
Futura Tecnologia Informação Consult Ltd
São Paulo, Brésil
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01045181
Message ID:
01045243
Vues:
23
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform