Dumb idea, but if you wrote the custom controls perhaps you could add a name property? Seems to be a "standard" property that the VS IDE expects...
Dino -----Original Message----- From: The DOTNET list will be retired 7/1/02 [mailto:[EMAIL PROTECTED]] On Behalf Of Paul Gaske Sent: Wednesday, 19 June 2002 11:19 To: [EMAIL PROTECTED] Subject: [DOTNET] VS.NET IDE's auto ID and NAME attribute insertion... Hi all, I copy this: <MyControls:SomeControl runat="server" /> Then paste it and get: <MyControls:SomeControl runat="server" ID="SomeControl1" NAME="SomeControl1" /> Has anybody worked out how to turn this OFF?! It drives me bananas. I can't find any setting for it in the usual places; so I'm hoping it's something I can change in the registry/a config file somewhere. Or something! I am using custom controls that don't have NAME attributes and so every time I paste I need to manually remove these to avoid errors on the page. Please help before I smash my computer into pieces! Ok; maybe not, but you get the picture. :-) Anyone? Anyone? Bueller? Bueller? Paul Gaske ([EMAIL PROTECTED]) (Who apologises to people who've read this on the DOTNET-WEB list. I came up with a blank there!) You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.371 / Virus Database: 206 - Release Date: 13/06/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.371 / Virus Database: 206 - Release Date: 13/06/2002 You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.