Telerik Forums
UI for WinForms Forum
1 answer
33 views

Hi

I have a RadGridView with a  object-relational 3-tier-hierarchy where the datasource is a DataSet.

In a situation where my application updates an item of the first sublayer of the dataset:

each.ItemArray = vorgang.ItemArray;

the whole application gets into a deadlock.

Here is the call stack:

 	Anwendung.dll!Xxx.Yyy.Anwendung.View.GermanRadGridLocalizationProvider.GetLocalizedString(string id) Line 843	C#
>	Telerik.WinControls.GridView.dll!Telerik.WinControls.UI.GroupPanelElement.UpdateView()	Unknown
 	Telerik.WinControls.GridView.dll!Telerik.WinControls.UI.GroupPanelElement.ProcessEvent(Telerik.WinControls.UI.GridViewEvent eventData)	Unknown
 	Telerik.WinControls.GridView.dll!Telerik.WinControls.UI.GridViewEventProcessEntity.ProcessCollection(Telerik.WinControls.UI.GridViewEvent gridEvent, Telerik.WinControls.UI.PriorityWeakReferenceList list, Telerik.WinControls.UI.GridEventProcessMode processMode)	Unknown
 	Telerik.WinControls.GridView.dll!Telerik.WinControls.UI.GridViewEventProcessEntity.ProcessEvent(Telerik.WinControls.UI.GridViewEvent gridEvent)	Unknown
 	Telerik.WinControls.GridView.dll!Telerik.WinControls.UI.GridViewSynchronizationService.NotifyListeners(Telerik.WinControls.UI.GridViewEvent gridEvent)	Unknown
 	Telerik.WinControls.GridView.dll!Telerik.WinControls.UI.GridViewSynchronizationService.FlushEvents()	Unknown
 	Telerik.WinControls.GridView.dll!Telerik.WinControls.UI.GridViewSynchronizationService.DispatchEvent(Telerik.WinControls.UI.GridViewEvent gridEvent)	Unknown
 	Telerik.WinControls.GridView.dll!Telerik.WinControls.UI.GridViewSynchronizationService.DispatchEvent(Telerik.WinControls.UI.GridViewTemplate template, Telerik.WinControls.UI.GridViewEvent eventData, bool postUI)	Unknown
 	Telerik.WinControls.GridView.dll!Telerik.WinControls.UI.GridViewObjectRelationalDataProvider.DispatchDataViewChangedEvent(Telerik.WinControls.UI.DataViewChangedEventArgs args)	Unknown
 	Telerik.WinControls.GridView.dll!Telerik.WinControls.UI.GridViewObjectRelationalDataProvider.Refresh()	Unknown
 	Telerik.WinControls.GridView.dll!Telerik.WinControls.UI.GridViewObjectRelationalDataProvider.bindableChildren_ListChanged(object sender, System.ComponentModel.ListChangedEventArgs e)	Unknown
 	System.Data.dll!System.Data.DataView.OnListChanged(System.ComponentModel.ListChangedEventArgs e)	Unknown
 	System.Data.dll!System.Data.DataView.IndexListChanged(object sender, System.ComponentModel.ListChangedEventArgs e)	Unknown
 	System.Data.dll!System.Data.DataView.IndexListChangedInternal(System.ComponentModel.ListChangedEventArgs e)	Unknown
 	System.Data.dll!System.Data.DataViewListener.IndexListChanged(System.ComponentModel.ListChangedEventArgs e)	Unknown
 	System.Data.dll!System.Data.Index.OnListChanged.AnonymousMethod__88_0(System.Data.DataViewListener listener, System.ComponentModel.ListChangedEventArgs args, bool arg2, bool arg3)	Unknown
 	System.Data.dll!System.Data.Listeners<System.__Canon>.Notify<System.__Canon, bool, bool>(System.__Canon arg1, bool arg2, bool arg3, System.Data.Listeners<System.__Canon>.Action<System.__Canon, System.__Canon, bool, bool> action)	Unknown
 	System.Data.dll!System.Data.Index.OnListChanged(System.ComponentModel.ListChangedEventArgs e)	Unknown
 	System.Data.dll!System.Data.Index.RecordStateChanged(int oldRecord, System.Data.DataViewRowState oldOldState, System.Data.DataViewRowState oldNewState, int newRecord, System.Data.DataViewRowState newOldState, System.Data.DataViewRowState newNewState)	Unknown
 	System.Data.dll!System.Data.DataTable.RecordStateChanged(int record1, System.Data.DataViewRowState oldState1, System.Data.DataViewRowState newState1, int record2, System.Data.DataViewRowState oldState2, System.Data.DataViewRowState newState2)	Unknown
 	System.Data.dll!System.Data.DataTable.SetNewRecordWorker(System.Data.DataRow row, int proposedRecord, System.Data.DataRowAction action, bool isInMerge, bool suppressEnsurePropertyChanged, int position, bool fireEvent, out System.Exception deferredException)	Unknown
 	System.Data.dll!System.Data.DataRow.EndEdit()	Unknown
 	System.Data.dll!System.Data.DataRow.ItemArray.set(object[] value)	Unknown

