Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > referencing Global Object in code behind class

Reply
Thread Tools

referencing Global Object in code behind class

 
 
sonny.stevenson@gmail.com
Guest
Posts: n/a
 
      04-17-2007
I created a global object with the following in the global.asax class

<object id="mainObj" runat="server"
class="global_Object.MAIN" scope="Application" />

I have been searching online for a while and I cannot for the life of
me find any resources. How can I reference the global instance
mainObj from any code behind class??

thx,

sonny

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting error referencing Hyperlink from code-behind John Kotuby ASP .Net 2 05-04-2007 06:02 PM
Non-code behind to code behind John ASP .Net 2 02-19-2007 07:08 PM
Problem referencing other classes from ASP.NET code behind class =?Utf-8?B?SWFuIE1lYWtpbg==?= ASP .Net 5 09-14-2006 09:58 AM
Referencing a DLL from code-behind Mark Hageman ASP .Net 4 05-11-2004 07:48 PM
Re: Code Behind vs. no code behind: error Ben Miller [msft] ASP .Net 1 06-28-2003 01:46 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57