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

Deleted/Deprecated Properties

4 Answers 65 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Francisco Amador
Top achievements
Rank 1
Francisco Amador asked on 07 Mar 2011, 03:35 PM
I am having some issues upgrading past the version 2010.3.1304.1040 of the silverlight controls. The XAML parse exception I'm getting I'm sure is because a deprecated or old property, which must be somewhere in my custom themes, has been deleted since the Q3 SP1 release. Do you have a list of these properties which were removed anywhere? Is there a particular wording in the Version Notes that you use? Until I find the responsible property, I am unable to upgrade to a newer version of the controls.

4 Answers, 1 is accepted

Sort by
0
Yordanka
Telerik team
answered on 09 Mar 2011, 10:22 AM
Hello Francisco Amador,

You can find all changes introduced with Q3 2010 SP1 (version .1314) described on this topic. 
 
Regards,
Yordanka
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Francisco Amador
Top achievements
Rank 1
answered on 09 Mar 2011, 02:56 PM
Yes, I've looked through that. However, that only shows what is new and fixed. It does not mention, anywhere I could find at least, what was removed. I think I remember reading somewhere that two major releases after something is deprecated that it would be removed or something like that.

What I'm looking for is something like the list on your help page http://www.telerik.com/help/silverlight/changes-backward-compatibility.html Unfortunately, that list has not been updated since the Q1 2010 release. I'll try to check if any of the items marked obsolete have now been removed. But I can't remember exactly your removal timeframe.
0
Francisco Amador
Top achievements
Rank 1
answered on 09 Mar 2011, 05:37 PM
Found another thread from a previous release which asked something similar. Their response was also to look at the release history. However there was a mention about marking obsolete items with an obsolete attribute. What would you recommend as the best way to search your dlls for items marked with the obsolete attribute? This would give me the answer that I'm looking for.
0
Tina Stancheva
Telerik team
answered on 14 Mar 2011, 02:27 PM
Hi Francisco Amador,

You can find all obsolete types and properties in a specific assembly using the following code:
Type sampleType = typeof(RadButton);
var Types = sampleType.Assembly.GetTypes();
foreach (var type in Types)
{
    var ObsoleteTypes = type.GetCustomAttributes(typeof(ObsoleteAttribute), true);
    foreach (var property in type.GetProperties())
    {
        var ObseoleteProperties = property.GetCustomAttributes(typeof(ObsoleteAttribute), true);
    }
}
 The sampleType property is a type that is defined in the assembly that you need to search for obsolete types. Then the ObsoleteTypes collection will hold all obsolete types, while the ObsoleteProperties collection will hold all obsolete properties.

I hope this info will help you.

Also, if you can paste the exception that is thrown in your application and elaborate on your scenario as well as the RadControls you are using, we will be able to further investigate your case and help you find what is causing the issue and how to fix it.

Regards,
Tina Stancheva
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
General Discussions
Asked by
Francisco Amador
Top achievements
Rank 1
Answers by
Yordanka
Telerik team
Francisco Amador
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or