0

I want to get SPList data in webpart just passing name in tool. Anybody have any idea about that?Please Suggest me.

  • Tool mean what exactly ur asking?. Just go through list related server object model of sharepoint. – TinTin Mar 30 '12 at 13:47
  • 1
    Are you talking about web part properties? – Kit Menke Mar 30 '12 at 21:11
1

I think u mean the tool part(Web Part Properties)... Create a class which extends Microsoft.SharePoint.WebPartPages.ToolPart. Can refer this Creating a Web Part with a Custom Tool Part

0

When you mean data, you mean data in a list or information about the list itself? Obviously there are multiple ways, simplest being: 1. ECMA Client Script, multiple reference, but simple see here http://kamilmka.wordpress.com/2011/11/10/ecmascript-client-object-model-retrieve-data-from-a-list/ 2. Server side even easier, use either the SPContext.Web, retrieve reference to list using TryGetList("")

0

Tool mean what exactly ur asking?. Just go through list related server object model of sharepoint. Query Sp list data

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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