Telerik Forums
UI for WPF Forum
10 answers
278 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
63 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
560 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
79 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
233 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
382 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
449 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
182 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
276 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
1 answer
239 views

Hi Telerik,

my os :win10

VS:2015

telerik :WPF 2017 R1 SP1

when is use the OpenFileDialog control,and click the oepn button,it will throw 19 exceptions, System.IO.FileNotFoundException.

1. read c:\config.msi error.

2. read c:\Documents and Settings error.

......

and so on.

why?

It would be nice if you could help me here.
with kind regards

 

When I use the Openfiledialog control, when I click the Open button, I will cause 19 exceptions, System.IO.FileNotFoundException, the first c:\\config.msi error, the second, the c:\\Documents and settings error, and so on.

Martin Ivanov
Telerik team
 answered on 19 Jul 2018
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?