This is a migrated thread and some comments may be shown as answers.

VisualWebPart SandBox solution RADGrid

1 Answer 108 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
Anil B
Top achievements
Rank 1
Anil B asked on 24 Oct 2010, 04:49 AM
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?

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 28 Oct 2010, 05:45 PM
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
Tags
Sharepoint Integration
Asked by
Anil B
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or