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
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
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
If you have two RadGridView controls and you want to export both of the grids to a common file on two different sheets, it is suitable to use FileExportMode.NewSheetInExistingFile. However, when using the export overload to a stream doesn't respect the ExportMode.
Workaround: use exporting to a file:
string exportFile = @"..\..\exportedData.xlsx";
GridViewSpreadStreamExport spreadStreamExport = new GridViewSpreadStreamExport(this.radGridView1);
spreadStreamExport.FileExportMode = FileExportMode.NewSheetInExistingFile;
spreadStreamExport.ExportVisualSettings = false;
spreadStreamExport.RunExport(exportFile, new SpreadStreamExportRenderer());
I'm trying to initialize RadControlSpyForm in a .NET 2.0 application and it throws the following exception:
System.InvalidCastException: 'Unable to cast object of type 'System.Windows.Forms.SplitContainer' to type 'System.ComponentModel.ISupportInitialize'.
I did some research, and I found that since SplitContainer doesn't inherit from System.ComponentModel.ISupportInitialize until .NET 4.0, this message shows up in solutions where a project is downgraded from .NET 4.0, but the Form designer isn't regenerated to remove the SplitContainer cast to ISupportInitialize to call BeginInit() and EndInit().
Run the application at 150% and maximize the form. You will notice that with R3 2020 the split container overlaps with the status strip at the bottom:
Workaround: instead of setting the Anchor property to all sides, set the Dock property to Fill.
The solution in this KB article is used: https://docs.telerik.com/devtools/winforms/knowledge-base/clickonce-application-is-broken
Follow the steps:
1. Set your main monitor to be with higher than 100% DPI scaling (e.g. 175%, 200%)
2. Set the secondary monitor with 100% DPI scaling.
3. Run the exe from the project on the secondary monitor with 100% DPI scaling. You will notice that all controls that host the standard MS TextBox are incorrectly scaled:
Add an opportunity to use custom fonts in Html-like text formatting.
Example:
this.radTreeView1.Nodes.Add("<html><font="Roboto Medium">Node Strike</font></html>");
Clicking on a tab item in the design surface should select the tab. The animation demonstrates the current behavior:
It would be good to offer default localization providers for some languages like German, Spanish, French, etc.
It is possible to use the following site that Microsoft provides for this purpose: https://www.microsoft.com/en-us/language