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

Replacement ?

4 Answers 33 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
Marc Roussel
Top achievements
Rank 2
Marc Roussel asked on 18 Jan 2011, 11:47 PM
I just downloaded Version 2010.3.1314.1040 and it seems that RadMediaItem have 2 decrepeted properties I was using which is Title and Description.  What are the replacement for those ?

4 Answers, 1 is accepted

Sort by
0
Mike Dennis
Top achievements
Rank 1
answered on 19 Jan 2011, 03:43 PM
I have the same issue.
0
Tina Stancheva
Telerik team
answered on 19 Jan 2011, 05:47 PM
Hi guys,

Indeed the Description property is no longer used, however, the Title property should work for you. It is used to display all required information about each RadMediaItem in the playlist.

Can you please have a look at the attached example and let me know if it works for you or if I am missing something. Thank you in advance.

All the best,
Tina Stancheva
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Mike Dennis
Top achievements
Rank 1
answered on 19 Jan 2011, 09:12 PM
It works if you have the title in the xaml file, but not from the code behind for it. 

If I add:
item0.Title = "Modern Graphics using Windows 7";
I get a build error that it is obsolete. 
0
Marc Roussel
Top achievements
Rank 2
answered on 19 Jan 2011, 10:38 PM
Yep, in code it's Header now

so I did change my code to put everything in the Header and it works.
Tags
MediaPlayer
Asked by
Marc Roussel
Top achievements
Rank 2
Answers by
Mike Dennis
Top achievements
Rank 1
Tina Stancheva
Telerik team
Marc Roussel
Top achievements
Rank 2
Share this question
or