Errors in Xaml After Upgrading to latest Rev(2013.3.1316.1050)

5 posts, 0 answers
  1. stevea
    stevea avatar
    9 posts
    Member since:
    Apr 2007

    Posted 05 Feb 2014 Link to this post

    I know its probably something else causing this, but if anyone else has seen this type of behavior, I'd appreciate  the feedback 

    Whenever I open Xaml with grids on the page I get all kinds of errors.

    I notice if I do a Clean and then a rebuild of the whole project it goes away for a little time, but then it comes back at some point.

    We were on 2012.1.0314.1040




    ​The local property "CellStyle" can only be applied to types that are derived from "GridViewColumn". 
    The local property "IsReadOnly" can only be applied to types that are derived from "GridViewColumn".
    The local property "Columns" can only be applied to types that are derived from "GridViewDataControl".
    The local property "IsSortable" can only be applied to types that are derived from "GridViewColumn". 
    The local property "IsFilteringAllowed" can only be applied to types that are derived from "GridViewDataControl". 
    The local property "CellStyle" can only be applied to types that are derived from "GridViewColumn".
    The local property "CanUserSortColumns" can only be applied to types that are derived from "GridViewDataControl".
    The local property "CanUserResizeColumns" can only be applied to types that are derived from "GridViewDataControl".
    The local property "AutoGenerateColumns" can only be applied to types that are derived from "GridViewDataControl".
    The local property "AlternateRowBackground" can only be applied to types that are derived from "GridViewDataControl".
    DependencyProperty Telerik.Windows.Controls.GridView.GridViewDataControl. AutoGenerateColumns cannot be set on an object of type Telerik.Windows.Controls.RadGridView.
    The local property "CanUserFreezeColumns" can only be applied to types that are derived from "GridViewDataControl". 
    The local property "RowIndicatorVisibility" can only be applied to types that are derived from "GridViewDataControl". 
    The local property "ShowGroupFooters" can only be applied to types that are derived from "GridViewDataControl"
    The local property "Sorting" can only be applied to types that are derived from "GridViewDataControl". 
    The specified value cannot be assigned to the collection. The following type was expected: "GridViewColumn".
    The local property "TextWrapping" can only be applied to types that are derived from "GridViewColumn".
  2. stevea
    stevea avatar
    9 posts
    Member since:
    Apr 2007

    Posted 05 Feb 2014 in reply to stevea Link to this post

    I really wanted to edit that post but it doesn't seem to have that option in the forum.
    note that if you run or debug, the code runs fine.

    Just when you open the xaml in the editor it has all of these errors
  3. DevCraft banner
  4. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 10 Feb 2014 Link to this post

    Hello Steve,

    First, I would ask you to check the references to the Telerik assemblies in your project - they should be of the same version and from the same location.  Also please check whether you've referenced all the required dlls for the used controls.
    Other than that,  there is a similar issue logged in Microsoft Connect, you can check it at the following link:
    http://connect.microsoft.com/VisualStudio/feedback/details/749717/the-local-property-xy-can-only-be-applied-to-types-that-are-derived-from-yz

    Hope this helps.

    Regards,
    Yana
    Telerik

    Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

  5. Pedro
    Pedro avatar
    1 posts
    Member since:
    Jun 2011

    Posted 21 Feb 2014 in reply to stevea Link to this post

    I just had the same issue, but got fixed by updating the Toolbox from Telerik - UI for Silverlight - Launch Toolbox configurator
  6. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 24 Feb 2014 Link to this post

    Hi Pedro,

    Thank you for sharing the solution.

    Regards,
    Yana
    Telerik
Back to Top
DevCraft banner