473,785 Members | 2,209 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Attribute 'Title' is not a valid attribute of element 'ProviderWebPar t' etc..

I have a webpart project i copied across and after setting up in VS 2005 all good.
When i go to the design mode and try and autofornat my webpartzone to for example Simple or Professional.
The i try and view it to Design mode i get error saying it can't be switched and then when i complile it i get these errors below !!! arg..

Attribute 'width' is considered outdated. A newer construct is recommended.
Attribute 'Title' is not a valid attribute of element 'ProviderWebPar t'.

How can i get rid of these stuff.
Any ideas
Oct 27 '08 #1
5 4170
Hello rote,

What the doc type settings do you have and which superclass of webpart you
are using?!

Seems that you have .net 1.1 webpart, not 2.0 one

---
WBR,
Michael Nemtsev [Microsoft MVP] :: blog: http://spaces.live.com/laflour
:: http://twitter.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
rI have a webpart project i copied across and after setting up in VS
r2005 all good.
r>
rWhen i go to the design mode and try and autofornat my webpartzone to
rfor example Simple or Professional.
r>
rThe i try and view it to Design mode i get error saying it can't be
rswitched and then when i complile it i get these errors below !!!
rarg..
r>
rAttribute 'width' is considered outdated. A newer construct is
rrecommended. Attribute 'Title' is not a valid attribute of element
r'ProviderWebPa rt'.
r>
rHow can i get rid of these stuff.
rAny ideas
Oct 27 '08 #2
I have this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

and changed it to :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">

But still having the same problem

Thanks Micahel
"Michael Nemtsev [MVP]" <ne*****@msn.co mwrote in message
news:90******** *************** ***@msnews.micr osoft.com...
Hello rote,

What the doc type settings do you have and which superclass of webpart you
are using?!

Seems that you have .net 1.1 webpart, not 2.0 one

---
WBR, Michael Nemtsev [Microsoft MVP] :: blog:
http://spaces.live.com/laflour :: http://twitter.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

rI have a webpart project i copied across and after setting up in VS
r2005 all good.
rrWhen i go to the design mode and try and autofornat my webpartzone
to
rfor example Simple or Professional.
rrThe i try and view it to Design mode i get error saying it can't be
rswitched and then when i complile it i get these errors below !!!
rarg..
rrAttribute 'width' is considered outdated. A newer construct is
rrecommended. Attribute 'Title' is not a valid attribute of element
r'ProviderWebPa rt'.
rrHow can i get rid of these stuff.
rAny ideas


Oct 27 '08 #3
When i create a new webform and add Wepart components.
and Use the autoformat option it does work well and i can switch btw design
and code
I reckon it an old project and i have to re-create it.
Anyways to correct this without creating a new project?
Michael you do reisde in Melb isn't it.Do you attend MOSSIG :)

"Michael Nemtsev [MVP]" <ne*****@msn.co mwrote in message
news:90******** *************** ***@msnews.micr osoft.com...
Hello rote,

What the doc type settings do you have and which superclass of webpart you
are using?!

Seems that you have .net 1.1 webpart, not 2.0 one

---
WBR, Michael Nemtsev [Microsoft MVP] :: blog:
http://spaces.live.com/laflour :: http://twitter.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

rI have a webpart project i copied across and after setting up in VS
r2005 all good.
rrWhen i go to the design mode and try and autofornat my webpartzone
to
rfor example Simple or Professional.
rrThe i try and view it to Design mode i get error saying it can't be
rswitched and then when i complile it i get these errors below !!!
rarg..
rrAttribute 'width' is considered outdated. A newer construct is
rrecommended. Attribute 'Title' is not a valid attribute of element
r'ProviderWebPa rt'.
rrHow can i get rid of these stuff.
rAny ideas


Oct 28 '08 #4
Hello rote,

rWhen i create a new webform and add Wepart components.
rand Use the autoformat option it does work well and i can switch btw
rdesign
rand code
rI reckon it an old project and i have to re-create it.
rAnyways to correct this without creating a new project?

Seems that some of old classes is uses, which are outdated in new solution.

Compare what the difference in page from new solution and in old one
rMichael you do reisde in Melb isn't it.Do you attend MOSSIG :)

Nope, I'm Sydney based :)
---
WBR,
Michael Nemtsev [Microsoft MVP] :: blog: http://spaces.live.com/laflour
:: http://twitter.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
Oct 28 '08 #5
thanks Michael
I fixed it i reckon it was the doctype :(

"Michael Nemtsev [MVP]" <ne*****@msn.co mwrote in message
news:90******** *************** ***@msnews.micr osoft.com...
Hello rote,

rWhen i create a new webform and add Wepart components.
rand Use the autoformat option it does work well and i can switch btw
rdesign
rand code
rI reckon it an old project and i have to re-create it.
rAnyways to correct this without creating a new project?

Seems that some of old classes is uses, which are outdated in new
solution.

Compare what the difference in page from new solution and in old one
rMichael you do reisde in Melb isn't it.Do you attend MOSSIG :)

Nope, I'm Sydney based :)
---
WBR, Michael Nemtsev [Microsoft MVP] :: blog:
http://spaces.live.com/laflour :: http://twitter.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

Oct 29 '08 #6

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

Similar topics

1
3287
by: j erickson | last post by:
with the following xsl and xml file, the display of the gif file with the <image/url> tag works. However, the gif file in the <description> tag using the name attribute "src" won't make the correct link to the gif file. why? <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
4
2936
by: Lénaïc Huard | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I've some namespace problems when defining default values for attributes. My problem seems to come from the fact that the attributes are defined in a different namespace from the element.
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
15786
by: Manuel Faux | last post by:
Hello! I used the "File Upload - Validator" and the result is like the following: Line 13, column 204: there is no attribute "border" ....irefox!" title="Get Firefox!" border="0" /></a></p> You have used the attribute named above in your document, but the document type you are using does not support that attribute for this
4
15407
by: DU | last post by:
I am looking for opinions on the issue of length of title attribute. First of all, the current HTML 4.01 spec is rather vague on this issue... at least, it isn't explicit nor normative. The HTML 4.01 spec and WAI mention "short message", "short description", "advisory title", "informative link title" for the title attribute. Personally, I think that having a more than 128 characters tooltip does not meet the original goals of the HTML...
33
3305
by: bissatch | last post by:
Hi, I fully understand the purpose of an alt attribute within a <img> tag but why would you use a title or summary attribute within, for example, a <p> tag. I have read books recommending that I use them but why? Does this enhance accessibility? Please provide reasons why one would want to use these? Thanks Burnsy
10
42969
by: Jon Noring | last post by:
Out of curiosity, may a CDATA section appear within an attribute value with datatype CDATA? And if so, how about other attribute value datatypes which accept the XML markup characters? To me, the XML specification seems a little ambiguous on this, so I defer to the XML authorities. Refer to sections 2.4 and 2.7 (it all hinges on if CDATA attribute values are part of markup or not.) Thanks.
3
3498
by: Jon | last post by:
I have an xml document like so... <?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:ng="http://newsgator.com/schema/extensions"> <channel> <title></title> <link></link> <description></description> ...
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
9646
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
9956
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 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...
0
8982
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...
0
6742
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
5386
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
5514
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4055
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
2
3658
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2887
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.