Hi,
I have 2 RadWatermarkextBox in a RibbonGroup. When I Tab in the first, I want to be inside the second one but doesn't seem to work (even with telerik TabExtensions)
Any ideas?
<telerik:RadRibbonGroup Header="Filtrage">
<telerik:RadOrderedWrapPanel VerticalAlignment="Top">
<telerik:RadWatermarkTextBox WatermarkContent="First" />
<telerik:RadWatermarkTextBox WatermarkContent="Second" IsTabStop="True"/>
</telerik:RadOrderedWrapPanel>
</telerik:RadRibbonGroup>
I've just updated Telerik and are now getting this compile time error:
Severity Code Description Project File Line Suppression State
Error XDG0047 The specified value cannot be assigned. The following type was expected: "IFilteringControl". Modelkatalog.Client C:\develop\data-tool-modelkatalog\Modelkatalog.Client\Controls\List\CarVariantsList.xaml 1
I'm getting this error from 2 XAML documents that both implement a custom Fitler for the RadGridView
I didn't get this error before, and I'm still able to compile and run the project - which kind of defeat the purpose of [Severity: Error]
I'm trying to be able to expand nested properties programmatically. Specifically, I have two RadPropertyGrids next to each other for the purpose of comparing two objects and if I expand a nested property on one object I'd like to have the nested property on the other object auto-expand to keep the two views in sync. I'm trying to accomplish this by binding the IsExpanded property of the two property definitions together. This only partially works. When you click the + button to expand a nested property, the corresponding property on the other object disappears. If you click again the corresponding property reappears and they are both collapsed. If you click a third time they both expand as expected. It works correctly from then on. Just the first time is the problem.
This problem even occurs if you remove the RightGrid and just use the button to programmatically change the IsExpanded field. On the first click the property disappears completely. Subsequent clicks work as expected. If you click the + icon on the property itself it works fine.
I need to be able to set PropertyDefinition.IsExpanded programmatically at some point after the PropertyGrid is displayed. Setting it during AutoGeneratingPropertyDefinition is not an option.
I'm using version 2021.3.1109.
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>