Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
530
Getting "Invalid XAML" exception when trying to open IG.xamGrid.xaml in Expression Blend
posted

I am getting the following exception when trying to open IG.xamGrid.xaml (the standard styles provided by Infragistics) in Expression Blend:

----------------------------

Invalid XAML

The specified value cannot be assigned to the collection. The following type was expected: "CommandSource".

The local property "EventName" can only be applied to types that are derived from "CommandSource".

----------------------------

The following lines in the XAML within the control template for the HeaderCellControl are highlighted with red underlines to indicate problems:

<ig:XamGridColumnCommandSource CommandType="Select" EventName="SimpleClick"/>
<ig:XamGridColumnCommandSource CommandType="SortToggle" EventName="SimpleClick"/>

Please note that I also get a similar exception when opening some of the XAML files in the Grid samples provided in Infragistics.Web.SLLOB.sln, for example:

ColumnHeaderAlignment.xaml, CustomColumnTemplates.xaml, CustomHeaderAndFooter.xaml, PagerCustomization.xaml.

Please could someone advise?

Parents
  • 21382
    posted

    Are you just opening the file or are you including the file in a project that has the XamGrid dlls referenced in it?

     

    At the top of the Xaml file are multiple xmlns statements that tell the xaml file that the controls exist in a dlls somewhere.

Reply Children
No Data