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

[Solved] Mono support

11 Answers 336 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ferdinand
Top achievements
Rank 1
Ferdinand asked on 14 Apr 2009, 08:53 AM
Hi,
as I recently read in Miguel de Icaza's blog the Telerik ASP.NET AJAX Controls now support the Mono framework (see: http://tirania.org/blog/archive/2009/Apr-03.html).
I tried to reach the test page mono.telerik.com but unfortunately I was not able to reach it.
Is it possible to reach it under another url or something?

Best regards,
Ferdinand

11 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 14 Apr 2009, 09:07 AM
Hi Ferdinand,

The http://mono.telerik.com is temporary down; it will be up and running in about an hour.

Sincerely yours,
Paul
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Zhao
Top achievements
Rank 1
answered on 16 Apr 2009, 08:38 AM

Hi,
Because our product must run the linux platform, I have download Q3 2008 SP1(2009-01-24) Version. But the first use, it's OK, when i click databind button on the next time, appear error message in below.

Server Error in '/' Application


 

Cannot cast from source type to destination type.

Description: HTTP 500. Error processing request.

Stack Trace:

System.InvalidCastException: Cannot cast from source type to destination type.
at Telerik.Web.UI.GridTableView.LoadStructureState (System.Object SavedStructure) [0x00000]
at Telerik.Web.UI.RadGrid.LoadTableViewStructure (IEnumerator stateEnumerator, Telerik.Web.UI.GridTableView tableView) [0x00000]
at Telerik.Web.UI.RadGrid.LoadViewState (System.Object savedStateObject) [0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object savedState) [0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object savedState) [0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object savedState) [0x00000]
at System.Web.UI.Page.LoadPageViewState () [0x00000]
at System.Web.UI.Page.RestorePageState () [0x00000]
at System.Web.UI.Page.InternalProcessRequest () [0x00000]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]


Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433 

My RadGrid entironment:
Posted 22 hours ago (permalink)
Mono version 2.4 Build 6
Prepending 'd:\PROGRA~1\Mono-2.4\bin' to PATH
xsp2
Listening on address: 0.0.0.0
Root directory: d:\PROGRA~1\Mono-2.4\lib\xsp\MyTest
Listening on port: 8080 (non-secure)
Hit Return to stop the server.

I hope the expert can help me to solve the problem.


Many thanks for your help.

Best Regards,

Zhao

2009/04/17 

0
Zhao
Top achievements
Rank 1
answered on 16 Apr 2009, 08:42 AM
您好,上面的问题补充一下,我使用的RadGrid

Mono version 2.4 Build 6
Prepending 'd:\PROGRA~1\Mono-2.4\bin' to PATH
xsp2
Listening on address: 0.0.0.0
Root directory: d:\PROGRA~1\Mono-2.4\lib\xsp\MyTest
Listening on port: 8080 (non-secure)
Hit Return to stop the server.

 

0
Bruno
Top achievements
Rank 2
answered on 16 Apr 2009, 09:47 PM
赵,使用'谷歌翻译'您的文章转换为英文。否则您将无法收到答案,因为没有人懂中文!
赵,请点击这里!
0
Zhao
Top achievements
Rank 1
answered on 17 Apr 2009, 09:07 AM

Hi,
Because our product must run the linux platform, I have download  Q1 2009 SP1 (version 2009.1.402) . But the first use, it's OK, when i click databind button on the next time, appear error message in below.

Server Error in '/' Application


 

Cannot cast from source type to destination type.

Description: HTTP 500. Error processing request.

Stack Trace:

System.InvalidCastException: Cannot cast from source type to destination type.
at Telerik.Web.UI.GridTableView.LoadStructureState (System.Object SavedStructure) [0x00000]
at Telerik.Web.UI.RadGrid.LoadTableViewStructure (IEnumerator stateEnumerator, Telerik.Web.UI.GridTableView tableView) [0x00000]
at Telerik.Web.UI.RadGrid.LoadViewState (System.Object savedStateObject) [0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object savedState) [0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object savedState) [0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object savedState) [0x00000]
at System.Web.UI.Page.LoadPageViewState () [0x00000]
at System.Web.UI.Page.RestorePageState () [0x00000]
at System.Web.UI.Page.InternalProcessRequest () [0x00000]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]


Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433 

My RadGrid entironment:
Posted 22 hours ago (permalink)
Mono version 2.4 Build 6
Prepending 'd:\PROGRA~1\Mono-2.4\bin' to PATH
xsp2
Listening on address: 0.0.0.0
Root directory: d:\PROGRA~1\Mono-2.4\lib\xsp\MyTest
Listening on port: 8080 (non-secure)
Hit Return to stop the server.

