Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Global.asax recognition of the object
Message
From
20/04/2006 16:13:29
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Global.asax recognition of the object
Miscellaneous
Thread ID:
01115130
Message ID:
01115130
Views:
50
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
Next
Reply
Map
View

Click here to load this message in the networking platform