Both WebPart and WebPartZone ultimately derive from WebControl, so it seems like this would work, but before I got into it deeply, was curious if anyone had tried it and if there are any issues?
I don't think there is an esay way to make it works.
This was a reply from Scott Guthrie:
Unfortunately I don't think there is a super easy way to override WebParts -- since some of the layout does assume tables (since the CSS to-do this positioning with divs isn't super easy). We are going to look at whether it is possible to build another
control adapter for webparts in the future that uses <divs> -- but right now it probably isn't very easy.
Sorry!
Scott
Don't forget to click "Mark as Answer" on the post that helped you.
Member
342 Points
123 Posts
Is CSS Control Adapters compatible with WebPart and WebPartZone controls?
Feb 29, 2008 12:52 PM|dwlovell|LINK
Both WebPart and WebPartZone ultimately derive from WebControl, so it seems like this would work, but before I got into it deeply, was curious if anyone had tried it and if there are any issues?
Participant
1473 Points
418 Posts
Re: Is CSS Control Adapters compatible with WebPart and WebPartZone controls?
Feb 29, 2008 01:47 PM|amensi|LINK
I don't think there is an esay way to make it works.
This was a reply from Scott Guthrie:
Unfortunately I don't think there is a super easy way to override WebParts -- since some of the layout does assume tables (since the CSS to-do this positioning with divs isn't super easy). We are going to look at whether it is possible to build another control adapter for webparts in the future that uses <divs> -- but right now it probably isn't very easy.
Sorry!
Scott
Don't forget to click "Mark as Answer" on the post that helped you.
Member
342 Points
123 Posts
Re: Is CSS Control Adapters compatible with WebPart and WebPartZone controls?
Feb 29, 2008 02:27 PM|dwlovell|LINK
Thanks for pointing me to this info. Too bad it wont work for now.
-David