private void radGridView1_ContextMenuOpening(object sender, ContextMenuOpeningEventArgs e)
{
var cellElement = e.ContextMenuProvider as GridCellElement;
if (cellElement == null) return;
if (cellElement is GridHeaderCellElement)
{
RadMenuItem exportExcel = new RadMenuItem($"ExportToExcel");
exportExcel.Click += (s, args) => { ExportToExcel(); };
e.ContextMenu.Items.Add(exportExcel);
}
}
After upgrade to UI.for.WinForms.AllControls.Net80 <Version>2025.4.1321
cellElement is null in the above line
then return
i can not see "RadMenuItem($"ExportToExcel")"
WHY?

Hello.

I'm trying to eliminate the tab that says table on the subgrids below. I've tried
template1.ShowChildViewCaptions = false;
template1.MasterTemplate.ShowChildViewCaptions = false;
grid.ShowChildViewCaptions = false;
grid.MasterTemplate.ShowChildViewCaptions = false;
Nothing works. What am I doing wrong?
Thanks
Carl



i have a Master-Detail CRUD Job
Details shown using RADGRIDVIEW
for example : Master is "TBSYUSER" class Detail is "TBSYUSAU" class
change master will change detail data
i using BindingList<TBSYUSAU> --> BindingSource -> RADGRIDVIEW
now if detail data's count varing a little large
ex: record count change from 1 to 89 due to master change
RADGRIDVIEW refresh will take more times
should i change strucuture to : Datatable --> BindingSource -> RADGRIDVIEW
or have some suggestion ?
TKs

I would like to expand a GridViewComboBoxColumn list on the same row where on another column that is set to "Lost".
(see attached screenshot)
(1) User clicks on a cell and selects "Lost" from a list
(2) From Cell Event, the "Reason" column (GridViewComboBoxColumn) is automatically expanded so the user knows to select a reason.
private void dgvSales_CellValidating(object sender, CellValidatingEventArgs e)
{
if(e.ColumnIndex >= 0 && e.RowIndex >= 0)
{
switch (e.ColumnIndex)
{
case int _ when e.ColumnIndex == dgvSales.Columns["colWonLost"].Index:
if(e.Value.ToString() == "Lost")
{
dgvSales.CurrentRow.Cells["colReason"].IsSelected = true;
//Add code here to expand colReason list
return;
}
break;
default:
break;
}
}
} //dgvSales CellValidating
Hi
I notice in the release notes for WinForms 2025.4.1321 that the upcoming release (Q2 2026) will no longer support Windows 7 theme (amongst others). My desktop application make extensive use of this theme, including mimicing the colours used by th etheme in other custom controls.
What is exactly meant by "Support for existing controls using these themes will remain unchanged."? Will my existing application work as before without changes for this and following releases of WinForms?
Cheers
Toby
I searched and searched and this answer was answered back in 2023 but not from a code perspective.
How do I change the font fore color (via code) for the group caption? CaptionFill is for the backcolor. Got it. I have spent hours trying to find it in this website and searching. Why does Telerik make things so difficult?

Hello,
I want to choose column by checkboxes, something like that:
I
It is possible?
Thank you for your answer
