Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The controls don't have ID associated with them
Message
From
18/11/2009 02:41:15
 
General information
Forum:
ASP.NET
Category:
Installation, Setup and Configuration
Environment versions
Environment:
C# 3.0
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01435294
Message ID:
01435377
Views:
30
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform