473,789 Members | 2,898 Online
Bytes | Software Development & Data Engineering Community
+ 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="T RUE">"? How do I fix this error?
--
Thanks,
Mark
Dec 13 '06 #1
4 2697
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**@discussio ns.microsoft.co mwrote in message
news:31******** *************** ***********@mic rosoft.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="T RUE">"? 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.pl lwrote 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.pl lwrote 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
1735
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 elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
2
2878
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 allowed now. I have spent all day trying to figure out a solution with no luck. I have tried document.forms and various other things but havent known exactly what to do with them and couldn't get them to work. Below I will show you my current code and...
4
21302
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. http://validator.w3.org/check?uri=http://www-thaihydro.geog.cam.ac.uk/riverslice/&ss=1&verbose=1 (e.g. see line 77) suggests that it is valid, but the spec suggests that it is not. More detail:
12
4952
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 is the meaning of < ....default="myDefaultValue" /> ?
3
8744
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"?> <FormDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Forms.xsd"> <list id="1"> <status>partially completed</status> </list>
6
2760
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 the Request.From("name_value"). TIA, -- Joe
3
2747
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
1663
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" xmlns="http://www.bonc.com.cn" targetNamespace="http://www.bonc.com.cn" elementFormDefault="qualified"> <xs:attribute name="testAttribute" type="xs:string"/> <xs:attributeGroup name="testAttributeGroup"> <xs:attribute ref="testAttribute"/>
5
2910
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 Language="C#" OnLoadComplete="Page_LoadComplete" %> <%@ Import Namespace="System" %> <%@ Import Namespace="System.Web" %> <script runat="server">
0
9666
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, 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...
0
10200
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 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...
0
9020
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, 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...
1
7529
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 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...
0
6769
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();...
0
5418
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...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4093
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 we have to send another system
3
2909
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 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...

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.