referencing Global Object in code behind class

Discussion in 'ASP .Net' started by sonny.stevenson@gmail.com, Apr 17, 2007.

  1. Guest

    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
    , Apr 17, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ben Miller [msft]

    Re: Code Behind vs. no code behind: error

    Ben Miller [msft], Jun 27, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    562
    Alphonse Giambrone
    Jun 28, 2003
  2. Mark Hageman

    Referencing a DLL from code-behind

    Mark Hageman, May 11, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    753
    Mark Hageman
    May 11, 2004
  3. =?Utf-8?B?SWFuIE1lYWtpbg==?=

    Problem referencing other classes from ASP.NET code behind class

    =?Utf-8?B?SWFuIE1lYWtpbg==?=, Feb 18, 2005, in forum: ASP .Net
    Replies:
    5
    Views:
    938
    tittlejoseph
    Sep 14, 2006
  4. John

    Non-code behind to code behind

    John, Feb 19, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    460
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    Feb 19, 2007
  5. John Kotuby
    Replies:
    2
    Views:
    818
    John Kotuby
    May 4, 2007
Loading...

Share This Page