Developers blog, .NET, C#, VB.NET, ATLAS, AJAX, WWF, ORM, LINQ, ARCHITECTURE and more by Frank Kroondijk
maandag, juli 03, 2006
Webpart body hardcoded 5px padding setting
I ran into this weird problem of not getting rid of the 5 px padding in the body of my webparts. Well it seems to be a known 'bug'. MS probably fixes it in the next release. There is a workaround to overcome the prblem. Took me some time to figure out what they had in mind.
WebPartChrome and WebPartZone derived classes you need.
download fixed classes: