I have been using RadDocking in WPF for a few years now and have been loading and saving layouts but we have noticed one issue that I am trying to address. If a user creates two (or more) documents in a DocumentHost and puts one above the other and saves the layout when the layout is restored the documents are side by side. Below is the XML that is generated by the SaveLayout call. I believe the pertinent attribute is the Orientation="Vertical" in the RadSplitContainer. If I read that correctly the two RadPaneGroups should be positioned vertically one above the other on the screen but they are always positioned side by side. I am still investigating and trying to reproduce this in a simpler application that I can share but I was wondering if anyone else had seen this behavior.
<RadDocking>
<DocumentHost>
<RadSplitContainer>
<Items>
<RadSplitContainer RelativeWidth="100" RelativeHeight="100" IsAutoGenerated="True" Orientation="Vertical" SplitterChange="701">
<Items>
<RadPaneGroup SerializationTag="DocumentGroup" SelectedIndex="0">
<Items>
<RadPane SerializationTag="LogViewer" IsPinned="True" IsHidden="True" IsDockable="True" Header="Log Viewer" />
<RadDocumentPane SerializationTag="dtm:points:fc0c8d04-3d65-47d7-a5ad-d46f433a0fc6:/Outstation/sDNP/sDNP/sDNP" IsPinned="True" IsDockable="True" Title="DTMControls.DTMPointListCtrl" Header="DTMControls.DTMPointListCtrl" />
</Items>
</RadPaneGroup>
<RadPaneGroup RelativeWidth="100" RelativeHeight="100" IsAutoGenerated="True" SelectedIndex="0">
<Items>
<RadDocumentPane SerializationTag="dtm:points:61ef9dd8-ca6e-4b67-9fde-ab94c8e148f6:/Master/mDNP/mDNP/mDNP" IsPinned="True" IsDockable="True" Title="DTMControls.DTMPointListCtrl" Header="DTMControls.DTMPointListCtrl" />
</Items>
</RadPaneGroup>
</Items>
</RadSplitContainer>
<RadPaneGroup RelativeWidth="100" RelativeHeight="100" IsAutoGenerated="True" SplitterChange="489" SelectedIndex="0">
<Items>
<RadDocumentPane SerializationTag="dtm:display1:57269279-9f89-4df3-981d-ca8ed4c2d485:/Outstation/Outstation Display.tgf" IsPinned="True" IsDockable="True" />
<RadDocumentPane SerializationTag="dtm:analyzer:418e5fde-b466-44e1-8694-ba2d659a8a1c:/" IsPinned="True" IsDockable="True" Title="DTMControls.DTMAnalyzerCtrl" Header="DTMControls.DTMAnalyzerCtrl" />
</Items>
</RadPaneGroup>
</Items>
</RadSplitContainer>
</DocumentHost>
my RadPropertyGrid size is fixed, and I do not want a horizontal scroll bar. so i set ScrollViewer.HorizontalScrollBarVisibility="Disabled"
when drag the slider (which can seperate the property and value) , can drag it out of the right side,
how to prevent this
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?