With version 2016 Q3 SP1 a RadTreeViewItem's Header is being emptied when I initiate editig with radTreeView.SelectedContainer.BeginEdit(). According to other posts in this forum this seems to be a previously known and corrected issue. Obviously it is back again.
Is there anything I can do to work around this issue?
Thanks
Michael
Hi,
I have two RadSplitContainers that are DockedLeft and a DocumentHost which internally contains another RadSplitContainer in my window.
I'm trying the set the default widths of the two RadSplitContainers to occupy 20% and 30% of the MainWindow width and the rest 50% to be occupied by the DocumentHost.
To achieve this the two RadSplitContainers Widths and binded to the parent window width and using a converter the widths are split.
Problem: The converter is not invoked for these two docked RadSplitContainers that are outside the DocumentHost.
However, the converter is invoked for the RadSplitContainer in DocumentHost.
Attaching the screenshot. The docked RadSplitContainers have default widths, ideally they should occupy 20% and 30% of the window and they should maintain the same when the window is restored or resized.
Version used: 2014.3.1117.45
Below is the code sample:
xaml:
<Window x:Class="DockingWPF.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
xmlns:dockingWpf="clr-namespace:DockingWPF"
Title="MainWindow" WindowState="Maximized" >
<Window.Resources>
<dockingWpf:WidthRatioConverter x:Key="WidthRatioConverter"/>
</Window.Resources>
<Grid>
<telerik:RadDocking>
<telerik:RadDocking.DocumentHost>
<telerik:RadSplitContainer>
<telerik:RadPaneGroup>
<telerik:RadPane Header="Canvas" CanFloat="False" CanUserPin="False">
<Grid Background="Aqua">
</Grid>
</telerik:RadPane>
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</telerik:RadDocking.DocumentHost>
<telerik:RadSplitContainer InitialPosition="DockedLeft" Orientation="Vertical" Width="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}, Path=ActualWidth, Converter={StaticResource WidthRatioConverter}, ConverterParameter=TempBrowser, Mode=OneWay}">
<telerik:RadPaneGroup x:Name="ApplicationPanesGroup" >
<telerik:RadPane Header="TemplateBrowser" CanFloat="False" CanDockInDocumentHost="False" IsPinned="True" CanUserClose="False" ScrollViewer.HorizontalScrollBarVisibility="Auto" />
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
<telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft" Width="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}, Path=ActualWidth, Converter={StaticResource WidthRatioConverter}, ConverterParameter=AppBrowser, Mode=OneWay}">
<telerik:RadPaneGroup>
<telerik:RadPane Header="ApplicationTree" IsPinned="True" CanUserClose="False"/>
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</telerik:RadDocking>
</Grid>
</Window>
Converter:
public class WidthRatioConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
var param = parameter as string;
if (!string.IsNullOrEmpty(param))
{
switch (param)
{
case "TempBrowser":
return ((double) value/5);
case "AppBrowser":
return ((double) value/3);
}
}
return null;
}
public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
return null;
}
}
Hi,
Need some help please
How can I bind a RadPivotGrid dynamically from codebehind?
The select query can change depending on a dropdownlist I have on the page so the field names will also change.
Example of select :
Select CompanyName, EmployeeId, FirstName,LastName, Salary from Table1
Example of Grid
CompanyName Number of employees Total Salary
Company1 23 345,676
<telerik:RadRibbonWindow><Grid> <Grid.RowDefinitions><RowDefinition Height="Auto"/><RowDefinition/></Grid.RowDefinitions> <telerik:RadRibbonView>
</telerik:RadRibbonView>
</Grid> </telerik:RadRibbonWindow>
Hi,
I've strange behavior with RadSlider inside a ScrollViewer. If the selection end thumb is at the maximum value and its container width is enlarged and then shrinked, the RadSlider doesn't shrink, it keeps the same size until the selection end thumb is moved to a lower value. It's is not the same behavior if the selection end thumb is not at the maximum value. I would have expect that the RadSlider shrink no matter the thumbs value.
I joined a sample project that reproduce that strange behavior. Just do the following steps : 1. Set selection end thumb to the max value 2. Enlarge window horizontally and shrink it back to original size.
Thanks for looking at this,
Etienne
Hi and happy new year folks,
is it somehow possible to save open-end appointments?
We're using ScheduleView for Appointments and absences. So when a user is absent for uncertain time, we want wo save an appointment which has no end time.
Is that possible?
Best regards,
David
namespace Telerik.Pivot.Core.Fields
{
/// <summary>
/// Represents a node in <see cref="T:Telerik.Pivot.Core.Fields.FieldInfoNode" /> hierarchy.
/// </summary>
public class ContainerNode
{
private List<ContainerNode> children;
/// <summary>
/// Gets a string that can be used as an identifier of this instance.
/// </summary>
/// <value>The name.</value>
public string Name { get; private set; }
/// <summary>Gets or sets the display name.</summary>
/// <value>The display name.</value>
public string Caption { get; private set; }
For several months, the Print Preview has been working fine on my RadGridView. But now, several of my users and I have a problem with the the software hanging. When I click the Print Preview button, the button changes colors because it has been clicked for about a second and then it returns to being white and at that time, the entire application is hung. The only option is to use the Task Manager, but the application itself is already gone and only vhost32.exe is running. Stopping that gets the GUI to go away, but my customers don't know that's what they need to do.
The strange thing is that not everybody has this issue even using the same software build. One fellow yesterday did one Print Preview that worked and after that it would hang every time.
Any ideas on what could be the cause for this or how to go about troubleshooting it?