Skip to main content
Home Forums Silverlight Programming Programming with .NET - General Is Xaml Media player incompatible with componentart callback?
2 replies. Latest Post by betoyi on January 6, 2009.
(0)
betoyi
Member
0 points
2 Posts
01-03-2009 1:50 AM |
Hey,
I am trying to use callback control to show a video chosen from a datalist. However, as soon as I put the XAML media player inside the callback, when the callback executes, I get an "Unknown Exception" error in the "Sys$Preview$UI$Xaml$Media$Player$get_playState()" event. I am not even invoking the rendercontrol inside the callback.
Does it mean that the player cannot be used with the componentart callback?
bryant
Star
9937 points
1,629 Posts
01-03-2009 11:20 AM |
Can you post a little more info? The Component Art Callback control has to do with HTML rendering and ajax, so I'm not sure how you're putting the XAML media player inside it. Are you using Silverlight 1.0 or 2?
01-06-2009 4:58 AM |
Our application involves playing videos that are displayed in a tabstrip. We are using ComponentArt Tabstrip and Multipage to show the videos selection. When any one is chosen, an async postback (or preferably callback) should play it in the XAML media player. Since we are already using componentart, we thought of putting the entire thing in the callback.
We have revised the implementation to remove the callback control entirely and use updatepanels instead. However, the performance suffers...
We are using Silverlight 2