Re: insert message with overrides
From: TJS (nospam_at_here.com)
Date: 05/06/04
- Next message: Lance Ahlberg: "ASP.NET 2.0 Page with LinkButton & __doPostBack client side script missing"
- Previous message: CT: "Re: Invalid Viewstate Corrupted Problem"
- In reply to: kashypa: "RE: insert message with overrides"
- Next in thread: Kashypa: "Re: insert message with overrides"
- Reply: Kashypa: "Re: insert message with overrides"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 5 May 2004 22:57:26 -0700
it was the HttpContext thingy
thanks
"kashypa" <lohithn@aztec.soft.net> wrote in message
news:071CF3F9-8541-4C8B-871F-72E806EE6208@microsoft.com...
> Hi,
>
> I assume the code that you have sent is of a custom control that you are
trying to build.
>
> So as you know the custom controls gets bundled in to a separate Assembly
and to use them you have to register them
> in the page that you use it.
>
> So this assembly knows nothing of the HttpContext.
>
> Try doing out this.
>
> 1> Include the namespace System.Web.
>
> 2> When you want to access the Application variables use the following
> HttpContext.Current.Application(VarName)
>
> i hope this should solve your problem.
>
> Let me know on this
- Next message: Lance Ahlberg: "ASP.NET 2.0 Page with LinkButton & __doPostBack client side script missing"
- Previous message: CT: "Re: Invalid Viewstate Corrupted Problem"
- In reply to: kashypa: "RE: insert message with overrides"
- Next in thread: Kashypa: "Re: insert message with overrides"
- Reply: Kashypa: "Re: insert message with overrides"
- Messages sorted by: [ date ] [ thread ]