开发者

Allow user to change the default web part styles

开发者 https://www.devze.com 2022-12-10 22:19 出处:网络
I have a web part which uses many SharePoint controls like menu开发者_如何学编程, SPGrid, tool bar etc.

I have a web part which uses many SharePoint controls like menu开发者_如何学编程, SPGrid, tool bar etc. I want the user to be able to change the style by specifying an external CSS file.

Can somebody tell me how I can achieve this?


Here is a web part that allows user to provide a CSS file for overriding the stylesused in the web part. This web part allows you to provide the custom CSS file link in the web part property and it overrides the default out of the box style of tool bar.

http://sharepointexplored.wordpress.com/2009/05/17/how-to-override-sharepoint-styles-for-custom-web-parts/

Hope this helps

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号