Monday, March 26, 2012

VS .Net is renaming controls

How can I prevent VS.net from renaming my controls? Everytime I paste controls or do something else, it automatically rename my controls.

Thanx in advanceIs it is happening when you move from Designview to HTMLview or how it is happening?
paste controls or do something else

I like VS.NET do the renaming in fact. :)
Once I select a control and paste to somewhere else on the web form, the name (and ID more specificially) will increment automatically, say TextBox1, and then TextBox2.. blah

Are you talking about this feature?
:)
Regards,
It happens when I paste controls, it renames both; the ones I copied and the ones I copied from. Also when I drag controls onto a panel.

0 comments:

Post a Comment