473,406 Members | 2,867 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Can ID be used server-side in ASP?

dw
Hello. I'm developing an ASP app and trying to make it XHTML strict. This
requires the removal of all "name" attributes from form elements. Can form
elements be read server-side in ASP with only an "id" attribute? Thanks.
Jul 22 '05 #1
2 1170
dw wrote:
Hello. I'm developing an ASP app and trying to make it XHTML strict.
This requires the removal of all "name" attributes from form
elements. Can form elements be read server-side in ASP with only an
"id" attribute? Thanks.


No.
From the XHTML spec, the name attribute is only being deprecated for these
elements:
" ... a, applet, form, frame, iframe, img, and map ..."

None of these elements have values which would normally need to be read in
server-side form processing.

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jul 22 '05 #2
dw
Thanks, Bob. I thought all "name" attributes were being done away with in
XHTML. Thanks for the clarification :)

"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:ed**************@TK2MSFTNGP09.phx.gbl...
dw wrote:
Hello. I'm developing an ASP app and trying to make it XHTML strict.
This requires the removal of all "name" attributes from form
elements. Can form elements be read server-side in ASP with only an
"id" attribute? Thanks.


No.
From the XHTML spec, the name attribute is only being deprecated for these
elements:
" ... a, applet, form, frame, iframe, img, and map ..."

None of these elements have values which would normally need to be read in
server-side form processing.

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: pb648174 | last post by:
If I am doing an Index Server query from SQL, such as: SELECT Q.* FROM OPENQUERY(FTIndexPM, ''SELECT path, characterization, rank, hitcount FROM SCOPE('DEEP TRAVERSAL OF ..... can anyone tell...
10
by: Not Available | last post by:
On the host server: namespace JCart.Common public class JCartConfiguration : IConfigurationSectionHandler private static String dbConnectionString; public static String ConnectionString { get...
4
by: Rémi | last post by:
Question: How can you determine the character set used by a webpage you built? My understanding of the issue is that the character set used by an HTML file (or any other file, for that matter)...
0
nightangel
by: nightangel | last post by:
Hi dude,what i was done in my application is uploading a image file to my server using FTP, it work great when pushing a file into the server path using FTP. The problem i met now is i need to do a...
5
by: billsahiker | last post by:
I saw one post here that basically said no way, but not sure which vs version was being discussed. Using vs 2005 I develped a user control in a vb project and would like to use that usercontrol in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.