Hi all,
I'm trying to validate my web site developed with ASP.NET using http://validator.w3c.org but I received this error message:
.....there is no attribute "name".
If I view the source code of my web page from IE browser, there is no TAG
Name in the web form page.....
I set in the web.config also:
<xhtmlConforman ce
mode="strict"
.....>
but nothing changes....
Thanks a lot in advance for any help 3 1547
Bob wrote: Hi all,
I'm trying to validate my web site developed with ASP.NET using http://validator.w3c.org but I received this error message: ....there is no attribute "name".
If I view the source code of my web page from IE browser, there is no TAG Name in the web form page.....
I set in the web.config also: <xhtmlConforman ce mode="strict" ....> but nothing changes....
Thanks a lot in advance for any help
Can you post the line that this error occurs in? Are you using 1.1 or 2.0?
Bob,
although it is very difficult to identify what is the problem, see exactly
if you are missing the 'name' for web controls etc.
HTML example: <table name='tblmain'> .....</table>
validating the site could be quite a challenging task, try checking some
sample code at a time.
"Bob" wrote: Hi all,
I'm trying to validate my web site developed with ASP.NET using http://validator.w3c.org but I received this error message: ....there is no attribute "name".
If I view the source code of my web page from IE browser, there is no TAG Name in the web form page.....
I set in the web.config also: <xhtmlConforman ce mode="strict" ....> but nothing changes....
Thanks a lot in advance for any help
Hi Bob,
I ran into a situation where my XHTML wouldn't validate. I think it was
because the validator, as a user-agent was being treated as a downlevel
browser by ASP.NET. In other words, the validator wasn't seeing what other
browsers were seeing because ASP.NET was adjusting. At least that was my
theory.
Ken
Microsoft MVP [ASP.NET]
"Bob" <Bo*@discussion s.microsoft.com > wrote in message
news:D3******** *************** ***********@mic rosoft.com... Hi all,
I'm trying to validate my web site developed with ASP.NET using http://validator.w3c.org but I received this error message: ....there is no attribute "name".
If I view the source code of my web page from IE browser, there is no TAG Name in the web form page.....
I set in the web.config also: <xhtmlConforman ce mode="strict" ....> but nothing changes....
Thanks a lot in advance for any help This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: DU |
last post by:
Hello fellow stylers,
I don't understand the error report given by the W3C CSS validator:
"Line: -1
unrecognized media screen, tv "
I checked carefully and can't figure this one out. I created a reduced
demo page. It seems that I can not mention more than 1 media as media
|
by: Tom Pearson |
last post by:
I create controls and validators dynamically dependent on data at runtime.
I create the control then the relevant validator(s) for it assigning the Control.ID as the control to validate.
These controls and validators are then added to a table for display to the user.
This code did seem to work originally, but now does not amd I am stumped as to why. There have been some code
changes, but not to the methods below and I have pretty much...
|
by: Assimalyst |
last post by:
Hi,
I'm attempting to write a piece of code that acts as a client side
validator for all drop down lists on a webform, giving an error if the
SelectedIndex = 0.
Here is what i have:
|
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: Rigs |
last post by:
Hi,
I have a textbox with a Custom Validator that utilizes the OnServerValidate
method for that textbox. This works fine, however the method only executes
when data exists in that textbox after the Submit button is clicked. If I
click the submit button and no data exists in the textbox, the
OnServerValidate method does not fire.
I'd like the OnServerValidate method to either execute every time the Submit
button is clicked. I am...
| |
by: tshad |
last post by:
I have a page that is very long so I have set it up to page using <div> to
display or hide the different pages. When I get to the last page the user
submits the page.
This works great, except that if one of the validators finds an error and it
isn't on the last page, the user won't see it. What I want to do is know
that there is an error on the 2nd page and make that page visible (which
would show the validator error message) and the...
|
by: Bob Cox |
last post by:
I am getting the error:
Invalid number : color fuchsia is not a color value : fuchsia
from the W3C CSS validator, yet I am sure the same CSS validated ok
previously.
The offending CSS is:
a:active {
|
by: Prisoner at War |
last post by:
Actually, it doesn't have to be a blockquote...but I'm at my wits'
end: I want to make bold several lines of text which have a pair of
<br /tags between them...seems like the <b></bdo not "carry over"
when there are <br /tags involved...???
I've tried using <p style="font-weight: bold;"></p>, I've tried
<blockquote></blockquote>...I just can't figure how I'm supposed to
get the <b></btags to work for all the lines! Surely there must be...
|
by: raghulvarma |
last post by:
I have developed a custom validator to see if the name is already present in the array, if present then error message is provided.I have a textbox(TextBox1) to enter a name a button (Button1) to validate.
The code that i did is as shown below.
string names = { "Akash", "Ganga", "Sukaoi" };
ServerValidateEventArgs svea = new ServerValidateEventArgs("names", true);
protected void Button1_Click(object sender, EventArgs e)
{
...
|
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: 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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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: 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...
| |