Deleted/Deprecated Properties

5 posts, 0 answers
  1. Francisco Amador
    Francisco Amador avatar
    41 posts
    Member since:
    Mar 2010

    Posted 07 Mar 2011 Link to this post

    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.
  2. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 09 Mar 2011 Link to this post

    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!
  3. Francisco Amador
    Francisco Amador avatar
    41 posts
    Member since:
    Mar 2010

    Posted 09 Mar 2011 Link to this post

    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.
  4. Francisco Amador
    Francisco Amador avatar
    41 posts
    Member since:
    Mar 2010

    Posted 09 Mar 2011 Link to this post

    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.
  5. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3299 posts

    Posted 14 Mar 2011 Link to this post

    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!
Back to Top