Unable to use DateTimeControl in SandBox solution

If you are developing a web part in SharePoint 2010 and want to deploy the web part as Sandbox solution then you will not be able to use controls from SharePoint namespace like DateTimeControl.
Also you will not able to do a Page.Redirect from a Sandbox web part. If you really need to do these things, then for now you will have to change your web part to a farm based solution rather than a Sandbox solution.

Comments

Popular posts from this blog

Print from WPF using ReportViewer Control

Printing SSRS 2008 R2 Reports from C#.

Using IOptions class in .Net Core Unit Testing.