Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Interesting little problem in IDE
Message
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01338043
Message ID:
01338109
Vues:
13
>Perhaps because with dynamically created controls the names are not constrained to resolve completely at compile time? ie the errors won't occur until runtime.
>
>>I commented out (in HTML style) the whole block of controls (sustituted them with UserControl). However, my page that tries to access controls that are commented out still compiles OK.

Hi David,

The whole page or solution was compiled OK, but then I was getting some werid errors in run-time. So, at the end, I just used the ASP-style comment and was finally able to access my user control and get everything working. I also succeeded in implementing of event following exactly the http://chiragrdarji.wordpress.com/2007/08/23/raise-event-from-user-control-to-main-page-event-delegation-from-user-control-to-aspx-page-in-aspnetc/
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform