문제

How can I prevent a WebPartZone from wrapping with <table>? For web accessibility we don't want WebParts to be wrapped in tables.

도움이 되었습니까?

해결책

To get rid of the HTML you can add a control adapter to your web part zone control.

Here is a link to a blog post where this is done.

다른 팁

Unfortunately my experience is that WebPartZone always renders those tables. If you want to conform to accessibility standards, you will have to ditch web part zones.

See the accessibility section at http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.webparts.webpartzone.aspx

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top