I am currently using trial version of Telerik Menu control and I am getting some strange error.
My ASP.NET 2.0 application interacts with commerce server and SharePoint 2007. When I do a post back using normal ASP.NET button control I can read data from commerce server but when I postback using RAD Menu control I get a security exception when interacting with Commerce server. The exception is “assembly does not allow partially trusted callers” and source is "mscorlib".
We are planning to buy Telerik control but before that we need to get rid of this error.
I have added following line in my web.config file
<SafeControl Assembly="Telerik.Web.UI, Version=2010.1.519.20, Culture=neutral, PublicKeyToken=bbe59a8ad3533e68" Namespace="Telerik.WebControls" TypeName="*" Safe="True" />
Here is how I have registered telerik assembly on my page
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
Can you please let us know how can we fix this issue?