Welcome to the Xceed Community Sign in | Join | Help
Community Search  

Xceed Bug with inserting a row?

Sort Posts: Previous Next
  •  05-15-2008, 4:17 PM Post no. 12312

    Xceed Bug with inserting a row?

    I am getting a bug when I try to insert a row at the bottom of my grid.  I have commented out any code that could be causing it and I am still getting it.  The bug happens when I click on something outside the Insertion Row.  This is the bug:

    FatalExecutionEngineError was detected
    Message: The runtime has encountered a fatal error. The address of the error was at 0x56d7b7a7, on thread 0x136c. The error code is 0x80131623. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.

    Here is my XAML code: 

     

     

     

    <xcdg:DataGridControl Margin="0,18.724,0,60" x:Name="DataGridControl__Software_Version_Type" CellEditorDisplayConditions="RowIsCurrent" SelectedIndex="0" InitializingInsertionRow="DataGridControl__Software_Version_Type_InitializingInsertionRow">

    <xcdg:DataGridControl.View>

    <xcdg:TableView UseDefaultHeadersFooters="False">

    <xcdg:TableView.FixedFooters>

    <DataTemplate>

    <xcdg:HierarchicalGroupByControl xcdg:TableView.CanScrollHorizontally="False" />

    </DataTemplate>

    <DataTemplate>

    <xcdg:ColumnManagerRow />

    </DataTemplate>

    <DataTemplate>

    <xcdg:InsertionRow EditTriggers="SingleClick"/>

    </DataTemplate>

    </xcdg:TableView.FixedFooters>

     

    </xcdg:TableView>

     

     

    </xcdg:DataGridControl.View>

    </xcdg:DataGridControl>

     

    Any ideas?

  •  05-16-2008, 8:22 AM Post no. 12327 in reply to 12312

    Re: Xceed Bug with inserting a row?

    What code do you have in the DataGridControl__Software_Version_Type_InitializingInsertionRow event handler? At first glance, there does not seem to ba anything wrong with the XAML you provided nor does the error seem to point to something related to the grid.
    Technical Writer - Xceed Software

    Of all the things I've lost, I miss my mind the most. - Mark Twain
  •  05-16-2008, 10:39 AM Post no. 12338 in reply to 12327

    Re: Xceed Bug with inserting a row?

     On InitializingInsertionRow I commented out everything in that method.

     Hmmm I did a bare-bones app and didn't get the error (tried it with the InitializingInsertionRow and without).

     I am thinking it might be because I am using the same table as a IDDictionary...    

     (To put it in other words my goal was to have a drop down list on DataGrid1 that is defined by Software_Version_Ptr_IDDictionary and I have another DataGrid (DataGrid2) that would allow the user to insert new entries (new software versions)...and I was hoping that the drop down list that was on DataGrid1 would be updated automatically with the new data the user inserts in the DataGrid2.) 

    Would this be the cause of this error?  Is this doable?  Or do I need to use another table and then refresh the other table?

  •  05-16-2008, 10:52 AM Post no. 12339 in reply to 12338

    Re: Xceed Bug with inserting a row?

    That's the problem....so is it doable using just 1 table for the Software_Version IDDictionary and using that same table in DataGrid2?
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.