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.
-
I've found that the SharePoint:ListView control has most of this functionality.– udogCommented Feb 26, 2014 at 23:22
-
I am also trying the same. Do you have any example??– santosh kondapalliCommented Mar 15, 2014 at 1:46
-
I could not find any examples– udogCommented Mar 18, 2014 at 14:33
-
just leave away the borders and set the width to 100%– GwnyCommented Jun 6, 2014 at 14:31
-
Do you found way to do it?– love thakkerCommented Dec 9, 2015 at 11:01
Add a comment
|
1 Answer
https://code.msdn.microsoft.com/office/Ejemplos-sobre-cmo-usar-el-69cd5f16
SP GridView Sample Code with C sharp
-
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