Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User control call page method?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 8.0
Divers
Thread ID:
01374382
Message ID:
01374443
Vues:
25
>>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!
____________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform