Workaround: Import using a stream.
Added in the R3 2018 release: https://docs.telerik.com/devtools/winforms/forms-and-dialogs/form-converter
How to reproduce: create the following custom cell and notice that the collapsed elements would still occupy space inside the cell. Check the attached screenshot public class PNUDFCellElement : GridDataCellElement { public PNUDFCellElement(GridViewColumn column, GridRowElement row) : base(column, row) { } private CustomStackLayoutElement stack; private RadDropDownListElement radDropDownListElement; private RadDateTimeEditorElement radDateTimeEditorElement; private RadTextBoxControlElement radTextBoxElement; protected override void CreateChildElements() { base.CreateChildElements(); stack = new CustomStackLayoutElement(); stack.StretchHorizontally = true; stack.Orientation = Orientation.Horizontal; radDropDownListElement = new RadDropDownListElement(); radDropDownListElement.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; radDropDownListElement.StretchHorizontally = true; radDateTimeEditorElement = new RadDateTimeEditorElement(); radDateTimeEditorElement.StretchHorizontally = true; radTextBoxElement = new RadTextBoxControlElement(); radTextBoxElement.StretchHorizontally = true; stack.Children.Add(radDropDownListElement); stack.Children.Add(radDateTimeEditorElement); stack.Children.Add(radTextBoxElement); this.Children.Add(stack); } protected override void SetContentCore(object value) { this.radDropDownListElement.Visibility = Telerik.WinControls.ElementVisibility.Collapsed; this.radTextBoxElement.Visibility = Telerik.WinControls.ElementVisibility.Collapsed; this.radDateTimeEditorElement.Visibility = Telerik.WinControls.ElementVisibility.Collapsed; this.DrawText = false; if (this.RowIndex % 3 == 0) { this.radDropDownListElement.Visibility = Telerik.WinControls.ElementVisibility.Visible; this.radDropDownListElement.Text = this.Value + ""; } else if (this.RowIndex % 3 == 1) { this.radTextBoxElement.Visibility = Telerik.WinControls.ElementVisibility.Visible; this.radTextBoxElement.Text = this.Value + ""; } else { this.radDateTimeEditorElement.Visibility = Telerik.WinControls.ElementVisibility.Visible; } base.SetContentCore(value); } } public class CustomDataColumn : GridViewDataColumn { public CustomDataColumn(string fieldName) : base(fieldName) { } public override Type GetCellType(GridViewRowInfo row) { if (row is GridViewDataRowInfo) { return typeof(PNUDFCellElement); } return base.GetCellType(row); } } Workaround: use a custom StackLayoutElemetn public class CustomStackLayoutElement : StackLayoutElement { protected override void ArrangeHorizontally(SizeF finalSize) { RectangleF clientRect = this.GetClientRectangle(finalSize); float stretchableWidth = 0; int stretchableCount = 0; int nonStretchableItems = 0; foreach (RadElement element in this.Children) { if (element.Visibility == ElementVisibility.Collapsed) { continue; } if (element.StretchHorizontally) { stretchableCount++; } else { stretchableWidth += element.DesiredSize.Width; nonStretchableItems++; } } if (nonStretchableItems > 0) { stretchableWidth += ElementSpacing * (nonStretchableItems - 1); } int spacing = this.ElementSpacing; if (stretchableCount > 0) { stretchableWidth = (clientRect.Width - stretchableWidth) / stretchableCount; stretchableWidth -= spacing * stretchableCount; } ArrangeItemsHorizontaly(clientRect, finalSize, stretchableWidth, spacing); } protected override void ArrangeItemsHorizontaly(RectangleF clientRect, SizeF finalSize, float stretchableWidth, float spacing) { float x = clientRect.X; float y = clientRect.Y; List<RadElement> children = new List<RadElement>(this.Children); if (this.Comparer != null) { children.Sort(this.Comparer); } for (int i = 0; i < children.Count; i++) { RadElement element = null; if (this.RightToLeft && this.RightToLeftMode == RightToLeftModes.ReverseItems) { element = children[children.Count - i - 1]; } else { element = children[i]; } if (element.Visibility == ElementVisibility.Collapsed) { continue; } RectangleF proposedRect = new RectangleF(x, y, stretchableWidth, clientRect.Height); RectangleF finalRect = AlignRect(element, proposedRect); if (this.RightToLeft && this.RightToLeftMode == RightToLeftModes.ReverseOffset) { finalRect.X = finalSize.Width - x - finalRect.Width; } this.ArrangeElement(element, clientRect, finalRect, finalSize); x += finalRect.Width + spacing; } } }
Deleting table right after merged fields are updated causes StackOverflowException.
To reproduce:
- Open the Excel-like filtering example in the demo application and sort the second column.
- The sort icon is over the text.
Workaround:
private void RadGridView1_SortChanged(object sender, Telerik.WinControls.UI.GridViewCollectionChangedEventArgs e)
Environment: Telerik WinForms 2018.3.1016.40, VS 2013 Pro U5, Win 10 Ent 64 1809 17763.195
Steps:
Create a new WinForm project with default settings
Add a RadForm with default settings
Add a RadScrollablePanel to the RadForm with default settings
Add a RadPanel inside the RadScrollablePanel with default settings
Add a 3 RadRadioButtons to the RadScrollablePanel with default settings
Select all 3
Press Ctrl+X to cut the radio buttons.
Actual Result: Visual Studio will immediately hang and any unsaved project work will be lost.
Actual Desire: To be able cut and paste the 3 radio buttons into the RadPanel, just like normal MS WinForm controls in design-time.
Use attached to reproduce:
- click on the second tab
- collapse the first group
- click the first tab
- click the second tab, both grids are visible
Workaround:
public RadForm1()
Sometimes when copying from word is duplicating some parts of the text.
1 - Open the Telerik WinForms Demo Application;
2 - Go to RichTextEditor;
3 - Click on First Look;
4 - Delete All the text (Ctrl + A then Delete);
5 - Open the word document Attached;
6 - Select Everything (Ctrl + A) and copy;
7 - Paste on the RichTextEditor;
8 - The end of the second paragraph is duplicated;
I used RadPageView under the theme "VisualStudio2012LightTheme" .
The ViewMode of RadPageview is Stack.
I wanted to change the font size of page header in runtime but it was not workable.
If I changed the theme to VisualStudio2012DarkTheme or Office2013LightTheme, it worked fine.
Hallo,
I was using "Controldefault" theme and I got such an error message on laptops and desctops with smaller resolution when pointing to the gridview control:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Telerik.WinControls.UI.GridHeaderRowBehavior.FindCellToResize(Point pt)
at Telerik.WinControls.UI.GridHeaderRowBehavior.OnMouseMove(MouseEventArgs e)
at Telerik.WinControls.UI.BaseGridBehavior.OnMouseMove(MouseEventArgs e)
at Telerik.WinControls.UI.RadGridView.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at Telerik.WinControls.RadControl.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
EMPLOYEES
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/EMPLOYEES.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Telerik.WinControls.UI
Assembly Version: 2019.1.219.40
Win32 Version: 2019.1.219.40
CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/Telerik.WinControls.UI.DLL
----------------------------------------
Telerik.WinControls
Assembly Version: 2019.1.219.40
Win32 Version: 2019.1.219.40
CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/Telerik.WinControls.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
TelerikCommon
Assembly Version: 2019.1.219.40
Win32 Version: 2019.1.219.40
CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/TelerikCommon.DLL
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Telerik.WinControls.Themes.TelerikMetro
Assembly Version: 2019.1.219.40
Win32 Version: 2019.1.219.40
CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/Telerik.WinControls.Themes.TelerikMetro.DLL
----------------------------------------
Telerik.WinControls.Themes.Windows7
Assembly Version: 2019.1.219.40
Win32 Version: 2019.1.219.40
CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/Telerik.WinControls.Themes.Windows7.DLL
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3160.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
VariablesKsiop
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/VariablesKsiop.DLL
----------------------------------------
System.Transactions
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
Telerik.WinControls.RadDock
Assembly Version: 2019.1.219.40
Win32 Version: 2019.1.219.40
CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/Telerik.WinControls.RadDock.DLL
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
Telerik.WinControls.GridView
Assembly Version: 2019.1.219.40
Win32 Version: 2019.1.219.40
CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/Telerik.WinControls.GridView.DLL
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
At the same time on desctops with full HD everything was OK. I solved my problem selecting "Windows7" theme but I don't think it is a normal situation so I decided to inform You.
I use Visual Studio 2019 but I was unable to choose it from the list to finish the ticket.
You can use the following code snippet and follow the steps from the provided gif file:
public RadForm1()
Your website is horrible.
I spent an entire afternoon looking for information about how to add and retrieve data to/from a dropdown list control that should be intuitively available in close proximity to it's "Overview" page (after a lot of stumbling around I found where the "add" part was but the "retrieve" part was not found. I finally gave up and pinged Support. Another day is lost.).
And this isn't the first time I spent several hours searching for fundamental class information such as that which would be locatable in a traversable complete class hierarchy. I couldn't even find signatures to constructors for basic components such as RadProperty.
I hate to say it but your website is approaching the near-uselessness that plagues MSDN.
The difference is that I'm paying a truckload of money for the Telerik library. I dread using new controls for your product because I know what an exercise in rage it's going to be figuring out how it works. You laugh, I know. I understand. But it's the truth. I need to wear a mouth guard or pop some Xanax every time I come here. BTW, can I get a refund?
If not, please rewrite your website with your clientele in mind. Assume they know nothing that you know about your product.
My suggested solution is to use a visual model such as is demonstrated at: https://docs.telerik.com/devtools/winforms/telerik-presentation-framework/class-hierarchy/class-hierarchy-overview.html.
You could even start out with a scrolling 400 square-foot wall chart. I wouldn't care if it took a half-hour to download. I'd still be saving time.
And that's both my feedback and feature request that'll wind up in the digital dumpster.
Accelerator Key is working but not underlined (underline is enabled in windows 10 and visible in other applications).
Telerik.WinControls.UI, Version=2019.1.117.40