Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The controls don't have ID associated with them
Message
De
18/11/2009 02:41:15
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Installation et Configuration
Versions des environnements
Environment:
C# 3.0
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01435294
Message ID:
01435377
Vues:
29
>Hi everybody,
>
>First of all, do we want to add 4.0 versions in Version?
>
>I'm using VS Beta 2010 and I noticed that when I drag and drop controls from the toolbox to the page, they don't have ID associated with them (ID is blank). Therefore the controls got named as "unnamed1", "unnamed2", etc.
>
>Is there a way to correct this problem?
>
>Thanks in advance.
>
>UPDATE. Re-starting VS cured the problem.

Hi,

Why do you consider this a problem? Seems to me it could be an improvement - why bother assigning IDs to controls that may not require them? And when they are named why does it matter whether they are automatically called 'unnamed1' rather than, say, 'button1' ? If you are using them in code-behind it usually makes sense to rename them to something more meaningful anyway.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform