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

MIX Silverlight and ASP .NET APPLICATION

3 Answers 38 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Support ATT
Top achievements
Rank 1
Support ATT asked on 02 Sep 2010, 03:53 PM
HI

I have a full ASP .NET WEB Application.

I wan't write all code in silverlight ! Therefore, i would like to use for the beginning only  the radtree silverlight component in an aspx page, which cooparates with the rest of the asp .net page, is this possible ?

best regards
toprak

3 Answers, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 07 Sep 2010, 12:14 PM
Hello Toprak Abdullah,

You need to create a Silverlight application and include that application into the required ASP page. Beware that Silverlight is downloaded to the client and any postback to the server will reload it.

I'm not sure if I get you right, but you want to rewrite your existing ASP.NET application in Silverlight step by step?

Regards,
Hristo Milyakov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Support ATT
Top achievements
Rank 1
answered on 07 Sep 2010, 12:25 PM
Yes, i will rewrite the existing asp .net application step by step in silverlight.

i have no experience until know with silverlight, but it looks great.
0
Hristo
Telerik team
answered on 07 Sep 2010, 04:04 PM
Hi Toprak Abdullah,

I'm glad to hear you have positive opinion about Silverlight.

Unfortunately there is no easy way to mix asp and Silverlight components on one page. You can embed Silverlight app inside asp page. So you need to separate your app in independent modules and rewrite them one by one into Silverlight. If the modules don't communicate with each other, and maintain communication only through the server, you should be able to migrate the app.

Also you can take a look at HTML Bridge types and methods. Here is the link: http://msdn.microsoft.com/en-us/library/cc645076(VS.95).aspx
These types allow you to call JavaScript functions from Silverlight and vice versa. This way you can exchange info between Silverlight and JavaScript. However this communication is hard to maintain.

Hope this helps.

All the best,
Hristo Milyakov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Support ATT
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Support ATT
Top achievements
Rank 1
Share this question
or