I hope the expert can help me to solve the problem.

Many thanks for your help.

Best Regards,

Zhao

2009/04/17 

0
yacoob
Top achievements
Rank 1
answered on 20 Apr 2009, 07:50 AM
Hi all,

I have similar problem with RadGrid, in fact it's just one of many exceptions I get while trying to use Telerik ASP.NET controls with Mono 2.4 (under OpenSUSE + xsp2/Apache, or under WinXP + xsp2).

For instance, I tried to reproduce example from http://mono.telerik.com/Ajax/Examples/Manager/UserControl/DefaultCS.aspx , I made an almost exact copy and even used SqlServer database. Then I run it under OpenSUSE + Mono 2.4. Result: I got above InvalidCastException after changing selection in DropDownList. It occured during LoadViewState, so I set EnableViewState on RadGrid to false and, well, new exception showed up:

System.InvalidOperationException: Internal error. Invalid writer object.
  at System.Web.UI.UpdatePanel.RenderChildren (System.Web.UI.HtmlTextWriter writer) [0x00000]
  at System.Web.UI.UpdatePanel.Render (System.Web.UI.HtmlTextWriter writer) [0x00000]
  at System.Web.UI.Control.RenderControl (System.Web.UI.HtmlTextWriter writer) [0x00000]
  at Telerik.Web.UI.RadAjaxManager.Render (System.Web.UI.HtmlTextWriter writer) [0x00000]
  at System.Web.UI.Control.RenderControl (System.Web.UI.HtmlTextWriter writer) [0x00000]
  ...

So, demo on mono.telerik.com is online, but has anybody actually managed to run something with RadGrid, RadAjax, RadTree etc. on his own? I think it would be a good idea to publish mono-ready sources from mono.telerik.com so everybody could check how it works and run it locally. For now it seems to me that 2009.402 is not yet Mono compatible, I just assume that if something that simple as the example above run on Windows, it should also run under Mono with no modifications...

Thanks in advance for any help!

Kind regards,
MJ
0
Daniel
Telerik team
answered on 21 Apr 2009, 04:37 PM
Hello all,

Excuse us for the late reply.

Please note that we have modified the RadControls' source a little, so they run flawlessly on Mono. If you are our customer, you can contact us via a formal support ticket and we will send you the modified assembly. Otherwise, we plan to release a standalone trial version of RadControls for ASP.NET AJAX until the end of this week.

@Marcin: The RadControls for ASP.NET AJAX version used on our server is Q3 2008 SP2 (1314).

Best regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Marcin
Top achievements
Rank 1
answered on 27 Apr 2009, 01:06 PM
Hello Daniel,

So what about your plans? It's possible to get a demo version Mono compatible ASP.NET controls?
I'm starting a new project that have to run on Mono/Linux environment and decision which controls will be used is crucial.

Kind regards.
0
Ivo
Telerik team
answered on 04 May 2009, 09:03 AM
Hello Marcin,

Currently, we are providing the sample project with the demos to all customers who request it in a support ticket. We will soon post a sample on the website with instructions for everyone.

Thank you for your interest in RadControls under Linux/Mono.

Sincerely yours,
Ivo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Marcin
Top achievements
Rank 1
answered on 08 May 2009, 12:33 PM
Hello Ivo,

Thanks for your response. I am looking forward impatiently.
I've got a few additional questions. The first is about ASP controls performance and reliability under Mono/Linux environment. Have you done any benchmarks? Or maybe you have some data from your demo http://mono.tererik.com server? I'd be glad if you could provide more details about that. Finally, will it be possible to buy these controls together with source code?

Kind regards
Marcin.
0
Ivo
Telerik team
answered on 08 May 2009, 01:48 PM
Hi Marcin,

We have not done any extended performance testing specifically for Mono/Linux but this should be something to provide in the future. We will be able to send you an appliance image of the demos if you contact us in a support ticket.

The subscription license includes full source code, priority support and all updates for one year. For more details please refer to the Purchase section on the website or contact us.

All the best,
Ivo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Ferdinand
Top achievements
Rank 1
Answers by
Paul
Telerik team
Zhao
Top achievements
Rank 1
Bruno
Top achievements
Rank 2
yacoob
Top achievements
Rank 1
Daniel
Telerik team
Marcin
Top achievements
Rank 1
Ivo
Telerik team
Share this question
or