I am attempting to create a web site using ASP.NET v1.1 to comply with
the W3C's WAI Triple-A standard.
To this end I need ASP.NET to emit valid HTML 4.01 Transitional (once
confident with ASP.NET and HTML 4.01 I plan to move onto XHTML).
I have found several articles suggesting the use of Response Filters to
amend the HTML on route to the client which are very usefull for adding
a container for the ViewState and removing the Form's name attribute.
My problem is that when using Validator Controls to perform Client (and
Server Side) validation, for the Validators to work client side, they
must be accompanied by a hidden HTML span with multiple attributes.
E.g. <span id="ucClient_rf vFirstName"
controltovalida te="ucClient_tx tFirstName" errormessage="F irst Name"
display="None"
evaluationfunct ion="RequiredFi eldValidatorEva luateIsValid"
initialvalue="" style="color:Re d;display:none; "></span>
These additional attributes cause the markup to fail validation as they
are not part of the HTML 4.01 Transitional DTD.
Can anybody tell me how to make an ASP.NET page that uses Validator
Controls validate against the HTML 4.01 DTD?
Will I, as I currently fear, have to resort to Server Side validation
only? 3 1222
Could you look at this page from Opera or FireFox? http://www.validatorcontrol.softain.com/Download.aspx
The page uses stardard validators for the email and password. The result
span is "<span id="Download__c tl0_EmailValida tor"
style="visibili ty:hidden;">", without additional info. But the developers
changes standard validators for non-IE browsers only. You can try to repeat
their functionality or buy the source and change it to working with IE.
Could you look at this page from Opera or FireFox? http://www.validatorcontrol.softain.com/Demo.aspx
The page uses stardard validators. The result spans (for example,
<span id="Demo_LeftDe mo_RequiredFiel dValidator"
style="visibili ty:hidden;"><fo nt color="Yellow"> *</font></span>
) do not contain additional info. But the developers changes the validators
for non-IE browsers only. You can try to repeat their functionality or buy
the source and change it to working with IE.
Thanks Sergey, that looks very promissing. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Nick Kew |
last post by:
There's a new beta of the W3C Markup Validation Service now live at
<URL:http://validator.w3.org:8001/>
Probably the most important change is verbose output, including attempts
to explain the validator errors. Other changes include improved
display of error messages, and a choice of parse modes.
Currently - but probably not for long - it includes an
"interesting" default setting!
Some of the changes have been the subject of much...
|
by: Torbjørn Pettersen |
last post by:
As you might have noticed I'm trying to clean up my web site's
HTML code. The way I do it is simply more or less redoing to
complete site, testing it on a web server I have set up on my
local network.
I have downloaded, and installed CSE HTML Validator Pro,
but I don't get the same results with that as I do with the online
validator on W3.org. And I can't upload files to W3.org either,
due to all the ASP code I use.
|
by: Colin Cogle |
last post by:
-------
Line 47, column 8: there is no attribute "id"
<DIV id="LeftNavigation" style="position:absolute; left:8px; top:6px;
width:200p
-------
Line 47, column 31: there is no attribute "style"
<DIV id="LeftNavigation" style="position:absolute; left:8px; top:6px;
width:200p
-------
Line 47, column 127: element "DIV" undefined
|
by: Neal |
last post by:
I've just started a book course"HTML, Complete Course" from Seybold. It has
a confidence builder section which I did and it worked fine. But the actual
tutorial section at the beginning of the course is the problem. Ive typed in
the code and it comes up in the browser, but when I tery to validate it, it
fails on .....
Sorry, this type of URL scheme (file) is not supported by this service.
Please check that you entered the URL correctly.
...
|
by: thomas_jedenfelt_1 |
last post by:
Hi everyone,
Is the W3C HTML Validator in error when it returns <br /> as valid
for HTML 4.01 Strict doctype?
In March 2004 , the Validator returned <br />, <hr /> and <img />
as invalid for HTML 4.01 Strict.
Liam Quinn said "You can't mix HTML and XHTML. You need to choose
one or the other syntax."
| |
by: Greg Heilers |
last post by:
Greetings,
It is wonderful to find such a useful group. This is my first
time here, so I apologize up front, if this question has been
asked (and answered) a thousand times before.
While validating my code with the W3C Validator, I pass (get
"The Green") while my files reside on my local computer. However,
once I upload them to the host (Yahoo Webhostings...the paid version,
*not* Geocities), I get error messages (and a "Fail"), due...
|
by: Pham Nguyen |
last post by:
Has anyone seen an example of a textbox server control that has
built-in client-side validation? I'd like to build a server control
that extends the System.Web.UI.WebControls.TextBox class to allow
javascript checks for things like valid e-mail addresses or phone
numbers (without having to add a separate control for validation).
One idea I did some work on was having the control implement the
IValidator interface and basically recreating...
|
by: VK |
last post by:
Hi,
After the response on my request from W3C I'm still unclear about Tidy
vs. Validator discrepansies. That started with <IFRAME> issue, but
there is more as I know. Anyway, this very basic HTML page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN"
"http://www.w3.org/TR/html401/strict.dtd">
<html>
<head>
|
by: Daniele Perilli |
last post by:
Hi everybody,
I'd like to introduce you a new little tool I developed to
automatically check markup validation of all pages in given websites.
It uses W3C HTML Validator and CSS Validator online services in
recursive mode (without any max pages limit as other known services).
It's called Markup Validator and, of course, it's completely free.
I'd be delighted to have a feedback from you about it:
http://www.markupvalidator.com
Thanks.
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| | |