Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange Error popped up after unknown actions
Message
 
 
À
30/04/2008 15:39:28
Information générale
Forum:
ASP.NET
Catégorie:
Problèmes
Versions des environnements
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01314337
Message ID:
01314344
Vues:
8
>>Hi everybody,
>>
>>I've installed VS2008 and I was just playing with my page. I then added UpdatePanel and UpdateProgress and all of the sudden somehow I got 78 or more build errors.
>>
>>Ok, I panicked, took the previous copy of ASPX, found a problem (bug or feature - if the region is collapsed it is not used in Search/Replace dialog), etc.
>>
>>Anyway, now there is one strange error pointing to the line 1 of APSX.
>>
>>Error 16 'System.Web.UI.Control' does not contain a definition for 'DataItem' and no extension method 'DataItem' accepting a first argument of type 'System.Web.UI.Control' could be found (are you missing a using directive or an assembly reference?) C:\Development\Visual Studio Projects\WebSites\FCAdmin\Coordinator\People\Registration.aspx 1 1 C:\...\FCAdmin\
>>
>>Few minutes ago I was running the page just fine...
>>
>>I then was just re-arranging some code in the cs file to put all related code together.
>>
>>What can I do with this error?
>>
>>Thanks a lot in advance.
>
>Ctrl-Z <g>
>
>Also make sure you have System.Web.dll in your project references, since that is what the error is indicating you are missing.

Similar page works just fine. I would assume none of the pages would work without the reference.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform