I am unaware of a way to do this - you can set the class name that it
compiles to using the ClassName attribute of the @Page directive, but the
documentation explicitly indicates, "This value can be any valid class name
but should not include a namespace."
--
Chris Jackson
Software Engineer
Microsoft MVP - Windows Shell/UI
Windows XP Associate Expert
--
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
--
"Steve - DND" <ng@digitalnoth ing.com> wrote in message
news:uf******** ******@tk2msftn gp13.phx.gbl...
Is it possible to get my ASPX pages to compile in a namespace different
than ASP? Why don't ASPX pages compile by default in the namespace of their
code-behind? This causes me to have to import namespaces on every page in
which I want to reference a class on another page, even if it's in the
same namespace in terms of code-behinds.
Thanks,
Steve