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>
6 Answers, 1 is accepted
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
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
link for download the video:
http://www.filedropper.com/sorterror
here a link for download the video:
http://www.filedropper.com/sorterror
here a link for download the video:
http://www.filedropper.com/sorterror
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