Category: 2010

Jun 16

How to: turn off custom errors for debugging mode in SharePoint 2010 application pages

Unfortunately custom errors is a setting that lives at the SharePoint site level, not at the ‘application page / _layouts’ level, so you will have to edit the web.config that applies to the entire SharePoint site which is located at:┬áC:inetpubwwwrootwssVirtualDirectories Once there you’ll have to enable 3 different settings that should already be there for …

Continue reading

Jan 13

How to make your Telerik controls work on a Custom SharePoint 2010 web application

There are 3 important things you need to do in order for the Telerik controls to work with your custom .Net page in SharePoint 2010 Makes sure all your assemblies are marked as safe asdf asdf Assemblies: <SafeControl Assembly=”Telerik.Web.UI, Version=2010.3.1215.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4″ Namespace=”Telerik.Web.UI” TypeName=”*” Safe=”True” SafeAgainstScript=”False” /> <SafeControl Assembly=”Telerik.Web.UI, Version=2010.3.1215.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4″ Namespace=”Telerik.Web.UI.Editor” TypeName=”*” Safe=”True” …

Continue reading

Jan 12

Telerik – The base class includes the field {}, but its type {} (Telerik.Web.UI.RadGrid) is not compatible with the type of control (Telerik.Web.UI.RadGrid).

The error message: “The base class includes the field , but its type (Telerik.Web.UI.RadGrid) is not compatible with the type of control (Telerik.Web.UI.RadGrid).” results when you try to perform an update of the .dlls a control is using and your application is expecting a different version of the .dlls. To resolve this issue go to …

Continue reading

Nov 27

How to enable Session in a SharePoint 2010 Application page?

How to enable Session State in SharePoint 2010 So as a developer you may have come across the need to use the Session object along the way. What you’ve probably noticed is that you get an error message that indicates you should enable session state as well as configure your http session module for sessions: …

Continue reading