Ticket Q180839
Visible to All Users

AG_E_UNKNOWN_ERROR in AgDataGrid (XamlParseException)

created 17 years ago

Hello.
I'm Spanish, sorry by my bad English.
I installed this control, and copied dll into C:\Program Files (x86)\Microsoft SDKs\Silverlight\v2.0\Reference Assemblies.
I create a new Silverlight Web Application project (I have Silverlight 2 Beta 2 SDK installed) and add a reference to this dll. When I put this control in a simple xaml and run application always get this error:
AG_E_UNKNOWN_ERROR (XamlParseException)
This is code:
<UserControl xmlns:my1="clr-namespace:DevExpress.Windows.Controls;assembly=DevExpress.AgDataGrid.v8.2" xmlns:my="clr-namespace:DevExpress.Windows.Controls.Internal;assembly=DevExpress.AgDataGrid.v8.2" x:Class="SilverlightApplication5.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Width="400" Height="300">
    <Grid x:Name="LayoutRoot" Background="White">
<my:AgStackPanel><my1:AgDataGrid></my1:AgDataGrid></my:AgStackPanel>
    </Grid>
</UserControl>
What is my problem ?
Thank you very much

Show previous comments (4)
DevExpress Support Team 17 years ago

    Hi,
    Please set the CopyLocal property of the referenced assembly to True.
    Thanks,
    Ivan

      Hello.
      I set the CopyLocal property of the referenced assembly to True and nothing changed

        Hello Ivan,
        Finally I solved my problem.
        Need reference to System.Windows.Controls.Extended.dll
        Thank you very much

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.