Hi all, If I try to search over as a string field, I have an issue because it's handled like an integer and ends in StackOverFlowException. Do you have any idea? I appreciate any help you can provide.
Dimitar
Telerik team
commented on 21 Dec 2023, 07:05 AM
Hi Eike,
We do not have any reports of similar issues. I am not sure how to reproduce this locally as well. This is why I want to kindly ask you to create a small sample project that reproduces this exception and send it to us. This will allow us to properly investigate the issue and determine what is causing it.
Thank you in advance for your patience and cooperation. I am looking forward to your reply.
Hi Dimitar, Thank you for the response. Building a new solution is challenging because I'm working on a massive legacy project. I built a new Window Control inside the project and generated mock values. If I post this long string "23223232323232323232323232323232323232," which looks greater than int.max, the App crashes.
Hi Eike,
We do not have any reports of similar issues. I am not sure how to reproduce this locally as well. This is why I want to kindly ask you to create a small sample project that reproduces this exception and send it to us. This will allow us to properly investigate the issue and determine what is causing it.
Thank you in advance for your patience and cooperation. I am looking forward to your reply.
Hi Dimitar,
Thank you for the response.
Building a new solution is challenging because I'm working on a massive legacy project.
I built a new Window Control inside the project and generated mock values. If I post this long string "23223232323232323232323232323232323232," which looks greater than int.max, the App crashes.
Version 2016.3.1024.45
<Window x:Class="Foo.Presentation.Views.Pages.PersonalView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:Unitaix.KbergDatabase.Presentation.Views.Pages" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" mc:Ignorable="d" d:Height="450" d:Width="800" d:DesignHeight="450" d:DesignWidth="800"> <Grid> <telerik:RadDataServiceDataSource Name="customersDataSource" QueryName="Customers" AutoLoad="True"> <telerik:RadDataServiceDataSource.DataServiceContext> <local:MyODataContext/> </telerik:RadDataServiceDataSource.DataServiceContext> </telerik:RadDataServiceDataSource> <telerik:RadGridView Grid.Row="0" ItemsSource="{Binding DataView, ElementName=customersDataSource}" IsBusy="{Binding IsBusy, ElementName=customersDataSource}" ShowGroupPanel="False" AutoGenerateColumns="False" ShowSearchPanel="True"> <telerik:RadGridView.ChildTableDefinitions> <telerik:GridViewTableDefinition> <telerik:GridViewTableDefinition.Relation> <telerik:PropertyRelation ParentPropertyName="Orders" /> </telerik:GridViewTableDefinition.Relation> </telerik:GridViewTableDefinition> </telerik:RadGridView.ChildTableDefinitions> <telerik:RadGridView.Columns> <telerik:GridViewDataColumn DataMemberBinding="{Binding Id}" Header="Id" /> <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" Header="Name" /> </telerik:RadGridView.Columns> </telerik:RadGridView> </Grid> </Window>
private static List<Customer> customers = new List<Customer>( Enumerable.Range(1, 3).Select(idx => new Customer { Id = idx, Name = $"Customer {idx} +23223232323232323232323232323232323232", Date = DateTime.Now, Orders = new List<Order>( Enumerable.Range(1, 2).Select(dx => new Order { Id = (idx - 1) * 2 + dx, Amount = random.Next(1, 9) * 10 })) }));