473,495 Members | 1,967 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Attribute 'ms_2d_layout' is not a valid attribute of element 'tabl

Hi,

I am trying to port an application for ASP.NET 1.1 to ASP.NET 2.0. Why
am I getting "Error 1 Validation (Internet Explorer 6): Attribute
'ms_2d_layout' is not a valid attribute of element 'table'" from this
element "<TABLE height="689" cellSpacing="0" cellPadding="0" width="1109"
border="0" ms_2d_layout="TRUE">"? How do I fix this error?
--
Thanks,
Mark
Dec 13 '06 #1
4 2684
First, you don't have to fix validation errors. They don't stop your program
from running correctly.

Second, ms_2d_layout is not known to be a valid attribute for table indeed.
Likely, it is an additional attribute used somewhere in the client code. If
it is true, just ignore the error.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Mark" <Ma**@discussions.microsoft.comwrote in message
news:31**********************************@microsof t.com...
Hi,

I am trying to port an application for ASP.NET 1.1 to ASP.NET 2.0. Why
am I getting "Error 1 Validation (Internet Explorer 6): Attribute
'ms_2d_layout' is not a valid attribute of element 'table'" from this
element "<TABLE height="689" cellSpacing="0" cellPadding="0" width="1109"
border="0" ms_2d_layout="TRUE">"? How do I fix this error?
--
Thanks,
Mark

Dec 13 '06 #2
Eliyahu Goldin napisa³(a):
First, you don't have to fix validation errors. They don't stop your program
from running correctly.
Partially true. Your webpages will work.
But it's good habit to validate your (x)html files. It's important to
produce standard compliant code because in this case you don't rely on
browsers "quirks" mode rendering. The less errors in validation result,
the less points where browser guessing "what you meant writing this
piece of code". Errorless code means easier way to make it work properly
because if something's wrong and your code validates - it's obvious that
you screwed and not the browser "AI":)

--
PP
Dec 13 '06 #3
What you are saying is correct when your code distort the right settings. It
appears from the original post that the validation errors are caused by
additional attributes that are likely needed for the client-side code. I
myself introduced such attributes several times in my code. If that is the
case, and you want to eliminate the validation errors, you would need to
modify the schema used for validation. This task may be far beyond your
capabilities and time/budget constraints and you would prefer rather live
with the errors.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Przemek Ptasznik" <pp******@mila.wywal.to.edu.pllwrote in message
news:el**********@inews.gazeta.pl...
Eliyahu Goldin napisa³(a):
>First, you don't have to fix validation errors. They don't stop your
program from running correctly.
Partially true. Your webpages will work.
But it's good habit to validate your (x)html files. It's important to
produce standard compliant code because in this case you don't rely on
browsers "quirks" mode rendering. The less errors in validation result,
the less points where browser guessing "what you meant writing this piece
of code". Errorless code means easier way to make it work properly because
if something's wrong and your code validates - it's obvious that you
screwed and not the browser "AI":)

--
PP

Dec 13 '06 #4
A google search for ms_2d_layout shows it all over asp.net code, it doesn't
appear to have anything to do with client side javascript - instead it looks
like it is related to grid layout. I didn't put it there, it came when I
ported from ASP.NET 1.1 to ASP.NET 2.0. Maybe is a way the validation
error is trying to say don't use grid layout for kind of compatibliity with
different browsers.
--
Mark
"Eliyahu Goldin" wrote:
What you are saying is correct when your code distort the right settings. It
appears from the original post that the validation errors are caused by
additional attributes that are likely needed for the client-side code. I
myself introduced such attributes several times in my code. If that is the
case, and you want to eliminate the validation errors, you would need to
modify the schema used for validation. This task may be far beyond your
capabilities and time/budget constraints and you would prefer rather live
with the errors.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Przemek Ptasznik" <pp******@mila.wywal.to.edu.pllwrote in message
news:el**********@inews.gazeta.pl...
Eliyahu Goldin napisa³(a):
First, you don't have to fix validation errors. They don't stop your
program from running correctly.
Partially true. Your webpages will work.
But it's good habit to validate your (x)html files. It's important to
produce standard compliant code because in this case you don't rely on
browsers "quirks" mode rendering. The less errors in validation result,
the less points where browser guessing "what you meant writing this piece
of code". Errorless code means easier way to make it work properly because
if something's wrong and your code validates - it's obvious that you
screwed and not the browser "AI":)

--
PP


Dec 14 '06 #5

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

Similar topics

1
1713
by: Dietmar Gräbner | last post by:
Hi Right now I'm dealing with derivation by restriction and I have some questions concerning the attribute property use in context of the derivation. Consider following Schema: <xs:schema...
2
2845
by: piraticman | last post by:
Hi. I have some code for a javascript jump menu... It validated with HTML 4.0 but now does not validate with XHTML strict 1.0. I have used name atributes in my code which aparantly are not...
4
21270
by: Martin Lucas-Smith | last post by:
I am wanting to know whether are XHTML1-valid characters for use within an id attribute and/or a name attribute. ...
12
4921
by: Stefano | last post by:
Hi all, what is the correct use of the "default" attribute in XML Schema? For example: <xs:element name="myProperty" type="xs:string" default="myDefaultValue"/> What can I do with it? What...
3
8732
by: Patrick | last post by:
>Is it actually valid to have an XML document with 2 XML Elements having the same ID attribute? XML Spy seems to allow something like the following <?xml version="1.0" encoding="UTF-8"?>...
6
2739
by: Joe | last post by:
Hello All: Does anyone know the difference between the name and id attributes in an Html control? I noticed on PostBack that I can not retrieve the Request.Form("id_value") but I can retrieve...
3
2733
by: patrizio.trinchini | last post by:
Hi, how can remove sibling elements based on the value of an attribute ? For instance, gven the XML document: <root> <parentElment> <testElement name="A"> <removableElement/>
0
1633
by: Aray | last post by:
Let us see the test file following: -------file nowork.xsd begin----------- <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"...
5
2896
by: =?Utf-8?B?bXBhaW5l?= | last post by:
So this one is confusing as everything works but I want this warning to go away. This is what I have (within a .NET 2.0 Web Application, using VS.NET 2008 SP1): default.aspx: <%@ Page...
0
6991
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
7160
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
7196
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...
1
6878
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...
0
7373
tracyyun
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...
0
5456
agi2029
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,...
1
4897
isladogs
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...
0
1405
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
286
bsmnconsultancy
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...

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.