RadGridView crashes when sorting edited column

7 posts, 0 answers
  1. Igor
    Igor avatar
    5 posts
    Member since:
    Feb 2014

    Posted 02 Nov 2015 Link to this post

    Hi,

    I use RadGridView in my project...

    when i change the value at some row (only happen at textbox, when i change value at checkbox/combobox it doesn't happen) and then try to sort the column ascending or descending it crashes.

    It only happens when i set AutoGenerateColumns to false (which is always the case in our application..)

    To enable sorting, I set DataMemberBinding of each column.

    The error I get is:

    "The runtime has encountered a fatal error. The address of the error was at 0x5b7d157d, on thread 0x430. 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."

    The code I use:

    <telerik:RadGridView AutoGenerateColumns="False" ItemsSource="{Binding MyArray}">
            <telerik:RadGridView.Columns>
               <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}">
                    <telerik:GridViewDataColumn.CellTemplate>
                        <DataTemplate>
                            <AdornerDecorator>
                                <TextBox Text="{Binding Name}" />
                            </AdornerDecorator>
                        </DataTemplate>
                    </telerik:GridViewDataColumn.CellTemplate>
                </telerik:GridViewDataColumn>
             </telerik:RadGridView.Columns>
    </telerik:RadGridView>
       

     

     

     

  2. Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    371 posts

    Posted 04 Nov 2015 Link to this post

    Hello Igor,

    I tried to reproduce the described behaviour using the example on our Getting Started page, but everything seems to be working correctly. I've attached the sample project.

    I'm guessing that the problem might come from the MyArray data source. It would help if you could open a new support ticket and provide a sample project producing the error. Then we can investigate further and try to provide a solution.

    Regards,
    Dilyan Traykov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Igor
    Igor avatar
    5 posts
    Member since:
    Feb 2014

    Posted 08 Nov 2015 Link to this post

    hey Dilyan,
    Thank you for your response..
    I downloaded your example and  i still get the problem.
    It is crash when I edit FirstName and then try to sort
    (if ​i edit another column after or opening the filter it work).

    I added a video that show the problem

  5. Igor
    Igor avatar
    5 posts
    Member since:
    Feb 2014

    Posted 08 Nov 2015 in reply to Igor Link to this post

    link for download the video:

    http://www.filedropper.com/sorterror

  6. Igor
    Igor avatar
    5 posts
    Member since:
    Feb 2014

    Posted 08 Nov 2015 in reply to Igor Link to this post

    here a link for download the video:
    http://www.filedropper.com/sorterror

  7. Igor
    Igor avatar
    5 posts
    Member since:
    Feb 2014

    Posted 08 Nov 2015 in reply to Igor Link to this post

    here a link for download the video:
    http://www.filedropper.com/sorterror

  8. Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    371 posts

    Posted 11 Nov 2015 Link to this post

    Hello Igor,

    Here's a video showing how the sample project behaves on my side.

    Can you try manually setting up the project provided on our Getting Started page and tell me if you still encounter the same behaviour.

    If so, try disabling Just My Code as suggested on the error page you've sent me in the video.

    Regards,
    Dilyan Traykov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
UI for WPF is Visual Studio 2017 Ready