Attribute '(whatever)' is considered outdated. A newer construct is recommended.

VS doesn't tell you what the newer construct is, which is annoying. But here's a useful post to the asp.net forum.

 

posted @ Thursday, October 19, 2006 11:10 PM
Print

Comments on this entry:

# re: Attribute 'name' is considered outdated. A newer construct is recommended.

Left by James at 1/5/2007 11:45 AM
Gravatar
What is the newer construct? id?

# re: Attribute '(whatever)' is considered outdated. A newer construct is recommended.

Left by Angel Eyes at 1/6/2007 2:30 AM
Gravatar
For 'name', yes, 'id' is the new one. Let me know if it worked.

# re: Attribute '(whatever)' is considered outdated. A newer construct is recommended.

Left by Wynand at 9/26/2007 2:53 PM
Gravatar
Here's the problem though: In my asp.net 2.0 application, I reference a frame as a target by the <name> tag since it doesn't work when I use it's ID tag. Any advice on this one?
Thanks!

# To Wynand

Left by Angel Eyes at 9/26/2007 6:04 PM
Gravatar
You wrote that the id tag doesn't work. If this is because of the way .Net renders the HTML tags, you might succeed by using ClientID.
Basically, the question is why the id doesn't work.

# re: Attribute '(border)' is considered outdated. A newer construct is recommended.

Left by quo at 3/30/2012 7:47 AM
Gravatar
Border is outdated.whats the newer one

# re: Attribute 'border' is considered outdated. A newer construct is recommended.

Left by Clive at 4/14/2012 9:21 PM
Gravatar
Is there a replacement for the outdated border attribute?

# re: Attribute '(whatever)' is considered outdated. A newer construct is recommended.

Left by Clive at 4/14/2012 9:41 PM
Gravatar
I found the answer by clicking "here's" at top of this webpage. Here's the answer:
border Newer Construct: Use the CSS property “border”.

# @Clive

Left by angel eyes at 4/14/2012 11:03 PM
Gravatar
That's good, Clive. I wasn't near the computer, earlier.

Your comment:



(not displayed)

 
 
 
 

Live Comment Preview: