Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
User control call page method?
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
Miscellaneous
Thread ID:
01374382
Message ID:
01374443
Views:
31
>>I'm missing something glaringly obvious (not to me but I'm sure it is simple).
>>
>>
>>You are doing..
>>
>>Dim page As MyWebPage
>>
>>
>>My page is Default.aspx which is class _Default
>>
>>If I try
>>
>>Dim page as _Default
>>
>>I get an error "Type '_Default' is not defined"
>>
>
>They might not be within the same namespace. Try prefixing the as _Default with the full namespace or add a Imports statement.

This is a Web site - not a web project. I have not set a Namespace.

Google searches point me in various contradictory directions (as usual).

Some say the namespace for everything in a web site is ASP - If I try ASP._Default I get the same error.

I tried adding default="FacilitiesManagement" (that is the site name) to my namespaces section in config.web - same problem - FacilitiesManagement._Default is not defined.
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform