BUG: Web User Control

  • Thread starter Trevor Benedict R
  • Start date
T

Trevor Benedict R

ASP.NET 1.1

Not sure if anyone else has encountered this. I just created a Web User
Control with a name that starts with a Number. The class gets created with
an underscore. So far so good. The project gets compiled. When I drop this
control onto a Web Form, VS.NET crashes. Has anyone else encountered this. I
am not sure if this is the reason, but as soon as I renamed the control to
start with a text, everything works fine.

The tagprefix does not seem to like a name starting with a number. I am
aware of the naming conventions rule, but whey allow it in the first place.

Regards,

Trevor Benedict R
 
K

Karl Seguin

Funny,I get an error "invalid identifier" when trying to create a user
control that starts with a number, which would answer your question "why
allow it inthe first place". Perhaps I have a service pack you don't.


Karl
 
T

Trevor Benedict R

Strange indeed. My box has been patched with KB867460. There is no mention
of this fix in this article
(http://support.microsoft.com/Default.aspx?kbid=867460
). I downloaded the Service Pack 1 for .Net Framework 1.1 and installed it.
I am able to create a Web User Control with a numeric prefix. As you had
mentioned prehaps you have a pacth that I don't. I have configured Auto
Update to update my machine on a daily machine (More of a corporate policy).
Let's see if someone from MS picks up this thread and replies to it.

Regards,

Trevor Benedict R
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top