468,115 Members | 2,024 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,115 developers. It's quick & easy.

Attribute 'Title' is not a valid attribute of element 'ProviderWebPart' 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 'ProviderWebPart'.

How can i get rid of these stuff.
Any ideas
Oct 27 '08 #1
5 4021
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'ProviderWebPart'.
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.dtd">

But still having the same problem

Thanks Micahel
"Michael Nemtsev [MVP]" <ne*****@msn.comwrote in message
news:90**************************@msnews.microsoft .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'ProviderWebPart'.
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.comwrote in message
news:90**************************@msnews.microsoft .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'ProviderWebPart'.
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.comwrote in message
news:90**************************@msnews.microsoft .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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Lénaïc Huard | last post: by
2 posts views Thread by piraticman | last post: by
4 posts views Thread by Manuel Faux | last post: by
4 posts views Thread by DU | last post: by
5 posts views Thread by =?Utf-8?B?bXBhaW5l?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.