Telerik Forums
UI for WPF Forum
3 answers
93 views

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

Petar Mladenov
Telerik team
 answered on 10 Jan 2017
1 answer
80 views
09-January-2017 a new version of Dev Craft Complete for WPFwas come (the information message was). But when tryed to load and install it the error message had place. Please tell me - why?
Peshito
Telerik team
 answered on 10 Jan 2017
10 answers
451 views
Hi, when entering the view, I would like the user to be instantly able to type away at the autocompletebox upon view loaded. I tried Autocompletebox.Focus event but that doesn't quite focus. May I ask how abouts do I focus Autocompletebox?
Nasko
Telerik team
 answered on 10 Jan 2017
0 answers
94 views

 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;
        }
    }

Raghavendar
Top achievements
Rank 1
 asked on 10 Jan 2017
2 answers
85 views

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

 

newp
Top achievements
Rank 1
 answered on 09 Jan 2017
5 answers
472 views
I have an application that has a RadRibbonWindow form, with a grid and then a RadRibbonView.

<telerik:RadRibbonWindow>
  <Grid>
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto"/>
      <RowDefinition/>
</Grid.RowDefinitions> <telerik:RadRibbonView>
    </telerik:RadRibbonView>
  </Grid>
</telerik:RadRibbonWindow>

This is then styled, using the Windows 8 style.

All is working as you'd expect. My issue is with the min/max/close icons on the form. They look too block and thick, particularly when maximized. The restore icon in especially blob like. Is there a way to change the styling of these buttons to use finer lines, or an outline similar to the office style?

Cheers
Evgenia
Telerik team
 answered on 09 Jan 2017
3 answers
181 views

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

I would have expect that the RadSlider shrinkno matter the thumbs value.
I would have expect that the RadSlider shrinkno matter the thumbs value.
I would have expect that the RadSlider shrinkno matter the thumbs value.
I would have expect that the RadSlider shrinkno matter the thumbs value.
I would have expect that the RadSlider shrinkno matter the thumbs value.
Martin Ivanov
Telerik team
 answered on 09 Jan 2017
1 answer
103 views

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

Kalin
Telerik team
 answered on 09 Jan 2017
1 answer
80 views

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; }

 

Kalin
Telerik team
 answered on 09 Jan 2017
1 answer
127 views

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?

 

Stefan Nenchev
Telerik team
 answered on 09 Jan 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?