Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Global.asax recognition of the object
Message
De
20/04/2006 16:13:29
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Global.asax recognition of the object
Divers
Thread ID:
01115130
Message ID:
01115130
Vues:
51
In Default.aspx, in the Page_Load() event, if I do this:
        Dim loApp As Framework.Test = New Framework.Test
It works. But, if I put this object creation in the Global.asax file like this:
<object id="LXFramework" runat="server" class="Framework.Test" scope="Application" />
Then, in the Page_Load(), I would do a direct reference to LXFramework, it will tell me that LXFramework is not declared. The creation of the object is well done as when I do it manually, it works. But, something is not linking the content of Global.asax to my project. What is causing that?
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform