I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am developing using VSTS 2008 + C# + .Net 3.5 + ASP.Net.

I want to develop a WebPart, like a tab based control, like task manager, items (e.g. processes, users, etc.) are managed by tab on the top for different categories, and in each category tab, items are organized in list. I need to get information about which tab is selected in my requirement.

Any reference code or document?

  • 1
    @George2: What exactly are you asking here? How to retrieve the list data? We prefer specific questions here. It seems like you are asking for someone to give you a complete solution. – Alex Angas Jan 9 '10 at 21:30
up vote 2 down vote accepted

You could delegate the tab stuff to a jQuery plugin (just google), all you then need to do is render the correct html.

e.g. you render div elements with a certain class and let the jQuery plugin transform this to tabs on the client.

Not sure what you mean by "I need to get information about which tab is selected in my requirement" and whether this requirement is still valid when you implement it as suggested.

  • "a jQuery plugin" -- I find some ones. Could you recommend me an easy to use one and easy to integrate with C# code (I need C# code to read list content from SharePoint List and display in different tabs) from your experience please? – George2 Jan 10 '10 at 11:51

Christophe Humbert's Easy Tabs would be an ideal option to use. You place list view web parts on your desired page, then add in the easy tabs script and it converts it to a tabbed interface.

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.