[Mono-list] Strange error using Telerik RadControls

Ferdinand Funke dr_doom1983 at yahoo.de
Thu Jun 12 03:32:13 EDT 2008


Hello list,
at the moment I am evaluating some commercial controls for the use with 
mono. Although I know the contributers do not officially support Mono, I 
do not want to miss them.
So I tested Telerik's RadControls for ASP.NET AJAX Q1 2008. But I get a 
strange error using the menu bar(RadMenu):

Server Error in '/' Application
Compilation Error

Description: Error compiling a resource required to service this 
request. Review your source file and modify it to fix this error.

Compiler Error Message: (0,0) : error : ** 
(/usr/local/lib/mono/2.0/gmcs.exe:24324): WARNING **: The class 
System.Web.UI.Design.WebControls.DataSourceIDConverter could not be 
loaded, used in System.Design, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=b03f5f7f11d50a3a
(0,0) : error : at (wrapper managed-to-native) 
System.Reflection.Assembly:GetTypes (bool)
(0,0) : error : at System.Reflection.Assembly.GetExportedTypes () [0x00000]
(0,0) : error : at Mono.CSharp.RootNamespace.ComputeNamespaces 
(System.Reflection.Assembly assembly) [0x00000]
(0,0) : error : at Mono.CSharp.GlobalRootNamespace.AddAssemblyReference 
(System.Reflection.Assembly a) [0x00000]
(0,0) : error : at Mono.CSharp.Driver.LoadAssembly (System.String 
assembly, System.String alias, Boolean soft) [0x00000]
(0,0) : error : at Mono.CSharp.Driver.LoadAssembly (System.String 
assembly, Boolean soft) [0x00000]
(0,0) : error : at Mono.CSharp.Driver.LoadReferences () [0x00000]
(0,0) : error : at Mono.CSharp.Driver.Compile () [0x00000]
(0,0) : error : at Mono.CSharp.Driver.Main (System.String[] args) [0x00000]
/Default.aspxVersion information: Mono Version: 2.0.50727.42; ASP.NET 
Version: 2.0.50727.42

Looking at the error I am not quite sure if this a problem with RadControls.
I also have to admit that I am using a Mono version which is compiled 
from the svn (yesterday).

mono at suse-mono:~/share/RadControlsTest> mono --version
Mono JIT compiler version 1.9 (/trunk/ r105568)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  x86
        Disabled:      none

And here is the code for the test page:

<%@ Page Language="C#" AutoEventWireup="true" 
CodeBehind="Default.aspx.cs" Inherits="RadControlsTest._Default" %>

<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" 
tagprefix="telerik" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Unbenannte Seite</title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>  
    <telerik:RadMenu ID="RadMenu1" Runat="server">
            <CollapseAnimation Type="OutQuint" 
Duration="200"></CollapseAnimation>
            <Items>
                <telerik:RadMenuItem runat="server" Text="Root 
RadMenuItem1">
                    <Items>
                        <telerik:RadMenuItem runat="server" Text="Child 
RadMenuItem 1">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem runat="server" Text="Child 
RadMenuItem 2">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem runat="server" Text="Child 
RadMenuItem 3">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem runat="server" Text="Child 
RadMenuItem 4">
                        </telerik:RadMenuItem>
                    </Items>
                </telerik:RadMenuItem>
                <telerik:RadMenuItem runat="server" Text="Root 
RadMenuItem2">
                    <Items>
                        <telerik:RadMenuItem runat="server" Text="Child 
RadMenuItem 1">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem runat="server" Text="Child 
RadMenuItem 2">
                        </telerik:RadMenuItem>
                    </Items>
                </telerik:RadMenuItem>
                <telerik:RadMenuItem runat="server" Text="Root 
RadMenuItem3">
                    <Items>
                        <telerik:RadMenuItem runat="server" Text="Child 
RadMenuItem 1">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem runat="server" Text="Child 
RadMenuItem 2">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem runat="server" Text="Child 
RadMenuItem 3">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem runat="server" Text="Child 
RadMenuItem 4">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem runat="server" Text="Child 
RadMenuItem 5">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem runat="server" Text="Child 
RadMenuItem 6">
                        </telerik:RadMenuItem>
                    </Items>
                </telerik:RadMenuItem>
                <telerik:RadMenuItem runat="server" Text="Root 
RadMenuItem4">
                    <Items>
                        <telerik:RadMenuItem runat="server" Text="Child 
RadMenuItem 1">
                        </telerik:RadMenuItem>
                    </Items>
                </telerik:RadMenuItem>
            </Items>
        </telerik:RadMenu>
   
    </div>
    </form>
</body>
</html>

Does anybody have a hint what the cause of the error is? Is it moreover 
possible to use those controls? An employee of  Telerik told me that 
they are developing a  Mono compatible version and that their 90% of 
their samples are running out of the box, but I cannot share this opinion.

Anyways, I would be glad if somebody could share his experiences with 
that stuff.

Best regards,

dr_d00m




More information about the Mono-list mailing list