I am trying to modify the List View of Link list in SharePoint 2010. What I need to do is to allow/disallow users to order item of Link list programmatically. We can do this easily using SharePoint browser.
How to do this using SharePoint UI. Goto List->Modify Views. There is "Sort" option "Allow users to order items in this view? ".
But I need to do this programmatically and the accessor "SPView.OrderedView" is read only so I am struc开发者_如何学JAVAk.
I can however change the sorting columns using CAML.
Any suggestion will be greatly appreciated.
Thanks Prakash Tandukar
There is a similar thread of MSDN Forums - Ordering View Programmatically. Hope this helps.
精彩评论