Re: How to find out whether i'm in window or web!!!?
From: Eliyahu Goldin (removemeegoldin_at_monarchmed.com)
Date: 02/22/05
- Next message: louise raisbeck: "Use my own button in input=file ??"
- Previous message: Vadivel Kumar: "How to find out whether i'm in window or web!!!?"
- In reply to: Vadivel Kumar: "How to find out whether i'm in window or web!!!?"
- Next in thread: Vadivel Kumar: "Re: How to find out whether i'm in window or web!!!?"
- Reply: Vadivel Kumar: "Re: How to find out whether i'm in window or web!!!?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 22 Feb 2005 12:37:53 +0200
You can check System.Web.HttpContext.Current. It is null if you are not
responding on an http request, in other words you are not called from an
asp.net application.
Eliyahu
"Vadivel Kumar" <donotreply@spam-i-love-u.com> wrote in message
news:eAPPGkMGFHA.2568@TK2MSFTNGP10.phx.gbl...
> Hi folks,
>
> I'm writing a framework in C# which will be my business facade object
> consists
> of all data layer, BL etc.,
>
> Now the deal is, my client doesn't have any idea of whether making the
> presentation layer
> as a web interface or window interface, that's make a challenging effort
for
> me now. In some part of my code, I have to identify whether the framework
is
> deployed in window or web interface.
>
> So, the question is how to find out whether it is window or web interface
> from my framework?
>
> Cheers!
> Vadivel Kumar
>
>
- Next message: louise raisbeck: "Use my own button in input=file ??"
- Previous message: Vadivel Kumar: "How to find out whether i'm in window or web!!!?"
- In reply to: Vadivel Kumar: "How to find out whether i'm in window or web!!!?"
- Next in thread: Vadivel Kumar: "Re: How to find out whether i'm in window or web!!!?"
- Reply: Vadivel Kumar: "Re: How to find out whether i'm in window or web!!!?"
- Messages sorted by: [ date ] [ thread ]