To reproduce RadGridView (or other RadControl) flooding WM_TIMER messages do the following
1. Create a simple WinForms project with a RadGridView in it.
2. Open spy++ tool (it comes with Visual Studio).
3. Attach the process that is running the WinForms and choose to display its messages.
4. You should now see a lot of WM_TIMER messages as shown in the gif file.
When using the RadChartView Proerty Builder, existing series formatting is lost upon clicking ok.
Steps to replicate.
I downloaded the ERP demo from here: https://www.telerik.com/support/code-library/erp-demo-application-for-winforms
After upgrading the projects to .NET 4.8 and running the application, the following exception is observed:
The full stack trace:
System.Data.Services.Client.DataServiceTransportException HResult=0x80131509 Message=Unable to connect to the remote server Source=Microsoft.Data.Services.Client StackTrace: at System.Data.Services.Client.HttpWebRequestMessage.GetResponse() at System.Data.Services.Client.DataServiceContext.GetResponseHelper(ODataRequestMessageWrapper request, IAsyncResult asyncResult, Boolean handleWebException) at System.Data.Services.Client.QueryResult.ExecuteQuery() at System.Data.Services.Client.DataServiceRequest.GetQuerySetCount(DataServiceContext context) at System.Data.Services.Client.DataServiceQueryProvider.ReturnSingleton[TElement](Expression expression) at ERP.Client.PurchasesControl.Initialize() in C:\Users\dyordano\Downloads\009a20df-21b2-4e64-b129-eaf9e0a686f5_ERP-CS (1)\ERP.Client\CustomControls\Views\PurchasesControl.cs:line 48 at ERP.Client.BaseGridControl..ctor() in C:\Users\dyordano\Downloads\009a20df-21b2-4e64-b129-eaf9e0a686f5_ERP-CS (1)\ERP.Client\CustomControls\BaseGridControl.cs:line 49 at ERP.Client.PurchasesControl..ctor() in C:\Users\dyordano\Downloads\009a20df-21b2-4e64-b129-eaf9e0a686f5_ERP-CS (1)\ERP.Client\CustomControls\Views\PurchasesControl.cs:line 29 This exception was originally thrown at this call stack: System.Net.Sockets.Socket.DoConnect(System.Net.EndPoint, System.Net.SocketAddress) System.Net.ServicePoint.ConnectSocketInternal(bool, System.Net.Sockets.Socket, System.Net.Sockets.Socket, ref System.Net.Sockets.Socket, ref System.Net.IPAddress, System.Net.ServicePoint.ConnectSocketState, System.IAsyncResult, out System.Exception) Inner Exception 1: WebException: Unable to connect to the remote server Inner Exception 2: SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 65.52.19.99:80
Hi Team,
The Travel Assistant demos are broken... it just hangs. This is also true for the Xamarin Demos, WPF demos and WinForms demos.
Here are some screenshots:
UI for Winforms demos
Telerik UI for Xamarin demos
The designer tries to load the assembly and throws the following error:
Just to report a minor typo:
FitlerViewTextCategoryItemCreatedEventArgs, in Telerik.WinControls.UI.FilterView
public partial class RadForm1 : Telerik.WinControls.UI.RadForm
{
public RadForm1()
{
InitializeComponent();
this.SizeChanged += RadForm1_SizeChanged;
this.timer1.Start();
}
private void RadForm1_SizeChanged(object sender, EventArgs e)
{
this.Text = this.Size.ToString();
}
private void timer1_Tick(object sender, EventArgs e)
{
if (this.WindowState == FormWindowState.Minimized)
{
this.WindowState = FormWindowState.Normal;
}
else
{
this.WindowState = FormWindowState.Minimized;
}
}
}
Add a RadTextBox on the form and open its smart tag:
Open the editor for the font and select the entire text:
Then, press Del:
When you try to close the editor, an error occurs:
However, the Font is already serialized as null:
As a result, the designer can't be opened any more:
The Cut operations of the RadVirtualGrid does not work.
When the SelectionMode is set to FullRowSelect, MultiSelect = true, and multiple rows are selected, the loop goes something like this:
// Pseudo code:
for(int rowIndex = firstRow; rowIndex <= lastRow; rowIndex++)
{
AddRowToClipboardData(rowIndex)
UserDeletedRow(rowIndex);
}
My suggestion:
The method GridViewTemplate.SetError creates in most situations an GridViewDataErrorEventArgs object twice.
Current code:
GridViewDataErrorEventArgs args = new GridViewDataErrorEventArgs(exception, 0, 0, GridViewDataErrorContexts.Commit);
if (e != null)
{
args = new GridViewDataErrorEventArgs(exception, e.ColumnIndex, e.RowIndex, GridViewDataErrorContexts.Commit);
}
In assume in most cases e will not be null, so in must cases the first args will be removed. This has a small negative impact on memory and performace.
Suggestion:
GridViewDataErrorEventArgs args = e == null
? new GridViewDataErrorEventArgs(exception, 0, 0, GridViewDataErrorContexts.Commit)
: new GridViewDataErrorEventArgs(exception, e.ColumnIndex, e.RowIndex, GridViewDataErrorContexts.Commit);
After installing R3 2022, the QuickStart example can't be run:
Repro-steps
Expected behavior
Observed behavior
Repro-steps
Expected behavior
Observed behavior
Extra info
If the first column is of another type (like GridViewDecimalColumn) a DataError occurs (because "System.IO.MemoryStream" cannot be parces to a decimal).
To reproduce the issue, just drag a RadToggleSwitch to the form. Then, at run time call the method:
radToggleSwitch1.SetToggleState(newValue: false, animate: false);
You will notice that the colors are changed but the thumb is not moved:
Workaround:
this.radToggleSwitch1.AllowAnimation = false;
this.radToggleSwitch1.Toggle();