5

In C# code, I'm working with the SPGridView control to display list items from a list of type SPDocumentLibrary. It binds fine, but it looks totally plain and has basically no features. I would like it to behave (with the standard SP context menu for documents, including checkout, view, etc., and also be sortable) and look just like a regular SP document list view.

5
  • I've found that the SharePoint:ListView control has most of this functionality.
    – udog
    Commented Feb 26, 2014 at 23:22
  • I am also trying the same. Do you have any example?? Commented Mar 15, 2014 at 1:46
  • I could not find any examples
    – udog
    Commented Mar 18, 2014 at 14:33
  • just leave away the borders and set the width to 100%
    – Gwny
    Commented Jun 6, 2014 at 14:31
  • Do you found way to do it? Commented Dec 9, 2015 at 11:01

1 Answer 1

2

https://code.msdn.microsoft.com/office/Ejemplos-sobre-cmo-usar-el-69cd5f16

SP GridView Sample Code with C sharp

1
  • Please don't add link only answers. If the link breaks in the future, your answer is of no value - so please add context of the link in your answer here, thank you
    – Benny Skogberg
    Commented Oct 4, 2016 at 19:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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