Dinko | Tech Support Engineer
Telerik team
 answered on 06 Aug 2025
1 answer
73 views

Good Evening All,

I have recently secured a new Teleik Developer License, and I have updated the controls to the latest version.

When I run my application from within Visual Studio 2022 i am getting an error message displayed across my forms as shown below.

I have clicked on the help button and followed all the steps on the following web link (https://docs.telerik.com/devtools/winforms/licensing/license-key).  I have tried the automatic and the manual installation methods; however, the message is still showing.  I have confirmed that the telerik-license.txt file has been downloaded as well.

Can you please assist with this so I can get the message removed?  

Thank you in advanced.

Nadya | Tech Support Engineer
Telerik team
 answered on 06 Aug 2025
1 answer
16 views
I introduced the function that the CheckedDropDownList control can use DescriptionTextListDataItems on https://www.telerik.com/products/winforms/checkeddropdownlist.aspx, but I didn't find any sample code. Only the DropDownList uses DescriptionTextListDataItems. How should the CheckedDropDownList control use DescriptionTextListDataItems?
Nadya | Tech Support Engineer
Telerik team
 answered on 06 Aug 2025
2 answers
34 views

Disable right-click menu in PdfViewer?

Kao Hung
Top achievements
Rank 1
Iron
 updated answer on 05 Aug 2025
1 answer
31 views
I want to implement quick selection using the RadCheckedDropDownList control. When a user types content (assuming it's "adc" ,"1"or "app"), it should automatically filter to match the first record.

The data source is:
List<Model> datas = new List<Model>
{
new Model { Title = "Apple", Description = "abc1" },
new Model { Title = "Banana", Description = "ffd2" },
new Model { Title = "Cat", Description = "mmd3" },
new Model { Title = "Juice", Description = "nnr5" }
};

I have referred to https://docs.telerik.com/devtools/winforms/controls/dropdown-listcontrol-and-checkeddropdownlist/checkeddropdownlist/populating-with-data/data-binding, and also tried using Filter and FilterExpression, but neither can achieve multiple filtering. How can this be implemented?
Nadya | Tech Support Engineer
Telerik team
 answered on 04 Aug 2025
1 answer
29 views

   
PdfViewerLocalizationProvider.CurrentProvider = new MyLocalizationProvider();} 自定義radPdfViewerNavigator1中文化選項

public class MyLocalizationProvider : PdfViewerLocalizationProvider { public override string GetLocalizedString(string id) { switch (id) { case PdfViewerStringId.ContextMenuCopy: return "複製(&C)"; case PdfViewerStringId.ContextMenuSelectAll: return "全選(&A)"; case PdfViewerStringId.ContextMenuDeselectAll: return "取消全選(&D)"; case PdfViewerStringId.ContextMenuHand: return "手形工具(&H)"; case PdfViewerStringId.ContextMenuSelection: return "選取工具(&S)"; case PdfViewerStringId.ContextMenuPreviousPage: return "上一頁(&P)"; case PdfViewerStringId.ContextMenuNextPage: return "下一頁(&N)"; case PdfViewerStringId.ContextMenuPrint: return "列印(&R)..."; case PdfViewerStringId.ContextMenuFind: return "尋找下一個(&F)"; case PdfViewerStringId.NavigatorOpenButton: return "打開"; case PdfViewerStringId.NavigatorPrintButton: return "列印"; case PdfViewerStringId.RotateCounterclockwiseButton: return "逆時針旋轉"; case PdfViewerStringId.RotateClockwiseButton: return "順時針旋轉"; case PdfViewerStringId.NavigatorPreviousPageButton: return "上一頁"; case PdfViewerStringId.NavigatorNextPageButton: return "下一頁"; case PdfViewerStringId.NavigatorCurrentPageTextBox: return "目前頁面"; case PdfViewerStringId.NavigatorTotalPagesLabel: return "總頁數"; case PdfViewerStringId.NavigatorZoomInButton: return "放大"; case PdfViewerStringId.NavigatorZoomOutButton: return "縮小"; case PdfViewerStringId.NavigatorZoomDropDown: return "縮放下拉選單"; case PdfViewerStringId.NavigatorHandToolButton: return "移動工具"; case PdfViewerStringId.NavigatorSelectToolButton: return "選取工具"; case PdfViewerStringId.NavigatorFindNextButton: return "尋找下一個"; case PdfViewerStringId.NavigatorFindPreviousButton: return "尋找上一個"; case PdfViewerStringId.NavigatorSearchTextBox: return "搜尋"; case PdfViewerStringId.NavigatorNoResultMessage: return "根據指定的條件找不到結果。"; case PdfViewerStringId.NavigatorNoResultMessageHeader: return "資訊"; case PdfViewerStringId.NavigatorDefaultStrip: return "預設工具列"; case PdfViewerStringId.PrintPreviewGroupBoxPreview: return "預覽"; case PdfViewerStringId.PrintPreviewGroupBoxOrientation: return "方向"; case PdfViewerStringId.PrintPreviewGroupBoxSettings: return "設定"; case PdfViewerStringId.PrintPreviewButtonPrint: return "列印"; case PdfViewerStringId.PrintPreviewButtonCancel: return "取消"; case PdfViewerStringId.PrintPreviewButtonWatermark: return "浮水印"; case PdfViewerStringId.PrintPreviewButtonSettings: return "列印設定"; case PdfViewerStringId.PrintPreviewLabelPageSizeInches: return "{0:F2} x {1:F2} 英吋"; case PdfViewerStringId.PrintPreviewLabelPageSizeCm: return "{0:F2}公分 x {1:F2}公分"; case PdfViewerStringId.PrintPreviewLabelScale: return "縮放: {0}%"; case PdfViewerStringId.PrintPreviewLabelCurrentPage: return "第 {0} 頁,共 {1} 頁"; case PdfViewerStringId.PrintPreviewFormTitle: return "列印預覽"; case PdfViewerStringId.PrintPreviewPrintError: return "列印文件時發生錯誤!"; case PdfViewerStringId.PrintPreviewRadioPortrait: return "直向"; case PdfViewerStringId.PrintPreviewRadioLandscape: return "橫向"; case PdfViewerStringId.PrintPreviewRadioAuto: return "自動"; case PdfViewerStringId.NavigatorFitToWidthButton: return "符合寬度"; case PdfViewerStringId.NavigatorFitToPageButton: return "符合頁面"; case PdfViewerStringId.PageThumbnailsLabel: return "頁面縮圖"; case PdfViewerStringId.SaveButton: return "另存新檔"; case PdfViewerStringId.CloseButton: return "關閉"; case PdfViewerStringId.NavigatorShowSignatureButton: return "簽章面板"; case PdfViewerStringId.SignatureDialogTitle: return "簽章驗證狀態"; case PdfViewerStringId.SignaturePanel_Invalid: return "至少有一個簽章無效。"; case PdfViewerStringId.SignaturePanel_Unknown: return "至少有一個簽章有問題。"; case PdfViewerStringId.SignaturePanel_Valid: return "已簽署且所有簽章都有效。"; case PdfViewerStringId.SignaturePropertiesDialogHeader: return "簽章驗證狀態"; case PdfViewerStringId.SignaturePropertiesDialogViewModel_IsDocumentModified_False: return "自此簽章套用後,文件未被修改。"; case PdfViewerStringId.SignaturePropertiesDialogViewModel_IsDocumentModified_True: return "自簽章套用後,文件已被更改或損壞。"; case PdfViewerStringId.SignaturePropertiesDialogViewModel_SignatureIsInvalid: return "簽章無效。"; case PdfViewerStringId.SignaturePropertiesDialogViewModel_SignatureIsUnknown: return "簽章有效性未知。"; case PdfViewerStringId.SignaturePropertiesDialogViewModel_SignatureIsValid: return "簽章有效,簽署者:"; case PdfViewerStringId.SignaturePropertiesDialogViewModel_SignerValidity_Unknown: return "簽署者身份未知。"; case PdfViewerStringId.SignaturePropertiesDialogViewModel_SignerValidity_UntrustedRoot: return "簽署者身份未知,因為它未包含在您的信任憑證清單中,且其父憑證均不受信任。"; case PdfViewerStringId.SignaturePropertiesDialogViewModel_SignerValidity_Valid: return "簽署者身份有效。"; case PdfViewerStringId.SelectCertButton: return "選取"; case PdfViewerStringId.SignButton: return "簽署"; case PdfViewerStringId.EnterAPassTextBox: return "輸入密碼"; case PdfViewerStringId.SelectCertTextBox: return "選取憑證"; } return base.GetLocalizedString(id); } }

Dinko | Tech Support Engineer
Telerik team
 answered on 01 Aug 2025
6 answers
152 views

i have noticed that if you click on the + icon of the pdfnavigator it doesn't work. outside the + icon it works.
is this only the case with me ?

 

andre

Kao Hung
Top achievements
Rank 1
Iron
 updated answer on 01 Aug 2025
2 answers
43 views

Hello.

I am developing a form that has a radgrid with hierarchy and in some instances, the parent row makes changes to the child rows and vice versa.
In my case, I have the functionalities below (Among others):

  1. Both the parent and child rows have a "Check" column.
  2. The relation between the 2 is done through an "Id" column which in my DataSource, is a Guid (The column in both templates is a textbox).
  3. Every time a row is checked (Parent or child), the background changes color.
  4. Every time I check a parent row, the corresponding child rows are also checked (Which then change color).
    Same happens if I uncheck the parent row which then unchecks the corresponding child rows and resets the background color.
    This behavior is managed in the CellValueChanged event of the RadGridView.
    Checking and unchecking the child rows according to the parent, is being done directly in the DataSource which in my case is a DataTable. But the same behavior happens if I edit the grid rows directly.
  5. In the parent template, the Check column has the property EnableHeaderCheckBox set to true.
  6. The color rule is managed by a ExpressionFormattingObject added to the ConditionalFormattingObjectList property of the Check column. I also tried to set up the color rules in the Formating events but the problem I will explain below persists. Still, the color is not the only problem.

My problem here is that everything works correctly if I check and uncheck the parent rows individually. Whether they expanded or not. Depending on the check action in the parent row, the child rows update visually both in their "Check" state and in the color rule.



However, if I check/uncheck all the parent columns from the header check box, the child rows do not update visually unless I close the parent row and expand it again or if I click on all rows/scroll down or up to force them to update.
Like in this print for example. The first parent row was expanded when I checked the header check box. It was suppose to check the child rows and update the color. They are checked internally in the datasource.



There are also some issues with the header check in the child rows. In this case, I do not have the EnableHeaderCheckBox = true in the GridViewTemplate but the problem is similar. Checking all the child rows of a certain parent row through the header check, updates the value on the "Chk" column but does not update it visually with the color.

There is also a problem where in some instances if I check all the parent rows through the header check box, their color does not update.
This happens regardless of the parent rows being expanded or not.



I have to click on each one or scroll or expand them to force the visual update.
The problem seems to be related to the actual visual update. I tried multiple things to for the update but none helped. Also tried forcing the rows to expand if they were collapsed not none helped.

This is all I tried.


On all the examples, I checked the data in the datasource and everything is updated correctly. It is just the visuals that are not updating automatically.

To help understand the problem, I attached a little example with a solution similar to what I have, where this issue can be replicated.
I am using Telerik Winforms V2024.4.1113.462.

Thank you in advance for any answer.
João Carvalho

João
Top achievements
Rank 1
Iron
 updated answer on 31 Jul 2025
1 answer
21 views

Background:

https://docs.telerik.com/devtools/winforms/knowledge-base/how-to-embed-chrome-browser-in-a-winforms-application

Refer to the documentation above to embed chromium browser in WinForm.

 

Problem statement:

Whenever I embed the CefSharp Web Browser, the formatting changed. 

Observation - With embedded CefSharp Web Browser: 

  • Window State set to Maximized but it won't start with Maximized state.
  • The formatting of the words seems changed - truncated with '...'


using CefSharp;
using CefSharp.WinForms;

 

private ChromiumWebBrowser browser = new ChromiumWebBrowser(); private void frmBulletin_Load(object sender, EventArgs e) { Cef.Initialize(new CefSettings()); pnlBrowser.Controls.Add(browser); browser.Dock = DockStyle.Fill; }



Screen shot: Without embedded CefSharp Web Browser (Maximized - full screen): 

 

Screen shot: With embedded CefSharp Web Browser (around 3/4 of the screen only, the words truncated with '...'): 

Dinko | Tech Support Engineer
Telerik team
 answered on 30 Jul 2025
1 answer
28 views
How to invert the text color as the progress bar fills so that the text is visible on different colors of the progress bar? For example, on a green background, the text color is yellow, and on a light gray background, the text color is black or another visible color. Like here 
Dinko | Tech Support Engineer
Telerik team
 answered on 25 Jul 2025
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Form
Chart (obsolete as of Q1 2013)
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?