18 July 2011

SPGridView in sandboxed solutions

Today i tried to use SPGridView in my sandbox project. Unfortunately this is not possible. I stumbled over Steve Clements Blog providing a workaround for this. Use GridView and copy some styles that the control looks like a SPGridView.

So here is a page from Microsoft about Restrictions on Sandboxed Solutions in SharePoint 2010 what works in sandboxed solutions and what not.
Unfortunately the namespace: Microsoft.SharePoint.WebControls is not allowed in sandboxed solutions.

Well...

1 comments:

  1. Note that Steve Clement's blog is just applying CSS...not things like the out of the box filtering capability.

    ReplyDelete