CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 4/17/2007 3:14:58 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 18 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
OriginalSyn
Asp.Net User
Is there a way to stop VS.NET from changing my IDs on duplicate elements4/17/2007 3:14:58 PM

0/0

I find myself having to copy/paste chunks of HTML in my idea and frustrated when I have to completely rename the individual IDs of elements when I could have easily done a simple replace on them.

e.g., I'd have s1_something, s1_somethingElse, s2_something, s2_somethingElse, ... s9_something, s9_somethingElse

If I try and copy paste the code for the s1_something, s1_somethingElse elements it's replaced with Text1, Text2 (in reality there are about 16 elements in this group.)

My work around was to name the first set as s9_ then copy them then change it to s1, so that way there were no elements with s9 until I was at the end.  Now my client wants me to add 6 more, so I have to go through the process again.

I've scoured the IDE options but have had no luck finding an option to disable this behaviour, does anyone know if this is possible?
 

Benson Yu - MSF
Asp.Net User
Re: Is there a way to stop VS.NET from changing my IDs on duplicate elements4/19/2007 5:32:22 AM

0/0

Hi OriginalSyn,

From your description, I understand that you would like to copy and paste the HTML elements with duplicate ID. In addition, you don't want Visual Studio to change the ID element automatically.

If there has been any misunderstanding, please let me know.

Based on the current situation, I suggest implementing it by unchecking the option: Auto ID elements on paste in Source view.

We can find it in Tools | Options... | Text Editor | HTML | Miscellaneous

 


Sincerely,
Benson Yu
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
OriginalSyn
Asp.Net User
Re: Is there a way to stop VS.NET from changing my IDs on duplicate elements4/30/2007 4:19:33 PM

0/0

Exactly what I was looking for thanks!
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:

Web:
Is there a way to stop VS.NET from changing my IDs on duplicate ... Is there a way to stop VS.NET from changing my IDs on duplicate elements. Last post 04-30-2007 12:19 PM by OriginalSyn. 2 replies. ...
TheMSsForum.com >> Reporting Svcs >> Stored Proc parameter name ... Deyvisson Tag: Stored Proc parameter name change leads to duplicate variables ... They are just logged into my web app. I know there is a way to get the ...
lancefisher.net There is another way to go about it though. You can set the body id in your .... So if you're around stop by and say hi. This was my first blog post, ...
Error when committing the row to the original data store - .NET VB i am trying to stop the occurance of duplicate ID's ... is there any other way of tackling this situation other than making ...
Does Google penalise for duplicate HTML vs. text? Or they treat it as a limited stop word. You know, because there are so .... vs. the amount of characters in the global template elements ...
A few really annoying VS.NET 2005 ASP.NET bugs - Rick Strahl's Web Log Because there's no 'project' there's no way to exclude certain files. ..... NET Forums - Can't UNDO, REDO and change control's ID in Design View ...
"open with" appears when i click c,d,e d [Solved] i thought i have to change my windows since nothing helped me, ..... dmadmin is not in any way a virus, a... en.kioskea.net/processus/dmadmin-exe.php3 ...
osCommerce Community Support Forums > 1062 Duplicate Entry Error Fix I researched it, and many people felt the same way. All I know is that all my problems ... duplicate entry 1062 errors, etc., ...
How to prevent entering duplicate record in DataGridView ... Isn't there some way to tell if the row that is validating is a new row? ... So in the RowValidating event, if the ID value is Nothing then I can check to ...
Cannot insert duplicate key - SQL Server - There's no way for me to, within the same package, programmatically create a ... but not with VS 2005 ? Thanks very much. Tag: Cannot insert duplicate key ...




Search This Site:










successful roles usage...anyone???

autopostback won't work on localhost

mappath problem

can i custom a login page url for a membership page?

active directory login

install settings

how to do this !?

rookie question for vwd 2005 express and sql server express

debugging issue. can not set breakpoints at runtime

how to use view--->task list in visual studio 2005 ide?

ftp code for active mode (vb.net 2.0 )

unable to write database after deployment

how do i add a new page to add a login view?

how to set global varible

msn bot not detected as crawler

basic question about accessing user-based data.....

forms authentication and child windows - need a solution please

allow unsafe code

uniqueid with @ instead of :

dropdownlist problem

changing permissions

include file statement in an aspx page

how sql query go in .cs file than .aspx?

anyone using/customizing subtext for blogging?

i am new to classifieds starter kit

what is dot net nuke?

edit form with multiple value listbox - selected won't change

createuserwizard customization

simple question

i can't create or open asp web application

 
All Times Are GMT