When multiple rows are selected, I would like to deselect only the clicked row if the user clicks a row that is already selected.
I implemented the following logic in the event:CurrentRowChanging
}
Initial state:
Action:
Result:
This works as expected.
Initial state:
Action:
Result:
SelectedRowsI confirmed that is not fired when the user clicks the CurrentRow itself, since the current row is not changing.CurrentRowChanging
After clicking the CurrentRow, I checked the following properties:
radGridView1.SelectedRows.Contains(row) == false
Therefore, the row appears to be completely deselected internally.
I tried forcing UI updates using the following methods, but the visual appearance did not change:
radGridView1.TableElement.Update(GridUINotifyAction.StateChanged);
radGridView1.TableElement.Invalidate();
radGridView1.Refresh();
Although the row is no longer selected:
radGridView1.SelectedRows.Contains(row) == false
the entire row remains highlighted in blue.
Is this expected behavior caused by the CurrentRow/Focus visual state, or could this be a rendering issue?
Additionally, is there a recommended way to achieve the following behavior?
Any guidance or recommended approach would be greatly appreciated.
Thank you.
---------------------------------------------------
The issue looks like it can be resolved with the following code:
private void GridView_RowFormatting(object sender, RowFormattingEventArgs e)
{
if (e.RowElement.RowInfo.IsSelected)
{
e.RowElement.DrawFill = true;
e.RowElement.GradientStyle = Telerik.WinControls.GradientStyles.Solid;
e.RowElement.DrawBorder = true;
e.RowElement.BorderBoxStyle = Telerik.WinControls.BorderBoxStyle.SingleBorder;
}
else
{
e.RowElement.DrawFill = false;
e.RowElement.DrawBorder = false;
}
}
private void GridView_CellFormatting(object sender, CellFormattingEventArgs e)
{
if (e.CellElement.RowInfo.IsSelected)
{
e.CellElement.DrawFill = true;
}
else
{
e.CellElement.DrawFill = false;
}
}
However, the ">" indicator for the CurrentRow and the border that remains around the selected cell are still displayed.
Is there a way to remove these as well?
Please refer to the attached image.

There is nothing in the textbox, but I do have AutocompleteMode to Suggest. It also did this with None.
The control is bound to a DataTable.
any suggestions on helping solve this would be appreciated.
* Also it looks like the "Blank" is at the bottom instead of the top.
Blank is not an option I added to the control.
Thanks,
Rog

I have a control on a form that is working fine most of the time. But I'm finding that if I want to print a PDF file from elsewhere in the form (with the PDF Viewer on another tab that is not visible) then the LoadDocument is not working. Is this by design please?
Kind regards,
Simon



Hi,
I don't think there is currently a way to drag components directly on the designer for RibbonBar sub-elements.
For example, when adding a new button in a RadRibbonBarGroup, there is no way to change its order : I would like to put it between existing buttons.
The same is also impossible when adding a RadRibbonBarButtonGroup inside a RadRibbonBarGroup, there is no way to move buttons from the RadRibbonBarGroup to the newly created RadRibbonBarGroup .
Also, the RadLabel element doesn't exist in the list of possible elements to add.
For all these problems, there is no other way than modifying the Designer.cs code. And it's a real pain...
Thank you.

I looked around the forum and I cannot find anything relating to the Filter Row Height
When I type in the filter row field the text is unreadable
When I click off of the field you'll notice from the images that I typed a T... but it hardly visible in the initial image
How do I adjust the height of the Filter row so that when the user types - they can see what they are typing???

I have a grid where I have some very narrow columns where I might use an icon in the header or simply leave the header text blank. However, it would be nice to be able to have something go into the Column Chooser text rather than simply use the HeaderText in there so the user knows what the column is when they are looking at the list. Is this possible at all please?
Thank you in advance.
Simon

Hello,
I am using a RadSplitButtonElement:
DEFINE PRIVATE VARIABLE BtnAnnulerSplit AS Telerik.WinControls.UI.RadSplitButtonElement NO-UNDO.
and I would like to control the number of items displayed. If there are more than can fit, display a vertical scrollbar; otherwise, do not.
I have written the following code:
DEFINE VARIABLE oMenu AS Telerik.WinControls.UI.RadDropDownMenu NO-UNDO.
DEFINE VARIABLE iItemHeight AS INTEGER NO-UNDO.
oMenu = BtnAnnulerSplit:DropDownMenu.
iItemHeight = 10.
oMenu:Maximum = NEW System.Drawing.Size(0, 20 * iItemHeight).
I do have a size, but no vertical scrollbar, which means I can’t see all the items.
Thank you for your feedback
Translated with DeepL.com (free version)

I had to revert back to 2026.2.520 because of the issues with 026.2.702
The dropdown is broken and I can't release a new build of apps to customers
And now, I found issues with gridview filtering that has worked forever in all previous builds.
After reverting back to 520 these two line work properly again.
So, I'm just writing to let you know that you should look into the next build after 702 to ensure that the 2 lines below function.
Basically, I created a usercontrol and dropped the grid onto the control.
But when I tried to drop the user control onto a form - it threw a error box and wouldn't allow the control to be dropped on the form.
Using trial and error I found that by REMing out 1 or both of the 2 lines below the Usercontrol could be dropped onto the form again.
.MasterTemplate.EnableFiltering = True
.MasterTemplate.DataView.BypassFilter = False
Here is the full routine that I use to clean up the GridView in most instances.
Friend Sub GridInitializeGridProperties(ByVal oRadGridView As Telerik.WinControls.UI.RadGridView, ByVal Optional EnableFiltering As Boolean = True, ByVal Optional EnableExcelFiltering As Boolean = True) Try With oRadGridView .AutoSizeRows = True .TableElement.SearchHighlightColor = Color.Orange .Dock = DockStyle.Fill .ReadOnly = True .AllowAddNewRow = False .AllowDeleteRow = False .AllowEditRow = False .AutoScroll = True .EnableFastScrolling = True .SelectionMode = GridViewSelectionMode.FullRowSelect .AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill .ShowNoDataText = False .EnableAnalytics = False .MasterTemplate.BestFitColumns() .EnableAlternatingRowColor = True .EnableGrouping = False .AllowDragToGroup = False If EnableFiltering Then .EnableFiltering = True .ShowFilteringRow = True .MasterTemplate.EnableFiltering = True .MasterTemplate.DataView.BypassFilter = False End If If EnableExcelFiltering Then .ShowHeaderCellButtons = True End If End With Catch ex As Exception End Try End Sub
I'm not concerned about it just now because I reverted back to the previous release - but something more than just the dropdown combos seems to be amiss.
