Home Forums WPF controls Xceed DataGrid for WPF Recieve this error when putting the grid in any page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #24981 |

    Hi all,

    i tried to use the grid of WPF in some pages but always i recieve this incombrehincible error message.

    “Xceed DataGrid for WPF is licensed to you completely free of charge when you register with Xceed. Although it is provided for free, you must unlock the component to use and deploy it. Before any calls are made to the component, set the Licenser.LicenseKey property with the registered license key that is sent to you by email upon registration. If you have not yet registered, visit http://www.xceed.com/freegrid.”

    also, i recieve a warning stating that

    “The element ‘ContentControl’ in namespace ‘http://schemas.microsoft.com/winfx/2006/xaml/presentation’ has invalid child element ‘DataGridControl’ in namespace ‘http://schemas.xceed.com/wpf/xaml/datagrid’. List of possible elements expected: ‘ContentControl.ContentTemplate, ContentControl.ContentTemplateSelector, ContentControl.BorderBrush, ContentControl.BorderThickness, ContentControl.Background, ContentControl.Foreground, ContentControl.FontFamily, ContentControl.FontSize, ContentControl.FontStretch, ContentControl.FontStyle, ContentControl.FontWeight, ContentControl.TabIndex, ContentControl.IsTabStop, ContentControl.Padding, ContentControl.Template, ContentControl.Style, ContentControl.OverridesDefaultStyle, ContentControl.Triggers, ContentControl.Resources, ContentControl.DataContext, ContentControl.Language, ContentControl.Tag, ContentControl.InputScope, ContentControl.LayoutTransform, ContentControl.Width, ContentControl.MinWidth, ContentControl.MaxWidth, ContentControl.Height, ContentControl.MinHeight, ContentControl.MaxHeight, ContentControl.Margin, ContentControl.FocusVisualStyle, ContentControl.Cursor, ContentControl.ForceCursor, ContentControl.ToolTip, ContentControl.ContextMenu, ContentControl.InputBindings, ContentControl.Command….”

    and this is the markup of the page that i creaqted.

    <PageFunction
    xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation&#8221;
    xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml&#8221;
    xmlns:xcdg=”http://schemas.xceed.com/wpf/xaml/datagrid&#8221;
    xmlns:sys=”clr-namespace:System;assembly=mscorlib”
    x:Class=”XBAPTest.PageFunction2″
    x:TypeArguments=”sys:String”
    Title=”PageFunction2″>
    <Grid>
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width=”200″/>
    <ColumnDefinition Width=”200″/>
    </Grid.ColumnDefinitions>
    <Grid.RowDefinitions>
    <RowDefinition Height=”30″/>
    <RowDefinition Height=”60″/>
    <RowDefinition Height=”60″/>
    <RowDefinition Height=”60″/>
    <RowDefinition Height=”60″/>
    <RowDefinition Height=”60″/>
    <RowDefinition Height=”60″/>
    </Grid.RowDefinitions>
    <Button Click=”AddContact” ToolTip=”Add Contact” Width=”200″ Height=”30″
    Grid.Column=”2″ Grid.Row=”5″ Content=”Add Contact”>
    </Button>
    <TextBox Name=”txtHomePage” Width=”200″ Height=”30″
    Grid.Column=”1″ Grid.Row=”4″>
    </TextBox>
    <xcdg:DataGridControl></xcdg:DataGridControl>
    </Grid>
    </PageFunction>

    Thank you for advices 🙂

    Imported from legacy forums. Posted by NAHR_ELGANNAH (had 471 views)

    User (Old forums)
    Member
    Post count: 23064

    i just resolve this error. it was caused by not adding the assembly of “Xceed controls for WPF”.
    when i added it had worked properly.

    Thank you and sorry inconvenience.

    Imported from legacy forums. Posted by NAHR_ELGANNAH (had 2777 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.