Access Application variables in a page constructor

H

Henry Rollins

Is there any way to access an Application["myVal"] variable in the
constructor of a System.Web.UI.Page object? apparently it's uninstantiated
as of the call to the constructor, which is very frustrating.
 
D

Dmitriy Lapshin [C# / .NET MVP]

Henry,

Are you somehow restricted to use the Load event instead?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top