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

AjaxManager and Silverlight Media Player

1 Answer 33 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Gourangi
Top achievements
Rank 1
Gourangi asked on 02 Mar 2009, 08:38 AM
Hi,

I have placed AjaxManager and I am making an Ajax request through javascript which will update my certain control.
Now the request/response working fine and the control is also updated.
Now I am adding a Silverlight Media Player control run time on that updatable control and it is not rendered on client side.
And when i saw the source on client end, there was written something like

Sys.Application.add_init(function() {
    $create(Sys.UI.Silverlight.MediaPlayer, {"mediaSource":"VoiceResponses/q531w1sw.cyt","scaleMode":1,"source":"AudioGray.xaml"}, null, null, $get("ctl00_cpDetail_ctl16_parent"));

that means things written successfully but the event not raised i.e. Sys.Application.add_init(...
I think this is the reason my mediaplayer not loaded on client end.

What can I do here to fix this problem?

Regards,
Divyesh Chapaneri


1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 04 Mar 2009, 04:02 PM
Hi Divyesh,

Unfortunately current implementation of RadAjax does not support updating Silverlight Media Player  control as the control requires scripts to be register through the page instance instead through the control itself. Thus in order to workaround this behavior I suggest you to consider using UpdatePanels.

Please excuse us for the inconvenience.

Kind regards,
Rosen
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
Ajax
Asked by
Gourangi
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or