That sounds right - the Profile property is defined in a partial class
and code-generated when the web form compiles.
You can also get to the profile with HttpContext.Current.Profile.
You'll have to use loose typing, though (profile["MyProperty"] instead
of profile.MyProperty).
--
Scott
http://www.OdeToCode.com/blogs/scott/
On Mon, 26 Sep 2005 19:27:01 -0700, "John Bailey"
<Jo********@discussions.microsoft.com> wrote:
Does not appear to be available in page base classes. I was intending to
create a page base class to set the culture based on the profile setting, but
the profile property does not apear to be available. I can work around it by
looking up a user, but this doesn't help with anonymous settings.
Does anyone know a way around this? I am using the release candidate.