Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 301051
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:58:13+00:00 2026-05-12T06:58:13+00:00

I have recently uplifted my SL2 solution to SL3. I have a UserControl that

  • 0

I have recently uplifted my SL2 solution to SL3. I have a UserControl that contains only a datagrid:

<UserControl x:Class="Case.CaseDataGrid_View"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data">


    <data:DataGrid Language="en-GB"
                   AutoGenerateColumns="True"
                   RowHeight="20"
                   ItemsSource="{Binding Cases}"
                   SelectedItem="{Binding SelectedCase, Mode=TwoWay}">

    </data:DataGrid>

</UserControl>

This is refernced from a parent page:

<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"                       
             mc:Ignorable="d"
             x:Class="eg.WorkManager.UI.Module.CaseEnquiry.CaseEnquiry"
             d:DesignWidth="888"
             d:DesignHeight="480"
             xmlns:case="clr-namespace:Case;assembly=UserControls">

    <ContentControl x:Name="SecurityContext"
                    HorizontalContentAlignment="Stretch"
                    VerticalContentAlignment="Stretch">
        <Grid x:Name="LayoutRoot">
            <case:CaseDataGrid_View Grid.Row="0" 
                                    MinHeight="200" 
                                    Margin="8,8,0,8" 
                                    HorizontalAlignment="Left" 
                                    VerticalAlignment="Top" 
                                    Height="Auto" 
                                    Cases="{Binding Cases}" 
                                    SelectedCase="{Binding SelectedCase, Mode=TwoWay}" 
                                    CustomGridFields="{Binding CustomDataGridFields}"  />

</Grid>
    </ContentControl>
</UserControl>

When I add an x:Name property to my base UserControl, all of my attributes on the User control reference start throwing errors:

<data:DataGrid x:Name="AnythingItSeems" 
Language="en-GB"
                       AutoGenerateColumns="True"
                       RowHeight="20"
                       ItemsSource="{Binding Cases}"
                       SelectedItem="{Binding SelectedCase, Mode=TwoWay}">

        </data:DataGrid>

Errors are firstly reported as Unknown attribute Grid.Row, pointing to the XAML in the parent page:

<case:CaseDataGrid_View Grid.Row="0" 

When I remove the Grid.Row attribute, the next throw a similar error.

Is this a known issue / bug with the datagrid ? If not, any ideas what is causing this?

Thanks,
Mark

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T06:58:13+00:00Added an answer on May 12, 2026 at 6:58 am

    It appears that my SL3 updgrade didn’t update my SL assembly references properly (i keep copies of SL assemblies in source code, so developers who aren’t working from C:\ as a default can still open the project and compile)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently made changes in some code that makes a char name field
I have recently found old (very old) laptop and though that it might be
I have recently been advised that for my current rails app relationships I should
I have recently realised that all of my media files that have special chars
I have recently encountered some rather baffling behavior while up-converting a VB.NET solution from
I have recently written an application(vb.net) that stores and allows searching for old council
I have recently bought a template that came with a flash header. I want
I have recently joined a team that has several applications that perform workload automation.
I have recently updated with ios6. After that when I am connecting my device
I have recently noticed that our product has incorrect postcode locations (lat & long

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.