Hello,
I'm having problem with editing data in my RadGridView. I have it populated with DB items, with some columns editable. After edit is done, other cells are supposed to update. And here everything is working fine, user can edit row, and then, here comes the problem, he needs to leave current ROW in order to trigger RowEditEnded event. After changing it to CellEditEnded I have alot troubles with StackOverflow errors, coz event is triggered repeatedly (and I'm not sure if it works and can't break the infinite trigger). I'm looking for solution to either:
1. Call RowEditEnded event after user is leaving edited cell and navigate to another cell within the same row
2. Handle CellEditEnded event once, just the same as I handle RowEditEnded (I expected them to work in similar way)
Here is code behind example of what I'm trying to do:
private void OnEditEnded_OnRowEditEnded(object sender, GridViewRowEditEndedEventArgs e)
{
var grid = sender as RadGridView;
if (grid != null)
{
var objectFromList = grid.SelectedItem as MyClass;
if (objectFromList != null)
{
// Whole logic here
}
}
}
Looking forward for quick answer,
Best Regards
Hi,
I'm new to GanttView. I have a collection grouped by some ID as TaskSource. The collection is listed in RadGanttView.Columns. But I don't want the datetime to be displayed in the Grouped Row (Tree Header). How can I achieve this? Please help me on this.
Thanks & Regards,
Muhammad Azhar Shah
when I try and run the demos after latest update (2017.3.1018) I get.
You cannot start application demos - telerik UI for WPF from this location because it is already installed from a different location.
any help would be appreciated
Hello,
Attached a simple application that has one pane.
Upon init, I'm calling to:
mainPane.Content = new UserControl1();
Upon 'save' menu item I'm calling to:
FileStream Stream = File.Create("MyApplication.wsp");
Docking.SaveLayout(Stream);
Stream.Close();
Upon 'load' menu item I'm calling to:
FileStream Stream = File.Open("MyApplication.wsp", FileMode.Open);
Docking.LoadLayout(Stream);
Stream.Close();
But at this point, the pane is displayed exactly in the location where it was when layout was saved.
But it's empty, without its user control.
Can you please help ?
How can I upload full source tree ?
Thank you,
Zvika
How can I prevent changing the width of the RadOutlookBar inside a RadPane?
What I did for now is to process SizeChanged event and force the RadOutlookBar's Width property to the Width of its LogicalTreeHelper.GetParent() but it's still possible to have the mouse catch the edge of the RadOutlookBar instead of the RadPane parent's splitter which gives the illusion that the splitter won't move. Is there a better way to do this?
So, I just updated my project to 2018.1.116 because it fixed the "OutOfMemoryException" that was being thrown by the PDFViewer. The latest version has seemed to resolve that issue, but now there's a new issue. PDFs with images load, display and export just fine, however if you try and print a PDF that contains an image, the images is not printed.
You can reproduce this behavior by opening Telerk's WPF Demo application, go to the PDFViewer sample and printed. The document prints but id did not print the image under "1. Images" on page 2.
Anyone else having this issue?
Hi all,
I read this blog(https://www.telerik.com/blogs/ui-automation-testing-with-uia-verify) about identify Wpf telerik element by uia verify tool.
However, I can't find the RadButton and only the text on uia verify tool. Could someone give me hints? Thanks
Hi,
I'm trying to use different GroupHeaderTemplates with Converters for the columns in my grid view. If I apply the template to the entire grid, my converter gets invoked.
<telerik:RadGridView.GroupHeaderTemplate>
<DataTemplate>
<TextBlock Text="{Binding Group.Key, Converter={StaticResource IsActiveConverter}}" />
</DataTemplate>
</telerik:RadGridView.GroupHeaderTemplate>
If I apply the GroupHeaderTemplates to GridViewDataColumn, my converter gets called unless the column had a cell template. My converter gets called for the followiing:
<telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" Header="Name">
<telerik:GridViewDataColumn.GroupHeaderTemplate>
<DataTemplate>
<TextBlock Text="{Binding Group.Key, Converter={StaticResource IsActiveConverter}}" />
</DataTemplate>
</telerik:GridViewDataColumn.GroupHeaderTemplate>
</telerik:GridViewDataColumn>
My converter (IsActiveConverter) does NOT get called for the following.
<telerik:GridViewDataColumn Width="16" SortMemberPath="FontFormat">
<telerik:GridViewDataColumn.CellTemplate>
<DataTemplate>
<Image x:Name="TypeIcon" Width="12" Height="12" Style="{StaticResource TypeIconStyle}" />
</DataTemplate>
</telerik:GridViewDataColumn.CellTemplate>
<telerik:GridViewDataColumn.GroupHeaderTemplate>
<DataTemplate>
<Image Source="{Binding Group.Key, Converter={StaticResource IsActiveConverter}}" Height="16" Width="16"/>
</DataTemplate>
</telerik:GridViewDataColumn.GroupHeaderTemplate>
</telerik:GridViewDataColumn>
What am I doing wrong? Thanks.