Hello,
We encountered problems with configuration of the toolbox in Visual Studio 2022 when out-of-proc designer is active.
More information about the usage and reason for the out-of-proc designer: https://github.com/dotnet/winforms/blob/main/docs/designer/designer-selection.md
Tested environment:
- Visual Studio 2022
- .NET Framework 4.7.1
- 32-bit application
- Windows 11 Pro
- Telerik UI For Winforms 2025.2.520.462
When trying to add a rad control from the toolbox the error in attachment occurs.
Workaround:
- Disable the out-of-proc designer in the project file:
<UseWinFormsOutOfProcDesigner>False</UseWinFormsOutOfProcDesigner>
This bug is about a mismatch between what behaviour is expected (on a functional level) and the actual behavior. There are different scenario's:
int index = myRadGridView.Rows.Add(1, 2, 3);
Actual and expected behavior
Adds a row to the grid, filling cells with the values 1, 2 and 3. Even when there are more columns than values, only the first 3 cells are filled.
int index = myRadGridView.Rows.Add(); // Will result in: myRadGridView.Rows.Add(new object[0]);
Actual behavior
IndexOutOfRangeException is thrown.
Expected behavior
A new row is added, the cells are not filled with anything, since it should not matter if 3, 4 or zero values are added to the cells. Or, if you are very strict, an ArgumentOutOfRangeException, telling us at least 1 value is required.
Remark
Of course there is also a NewRow() method. But that is no reason Add() should not be allowed to accept zero values.
int index = myRadGridView.Rows.Add((object[])null);
Actual behavior
A NullReferenceException is thrown.
Expected behavior
ArgumentNullException, telling us that parameter "values" is not allowed to be null.
int index = myRadGridView.Rows.Add(new GridViewDataRowInfo(...), new GridViewDataRowInfo(...));
// or
int index = myRadGridView.Rows.Add(new object[] { new GridViewDataRowInfo(...), new GridViewDataRowInfo(...) });
Actual behavior
Only the first row is added. The second row, or even the second value (integer, string, whatever) is totally ignored.
Expected behavior
Remark
The method Add(params object[] values) checks if the first value is a row, resulting in this and the previous bugs.
After more than 10 years this is STILL a Bug.
https://feedback.telerik.com/winforms/1369181-fix-radgroupbox-with-collapsed-header-does-not-fill-the-entire-content-if-there-is-a-docked-child-control-inside-the-groupbox
The groupbox header does not collapse when I put a table layout panel inside of it.
Is this product (Telerik for winforms) still being supported? Or should I be looking elsewhere for a different controls toolkit solution for my company?
The attached file lorem-ipsum.pdf is rendered incorrectly in PdfViewer. I suspect it has something to do with kerning, because monospace font is not affected. Adobe Acrobat, Foxit PDF Reader, and Chrome render the file correctly.
The file was created with Pandoc, open source software, converting a markdown file (.md) to .pdf.
I noticed a weird issue with the RadTextBoxControl when using a combination of word wrap and multiline.
If the text that is being wrapped is too close to the edge of the control, the selection highlight renders incorrectly.
Here is an example:
I have attached a sample to reproduce the issue.
See attached screenshot. The popup calendar looks wrong when running on a display with 250% scaling. Surely, that's not correct. The calendar should not be so large and the fonts so small. Am I missing something? I have done all the other steps to enable High DPI support, and as you can see, the textbox area seems to scale fine.
Any ideas?
David
I was trying to move the NewRow to the bottom of the RadVirtualGrid. I learned that this is not possible. During my attempts I ran into a bug:
Reproduction steps:
Expected behavior:
Observed behavior:
Reproduction steps:
Observed behavior:
Expected behavior:
System.Reflection.TargetInvocationException:“调用的目标已抛出异常。”
XamlParseException: “类型“Telerik.WinForms.Documents.Model.RadDocument”不包含内容。指定要设置的属性的名称,或者在该类型上添加 ContentPropertyAttribute 或 TypeConverterAttribute。”,行号为“5”,行位置为“4”。
1. Open Telerik Theme Viewer
2. Choose "Item Containers"
3. Observe "Tree"
4. Choose Theme "Office2019Dark"
Expected: Tree still shows content
Actual: Elements are not visible
Follow the steps:
1. Please enter "0.12345"
2. Using the left arrow navigate after "1" and hit Backspace to delete "1"
3. Enter "6". It would be inserted in the wrong position
Hi,
Please refer. below code...
void ShowInfoUI()
{
var padding = new Padding(0);
var font = new Font(Font.FontFamily, 8.0f);
if (T.InfoLayer.IsVisible = cbShowInfo.Checked)
{
var overlays = T.PinsLayer.Overlays;
for (int i = 0; i < overlays.Count; i++)
{
var callout = new MapCallout(overlays[i]) { Font = font, Padding = padding, Text = "1234567", Distance = 5 };
T.InfoLayer.Add(callout);
}
}
}
There are 2 layers, InfoLayer (MapCallout) and PinsLayer (MapPins). cbShowInfo controls if MapCallout tobe shown.
If the 'Text' length is less than 8 wrapping happens, and not otherwise. Usually, If Text length is more then wrapping should happen.
Thanks
Hi,
I have C# Winforms application targeting .Net 5.
I am trying to use the Raddock with the Visual Studio 2012 dark theme, adding to a radribbonform
There are several tool windows that i have tabbed using the Advance layout designer. When i try to select a tab in the main Visual studio designer i am unable to change it from the one i selected in the Advanced layout designer.
I am also unable to resize the windows using the split container while in standard design view.
I have attached a word document to try and explain.
My VS version is:
Microsoft Visual Studio Professional 2019
Version 16.9.1
thanks
Mark.
Steps to reproduce: 1. Create a form 2. Set its Localization property to true. 3. Add RadGridView to the form 4. Add 3 GridViewTextBoxColumn instances at design-time 5. Change the Language of the form to Polish 6. The variable names of the columns are changed (gridViewTextBoxColumn1 to gridViewTextBoxColumn4, gridViewTextBoxColumn2 to gridViewTextBoxColumn5, gridViewTextBoxColumn3 to gridViewTextBoxColumn6)
Currently, when a Chinese input method is activated (e.g. Microsoft Pinyin), typing by the VirtualKeyboard can only type in English characters, which looks like the key-press message just bypasses the IME and reach the textbox directly. Both first-party IMEs provided by Microsoft and third-party IMEs were tested.
I guess Japanese and Korean IMEs are affected as well, as they all need an IME program to convert codes to characters. Supporting the East Asian IMEs may help greatly for touch-screen apps running in these cultures. Otherwise, the users can type in English only.
How to add a Chinese IME:
1. Add Chinese (China) language in Settings -> Time and Language -> Language.
2. In the Options of the Chinese language in the language list, click Add Keyboard and select Microsoft Pinyin.
Thanks.