Hello, I'm using a RadGridView and in one of the Column the data is actually 2 fields combined : a date and a name.
Since I'm also using the filtering popup on this column of the grid, I would like the sort to be applied on the date but the filtering to be applied on the name.
Is that possible ?
Hello, I'm trying to set rounded corners for my RadGridView but can't figure out how to do it, I tried putting it in a border with CornerRadius but it did nothing
Hi,
I want to use the RadGridView to show data from a DataTable and also allow the user to add new rows. My current version kind of works but there are still some problems:
This article says:
If the ItemsSource is a DataTable.DefaultView, you can initialize the newly inserted item as shown in Example 4:
private void radGridView_AddingNewDataItem2(object sender, GridViewAddingNewEventArgs e)
{
e.Cancel = true;
var newRow = this.dataSource.DefaultView.AddNew();
newRow["FirstName"] = "John";
newRow["LastName"] = "Doe";
e.NewObject = newRow;
}This creates a new row, but it does not set the focus to the new row. I guess this is because the event is actually cancelled and the row is added to the DataTable instead. I tried to manually set the focus afterwards, but so far without success. Is there a recommended solution?
I tried combining the RadGridView with a RadDataPager as described here. The paging works, but new rows are always added to the last page. That's okay, and the proposed solution is to move the grid to the last page. This works when the grid is not already on the last page. If it is, however, then the new row is not visible. Only when I navigate to another page and back to the last page, the new row appears. What can I do to show the new row in this case without changing the page?
Implemented the behavior to adjust the scroll position so that the selected item will appear on the top in the view.
code for above behavior:
var scrollOffset = gridView.Items.IndexOf(SelectedItem) * gridView.RowHeight;
11 items are there in the view. If 3rd last item is selected.
Steps performed to reproduce the issue:
1. Scrolled down to the bottom.
2. restarted the application and opened the view which contains radgridview.
3. above code for scroll item to top executed on the loading of radgridview.
4. please refer the attached image which shows issue.
Disappeared row appears again on scrolling the radgridview.
If Virtualization row is turned off, this issue does not reproduce but it kills the performance.
Need to get another solution for this issue.

This is related to https://www.telerik.com/forums/radsplitcontainer-not-reporting-docking-state-or-width-height-correctly, I hadn't realised the XAML had a RadDocking inside another RadDocking.
The code looks like this:
<telerik:RadDocking Name="radDocking" telerik:RadDocking.SerializationTag="DockingTag">
<telerik:RadSplitContainer Name="container" InitialPosition="DockedTop">
<telerik:RadPaneGroup Name="ContainerGroup">
<telerik:RadDocumentPane Name="OutputPane" Header="Output"/>
</telerik:RadPaneGroup>
<telerik:RadPaneGroup Name="FormGroup">
<telerik:RadDocking>
<telerik:RadSplitContainer>
<telerik:RadPaneGroup>
<telerik:RadPane x:Name="Form1" Header="Form 1"/>
</telerik:RadPaneGroup>
<telerik:RadPaneGroup>
<telerik:RadPane x:Name="Form2" Header="Form 2"/>
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</telerik:RadDocking>
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</telerik:RadDocking>When the layout is saved (using radDocking.SaveLayout), I get this:
<RadDocking SerializationTag="DockingTag">
<SplitContainers>
<RadSplitContainer Dock="DockedTop" Height="359">
<Items>
<RadPaneGroup SelectedIndex="0">
<Items>
<RadDocumentPane IsDockable="True" Header="Output"/>
</Items>
</RadPaneGroup>
<RadPaneGroup SelectedIndex="-1">
<Items/>
</RadPaneGroup>
</Items>
</RadSplitContainer>
</SplitContainers>
</RadDocking>When set IsRightToLeft in Culture then ApplicationMenu is not correct.

I have a requirement to override the Minimize function of the radWindow (clicking the Minimize Button on the Title Bar). Instead of the Window Minimizing to the bottom left of the screen I intend to simply reduce the Height of the Window leaving just the Title Bar showing (in its original position). Restoring the Window will again simply set the Height back to its original value to expand the Window….
So, I need to set Handle = true when the SC_MINIMIZE Message is received,
this will prevent the Window from minimizing, then i can implement my own code
to change the Height of the Window… This is the code so far…
private void RadWindow_HostCreated(object sender, HostWindowCreatedEventArgs e)
{
e.HostWindow.SourceInitialized += HostWindow_SourceInitialized;
}
private void HostWindow_SourceInitialized(object sender, EventArgs e)
{
var source = PresentationSource.FromVisual((Window)sender) as HwndSource;
if (source != null) source.AddHook(new HwndSourceHook(HandleMessages));
}
private IntPtr HandleMessages(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, ref bool handled)
{
if (msg == 0x0112 && ((int)wParam & 0xFFF0) == 0xF020)
{
handled = true;
}
return IntPtr.Zero;
}
However, while I seem to be catching Windows Messages in the HandleMessages function, it is not setting handled = true; when i click the Windows Minimize Button
Any help would be appreciated…
