Telerik Forums
UI for WPF Forum
1 answer
48 views

Hello,

On every page ofthe offline help, the grey bar with copyright information is on top of the content and hides part of it. Even when scrolling the content, the bar also scrolls...

This is very annoying because I can't read important information on many pages.

Dilyan Traykov
Telerik team
 answered on 20 Jul 2018
10 answers
263 views

Hi, we are developing a product which supposed to have 3D Stacked Bar Series. But I haven't found any documents for this type of chart in both of your documents and examples. I'm not sure your products supporting for this Chart.
Please tell me if you have any suggestions.

Thanks and best regards.

Harry

Martin Ivanov
Telerik team
 answered on 20 Jul 2018
1 answer
60 views

Hello, 

I`m using RTB control to export to html. I want to export Headings with font-size, but Normal style without it. Currently I get in export Normal style as:

<p><span style="font-size: 16px;">test</span></p>

 

I want to export Normal style without span

<p>test</p>

 

I tried like this - but unsuccesfully:

Editor.Document.StyleRepository.GetValueOrNull(RadDocumentDefaultStyles.NormalStyleName).SpanProperties.ClearProperties();

 

I use code to export. but can`t ignore font-size (because it is needed for other Headings)

HtmlExportSettings set = new HtmlExportSettings
                {
                    DocumentExportLevel = DocumentExportLevel.Fragment,
                    ExportBoldAsStrong = true,
                    ExportEmptyDocumentAsEmptyString = true,
                    ExportFontStylesAsTags = true,
                    ExportHeadingsAsTags = true,
                    ExportItalicAsEm = true,
                    ExportStyleMetadata = false,
                    SpanExportMode = SpanExportMode.DefaultBehavior,
                    StyleRepositoryExportMode = StyleRepositoryExportMode.DontExportStyles,
                    StylesExportMode = StylesExportMode.Inline
                };

                set.PropertiesToIgnore["span"].AddRange(new[] { "font-family", "dir" });

 

Tanya
Telerik team
 answered on 20 Jul 2018
7 answers
539 views
Hi,

I have created sample solution which uses RadDocking with MVVM approach: https://skydrive.live.com/redir?resid=51A46BBA4E9EF07E!1215

<telerik:RadDocking x:Name="dockManager"
     local:DockingExtensions.PaneSource="{Binding LayoutPanes}"
     local:DockingExtensions.ActivePane="{Binding ActivePane, Mode=TwoWay}">
     <telerik:RadDocking.Resources>
       <Style TargetType="telerik:RadPane">
         <Setter Property="Header" Value="{Binding Name}" />
         <Setter Property="Content" Value="{Binding View}" />
         <Setter Property="CanDockInDocumentHost" Value="False" />
       </Style>
 
       <Style TargetType="telerik:RadDocumentPane">
         <Setter Property="Header" Value="{Binding Name}" />
         <Setter Property="Content" Value="{Binding View}" />
         <Setter Property="CanDockInDocumentHost" Value="True" />
       </Style>
 
        
       <Style TargetType="telerik:ToolWindow">
         <Setter Property="Header" Value="{Binding Name}" />
         <Setter Property="Content" Value="{Binding View}" />
         <Setter Property="ToolTip" Value="This style is not applied when radpane is dragged. Why?" />
       </Style>
     </telerik:RadDocking.Resources>
      
     <telerik:RadSplitContainer />
   </telerik:RadDocking>


there's DockingExtensions.cs file with attached property called 'PaneSource'. This property generates RadPanes from it's value, see addRadPane method it that file.

When the RadPane is being generated, addRadPane method sets datacontext to radpane 
RadPane pane = ...

pane.DataContext = paneVM;


Works fine, until I make the pane floatable. Seems like the datacontext is not preserved when after radpane is moved to toolwindow.

My questions are:
1. How to extend DockingExtensions to support floating panes?
2. Why my style for ToolWindow isn't applied (see code above)
3. Can I disable floating functionality but allow user do reorder panes? setting CanFloat to false makes imposibble to drag&drop panes
Nathan
Top achievements
Rank 1
 answered on 19 Jul 2018
2 answers
72 views

I have a xamlDocument,that contains tables, in one table,i need to copy some rows and then add to the table!

But, when i use:

   TableRow newRow = copyRow.CreateDeepCopy() as TableRow;
        tableAndRow.Item1.Rows.AddAfter(row, newRow);

Tanya
Telerik team
 answered on 19 Jul 2018
2 answers
214 views
Hi! I have .resx file with localization strings for GridView filter. When I set FilteringMode in "FilterRow" mode, I see right values for True/False (column binded to boolean property), but when I use "Popup" mode - localization don't work. Is there another resourses I must localize? Example pictures attached.
Michael
Top achievements
Rank 1
 answered on 19 Jul 2018
1 answer
361 views

More in particular for selecting date of birth.

 

Is there an option available to show only years when opening the control.

After selecting a year we show the months and afterwards the days. After selecting the day, the final date of birth is filled in in the control.

This would avoid a lot of extra touch events for our users.

Could this work by switching the selection from year/mont/day between each selection. Can we avoid the popup from opening.closing every time?

Thank you for your support.

 

Dilyan Traykov
Telerik team
 answered on 19 Jul 2018
1 answer
431 views

Is is possible with GridViewComboBoxColumn to apply the selected value on combobox select.

Now I have the following combobox column and the selected value is set to the viewmodel when the cell lose focus:

<telerik:GridViewComboBoxColumn Header="header text" ItemsSourceBinding="{Binding Actions}" DataMemberBinding="{Binding Action, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                                             DisplayMemberPath="NameDisp" EditTriggers="CellClick"  />     
Stefan
Telerik team
 answered on 19 Jul 2018
1 answer
177 views

I'm trying to bind a RadPieChart to data the user has selected using the RadPivotFieldList.  I would like to know how to customise the labels and also how to use the legend with the PieSeries data.

Below is what I have so far, I maybe wildly off the mark with how I'm approaching this.  Any feedback would be welcome.

Thanks

<pivot:RadPivotFieldList x:Name="FieldList"  DataProvider="{Binding DataProvider}"/>
 
<telerik:RadPieChart x:Name="pieChart" Grid.Column="1" Palette="Windows8" DataContext="{Binding ChartViewModel}">
 
    <telerik:PieSeries ValueBinding="Value" ItemsSource="{Binding SeriesSource[0].Items}" ShowLabels="True" >
    </telerik:PieSeries>
</telerik:RadPieChart>

 

In the viewmodel

public LocalDataSourceProvider DataProvider
{
    get => _dataProvider;
    set
    {
        _dataProvider = value;
        OnPropertyChanged(() => DataProvider);
    }
}
 
public PivotChartViewModel ChartViewModel { get; set; }

 

I'm setting the DataProvider of the ChartViewModel like this.

ChartViewModel.DataProvider = DataProvider

 

Stefan
Telerik team
 answered on 19 Jul 2018
7 answers
253 views

Hi. I am working on an application where I need to modify the GroupHeaderRow template. We are using version 2015.1.225.45 of Telerik UI for WPF, but everything is in DLLs. How should I proceed to get this template?.

Regards,

Sebastian

Martin Ivanov
Telerik team
 answered on 19 Jul 2018
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?