VisualWebPart SandBox solution RADGrid

2 posts, 0 answers
  1. Anil B
    Anil B avatar
    1 posts
    Member since:
    Mar 2009

    Posted 23 Oct 2010 Link to this post

    I am trying to use a Telerk RadGrid (RadGrid.Net2, I know its old, its targeted for .NET 2.0, it should still work regarless) control inside a Sandboxed Visual WebPart. In the load
    Telerik.WebControls.RadGrid()
    I am getting an unable to initialize exception, IO exception in the load 
    {"Request for the permission of type 
    'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, 
    Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."} <BR>

    The sandboxed solutions are also restricted by an out of the box CAS policy, which is very minimal permissions, disk access is NOT one of them. We dont want to change the code access policies, it is NOT possible to put the elevate the trust in web.config to medium/full.
    Here are my questions:
    Which folder is the RADGrid trying to access here?
    Does any of the latest RADGrid controls work in SharePoint with minimal trust?
  2. Tsvetoslav
    Admin
    Tsvetoslav avatar
    1823 posts

    Posted 28 Oct 2010 Link to this post

    Hello Anil B,

    SharePoint SandBox solution enverionment does not behave well with any IScriptControls. We have reported this issue to Microsoft without any success of getting a resolution to it so far.

    Greetings,
    Tsvetoslav
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Back to Top