If I paste something like
<asp:DropDownList ID="DropDownListExpirationDate" runat="server" />
onto an ASPX file that already has a control with ID DropDownListExpirationDate
, it will rename the newly-pasted control as DropDownList1
.
<asp:DropDownList ID="DropDownList1" runat="server" />
I'd rather it didn't. I'd rather it just paste exactly what I copied.
Is there a way to disable this feature?
After a quick check(!)....
Tools > Options > Text Editor > HTML > Miscellaneous
Uncheck 'Auto ID elements on paste in Source view'.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With