System.ThrowHelper.ThrowArgumentOutOfRangeException

0 Answers 58 Views
GridView
Shukhrat
Top achievements
Rank 1
Shukhrat asked on 06 Oct 2023, 08:49 AM | edited on 06 Oct 2023, 08:50 AM

Hello,

I use telerik for  wpf. And now I have some problems with my application. 

it suddenly breaks and closes. I used "try catch", but it didn't help me.  
I have errors in the windows journal on my computer.
I attached these error messages.
I hope for your help.
Shukhrat
Top achievements
Rank 1
commented on 08 Oct 2023, 12:26 PM

Hello, 
Maybe someone has come across this question?
I really need help (
Stenly
Telerik team
commented on 10 Oct 2023, 08:51 AM

Could you share a bit more information on this exception? For example, is it reproducible in a sample project? Does it have any reproduction steps that I could follow?

On a side note, looking at the exception text, it seems that the GroupRenderMode property of RadGridView is set to Nested (which is its default value). May I ask if you could try setting it to Flat? More information on this property can be found at the following link:

WPF DataGrid - Grouping Modes - Telerik UI for WPF

Shukhrat
Top achievements
Rank 1
commented on 10 Oct 2023, 10:11 PM | edited

Hello Stenly,

Thank you for your help!

Unfortunatly, I can not get you more information, because I can not reproduce it on my PC. The application closes at random time. 

But thank you for your advice about using GroupRenderMode ="Flat" . I have used it in some datagrids, but not all.  I have added this option to all datagrids in my project. Maybe it  will help me.   

Stenly
Telerik team
commented on 12 Oct 2023, 03:56 PM

Hello Shukhrat,

I hope the suggestion regarding the GroupRenderMode property will prevent the unwanted behavior from appearing. If it continues, I hope it will be possible to isolate it, so, that I could test it on my end.

Shukhrat
Top achievements
Rank 1
commented on 16 Oct 2023, 06:47 PM

Hello Stanly, Unfortunately, the error repeted. 
Martin Ivanov
Telerik team
commented on 16 Oct 2023, 09:56 PM

Hey Shukhrat, can you describe the exact situation when this occurs? A video showing the issue will be helpful. Additional to that, it would be helpful if you can send over a runnable project that isolates your setup. This way I can test it on my side and see I can reproduce the issue, or at least if I can think of a possible reason based on the setup.
Shukhrat
Top achievements
Rank 1
commented on 22 Oct 2023, 05:18 PM

Hello Martin, Sorry but I cannot describe the situation when the program crashes. I see errors only  in the windows logs. And I cannot send you my code, because it belongs to the company.
Luckely we didn't have this error during one last week, but when I set up  GroupRenderMode ="Flat"  my datagrid sometimes began to flicker on event  Rebind() How can I fix it ? 
Martin Ivanov
Telerik team
commented on 23 Oct 2023, 12:52 PM

Can you share the Windows logs related to the error? Also, you can open a new support trial ticket from your telerik.com account. This way you can make your case private and you can share some code. Note that the private tickets fall under the confidentiality agreements in the Telerik UI for WPF EULA (see "1.11.1. Confidentiality Obligations" point).

About the Rebind() method call, this redraws the entire RadGridView and in more heavy scenarios it is possible to see this action. However, without recreating this I can't tell what exactly happens on your side. If you decide to take advantage of the support service you can describe this issue as well. Otherwise, you can attach a sample project that shows only this here in the forum.

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Shukhrat
Top achievements
Rank 1
Share this question
or