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

  • Home
  • SEARCH
  • 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 4100352
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T20:33:20+00:00 2026-05-20T20:33:20+00:00

This is a wierd bug in my code and i have no idea what

  • 0

This is a wierd bug in my code and i have no idea what is causing it.

the code to build the datagrid seems to be good. It is copied from a datagrid that does function. The cause seems to be a control that this control is a child of.

EDIT: In my frustration i have removed any controls between the navigation framework and my control. My control uses a data context based off a generic class and i have verified that it works as intended through unit tests – besides a load method that sets the List property it is essentially empty. The load method works and returns a populated observable collection.

Everything loads and binds. The interaction works to hook up the grid and my detail form.

However the only cells that are selectable are those in the first row – however the other rows do highlight when you hover over them. They just do not respond to click events.

the big question is: Is anyone aware of any conditions (ie nesting of controls) that can cause this behavior?
For isntance i know that using accordion controls and scrollViewers in conjunction has all kinds of nasty side effects.

EDIT: I tried substituting the control that works with this one (they inherit off the same base object so they are compatible. When i do this i get the same broken behaviour. this means that there is something wrong with the viewmodel … or more likley the binding (but data is appearing :/) …

the code for the datagrid:

<sdk:DataGrid   
                    AutoGenerateColumns="False" 
                    x:Name="dgBankCodes" 
                    ItemsSource="{Binding List}" 
                    IsReadOnly="True" 
                    SelectionMode="Single" >

                <sdk:DataGrid.Columns>
                    <sdk:DataGridTextColumn Binding="{Binding Code}" CanUserSort="True" Header="Bank Code" IsReadOnly="True"/>
                    <sdk:DataGridTextColumn Binding="{Binding Name}" CanUserSort="True" Header="Name" IsReadOnly="True"/>
                    <sdk:DataGridTextColumn Binding="{Binding SortCode}" CanUserSort="True" Header="Sort Code" IsReadOnly="True"/>
                    <sdk:DataGridTextColumn Binding="{Binding AccountNumber}" CanUserSort="True" Header="Act No" IsReadOnly="True"/>
                    <sdk:DataGridTextColumn Binding="{Binding Description}" CanUserSort="True" Header="Description" IsReadOnly="True"/>
                    <sdk:DataGridTextColumn Binding="{Binding IBAN}" Header="IBAN" IsReadOnly="True"/>
                    <sdk:DataGridTextColumn Binding="{Binding BIC}" CanUserSort="True" Header="BIC" IsReadOnly="True"/>
                </sdk:DataGrid.Columns>
                <i:Interaction.Triggers>
                    <i:EventTrigger EventName="SelectionChanged">
                        <i:InvokeCommandAction 
                            Command="{Binding SelectObjectCommand}" 
                            CommandParameter="{Binding SelectedItem, ElementName=dgBankCodes}"/>
                    </i:EventTrigger>
                </i:Interaction.Triggers>
            </sdk:DataGrid>
  • 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-20T20:33:21+00:00Added an answer on May 20, 2026 at 8:33 pm

    This happens when you overwrite the Equals method for your objects class. Make sure each object is unique in your overridden Equals method

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

Sidebar

Related Questions

i have copied this code from the FB.init documentation : <script src=http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US type=text/javascript></script> ...
This has been driving me nuts all day. I have a weird bug that
I have this supper weird bug, where this method fails in IE9. What is
Is it possible to start JProgressBar from inbetween.I know this is wierd but I
Getting this weird LINQ error. title = System.Linq.Enumerable+WhereSelectEnumerableIterator`2[System.Xml.Linq.XElement,System.String Here is the code I have:
I have this really weird bug at my page. I wrote this comment system
I have this code in C++ which is giving weird output: #include<iostream> using namespace
Had this weird bug in my code and I was not able to solve
I have this weird bug, where C++ calls the wrong function: So this bit
I have got this super weird bug in my current project. To understand what

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.