using the same webpart logic with different look in Sharepoint 2010
I have a custom developed webpart in Visual studio, and I want to use this same functionality in my sharepoint site mult开发者_JAVA百科iple times but with different looks every time.
what's the best practice to achieve this?
i would suggest used xslt based custom webpart so that you can apply different xslt on each instance to get different look and feel good example for the same is sharepoint coreresult webpart.
You have to inherit your webpart from DataFormWebPart
精彩评论