Hello,
Just in case you weren't aware of it, there is some code in RadTextBoxControlElement with what seems like an obvious typo, openting instead of opening.
This is from its API page:
protected bool OnContextMenuOpenting(RadContextMenu menu)
...
OnContextMenuOpenting(TreeBoxContextMenuOpeningEventArgs)
...
Raises the ContextMenuOpenting event.
...
protected virtual void OnContextMenuOpenting(TreeBoxContextMenuOpeningEventArgs e)
Regards
Submitted on customer behalf:
We are currently using version 2017.3.1017.40 and noticed an issue with the display of the RadSplitButtonElement in combination with the theme Office2010Blue.
When we disable the RadSplitButtonElement, or more precisely the ActionButtonElement in the DropDownEditorLayoutPanel, it does not display as disabled in the Office2010Blue theme.
In other themes (e.g. Office2010Silver) it does show as disabled.
When trying the latest version (2020.2.616.40) we still get this behaviour, see example below:
It appears similar to the issue mentioned in https://feedback.telerik.com/winforms/1370576-fix-radcommandbar-some-of-the-elements-in-the-control-are-not-rendered-as-disabled-with-office2010blue-and-office2010black-themes
To reproduce:
radCheckBox1.Font = new Font("Segoe UI", 20, FontStyle.Regular);Workaround:
radCheckBox2.ButtonElement.Font = new Font("Segoe UI", 20, FontStyle.Regular);
How to reproduce:
this.radDiagram1.RoutingService.Router = new Telerik.Windows.Diagrams.Core.OrgTreeRouter() { TreeLayoutType = Telerik.Windows.Diagrams.Core.TreeLayoutType.TipOverTree };
this.radDiagram1.RouteConnections = true;
Please refer to the attached sample project:
Workaround:
Me.RadImageButtonElement1.ButtonFillElement.GradientStyle = GradientStyles.Solid
Me.RadImageButtonElement1.ShowBorder = False
Just add an image in the editor and try to click on it
private void radButton1_Click(object sender, EventArgs e)Default:
Desired:
Workaround: handle the ExplorerControl.MainNavigationTreeView.NodeFormatting event and replace the node's text with the FileBrowserTreeNode.Label:
Sub New()Hi,
I have menu problem:
When the Backstage Button Item is clicked and you don't release a left mouse button click but instead mouse is dragged to the right of the form, Backstage Button Item stay selected and can only be returned to default state if you click on it again else its stays blue and locked.
Picture 1.
Left click, hold and drag to the right. This state can be done to all buttons see Picture 2. Focus on "MouseDown" Event is not working.
Picture 2.
My question is can this behavior be prevented ?
Thanks in advance !
Neven
Hi Telerik Team,
I tried to copy and past the sourcecode from one of your demo applications (not using the copy source button!).
Unfortunaly every time I want to copy the "<" character it skips the rest of the line.
The problem occurs on different code examples.
I know there is a "Copy source" button but sometimes you just want to copy a small part.
A screenshot of an example is attached.
Demo Application - Telerik UI for WinForms R2 2020
Regards,
Moritz
merging only these assembly still the icons are not visible in Spreadsheet ribbon menu
C:\Program Files (x86)\Microsoft\ILMerge\ILMerge.exe" /allowdup /target:SymphonyMESUtil.exe /targetplatform:"v4, C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1" /out:Merge\SymphonyMESUtil.exe ^
SymphonyMESUtil.exe ^
Telerik.WinControls.dll ^
Telerik.WinControls.UI.dll ^
TelerikCommon.dll ^
Telerik.WinControls.GridView.dll ^
Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.dll ^
Telerik.Windows.Documents.Spreadsheet.FormatProviders.Pdf.dll ^
Telerik.Windows.Documents.Spreadsheet.dll ^
Telerik.WinControls.RadSpreadsheet.dll ^
Telerik.Windows.Documents.Core.dll ^
Telerik.Windows.Documents.Fixed.dll
Dear Support,
I want to use the new feature - Support for SVG.
Then I have to load the file with RadSvgImage.FromFile().
I get the following exception:
System.Xml.XmlException: 'External DTD subset cannot be resolved - public ID =' - // W3C // DTD SVG 1.1 // EN ', system ID =' http://www.w3.org/Graphics/ SVG / 1.1 / DTD / svg11.dtd '.'
(Translated from German)
Problem is line 2, where the DTD is given.
Is there a way to tell XmlSerializer to ignore the validation?
Hi,
object reference not set to an instance of an object
Questions:
Regards,
Rajesh
Please refer to the following code snippet and follow the steps in the attached gif file:
Dim dt As New DataTable
dt.Columns.Add("Id", GetType(Integer))
dt.Columns.Add("Name", GetType(String))
For index = 1 To 10
dt.Rows.Add(index, "Data" & index & Guid.NewGuid().ToString())
Next
Me.RadMultiColumnComboBox1.DataSource = dt
Me.RadMultiColumnComboBox1.DisplayMember = "Name"
Me.RadMultiColumnComboBox1.ValueMember = "Id"
Me.RadMultiColumnComboBox1.AutoSizeDropDownToBestFit = True
Workaround:
AddHandler Me.RadMultiColumnComboBox1.DropDownOpened, AddressOf RadMultiColumnComboBox_DropDownOpened
Private Sub RadMultiColumnComboBox_DropDownOpened(sender As Object, e As EventArgs)
Me.RadMultiColumnComboBox1.EditorControl.HorizontalScrollState = ScrollState.AutoHide
End Sub
You cannot implement custom logic that requires hiding a DragOverNode hint window.
Workaround:
public class MyTreeViewDragDropService : TreeViewDragDropService
{
public MyTreeViewDragDropService(RadTreeViewElement owner)
: base(owner)
{
}
public void HideHintWindow()
{
this.HintWindow.Hide();
}
}
private void RadTreeView1_DragOverNode(object sender, RadTreeViewDragCancelEventArgs e)
{
((MyTreeViewDragDropService)this.radTreeView1.TreeViewElement.DragDropService).HideHintWindow();
}
Populate a RadGridView with data, move the form to a monitor with greater than 100% DPI scaling. Save the layout and then load it again. You will notice that the columns' width is increased each time.
Workaround:
Sub New()Please run the attached sample project and refer to the attached gif file.
Workaround:
private void RadForm1_Load(object sender, EventArgs e)
{
this.Size = new Size(this.Width+1,this.Height);
this.Size = new Size(this.Width - 1, this.Height);
}
Please follow the steps:
1. Create a brand new project with a ShapedForm
2. Set the BackColor property to Red and save the form.
3. Open the ThemeName drop down and close it. You will notice that the BackColor is lost since the ThemeName is serialized as empty string in the designer file.
Workaround: delete the serialized ThemeName property with empty value.
Please refer to the attached gif file.
Workaround:
private void Form1_Load(object sender, EventArgs e)
{
Image currentImage = this.PropertiesGrid.TableElement.CurrentRowHeaderImage;
this.PropertiesGrid.TableElement.CurrentRowHeaderImage = new Bitmap(currentImage, currentImage.Width - 5, currentImage.Height - 5);
}
Morning
Please see attched demo project
We have several controls that we use spell checker on (including textbox, grid, combo, etc)
Issue is that if you have a misspelled word in a control that is readonly, you are still able to change the text via context menu to update the spelled word
In the example program, start up, click on make readonly, right click on wavy red line word, select option to replace with, word is updated.
We are not able to disable the controls and toggle between read only and not readonly to define editablility of the controls
Is there a work around for this? Should it not be inlcuded in the spell check control?
thank you
Theo