Telerik Forums
UI for WPF Forum
0 answers
137 views

Hi.

In attachment I load a file dotx saved as rtf (EmptyTemplate.zip) and the same dotx formatted as rtf by a call to Telerik.Windows.Documents.FormatProviders.Rtf.RtfFormatProvider.Export (12dccb97-adc1-4a10-958a-827d221257a7.zip).
There are some fields that works perfectly until I save the template.
After save the template one field (only one field) stop to works.
The two attachments are quite different, but it is because the first is saved by word and the second is saved by Telerik. The problem can be viewed at keyword SORGENTE_4_Leq: I compared it with the near keyword SORGENTE_4_Min that works on:

 

{\ltrch\f1\fs22\i0\b0\strike0\cf0\ulc0\ulnone\par}\pard\sl259\slmult1\ql\sa160\ltrpar{\field{\*\fldinst{\ltrch\f0\fs22\i0\b0\strike0\cf0\ulc0\ulnone KEYWORDS }{\ltrch\f0\fs22\i0\b0\strike0\cf0\ulc0\ulnone [SORGENTE_4_Leq]}}{\fldrslt{\ltrch\f1\fs22\i0\b0\strike0\cf0\ulc0\ulnone \{[SORGENTE_4_Leq]}}}
{\ltrch\f1\fs22\i0\b0\strike0\cf0\ulc0\ulnone\par}\pard\sl259\slmult1\ql\sa160\ltrpar{\field{\*\fldinst{\ltrch\f0\fs22\i0\b0\strike0\cf0\ulc0\ulnone KEYWORDS \{                                             [SORGENTE_4_Min]}}{\fldrslt{\ltrch\f1\fs22\i0\b0\strike0\cf0\ulc0\ulnone \{[SORGENTE_4_Min]}}}
The two fields are not identically formatted, the first have \{ replaced by {\ltrch\f0\fs22\i0\b0\strike0\cf0\ulc0\ulnone.
In the rtf saved by word we could see that the two fields are identically formatted then the strange effect seems to comes from the Telerik.Windows.Documents.FormatProviders.Rtf.RtfFormatProvider.Export call.

Thank you
Luigi

  

Luigi
Top achievements
Rank 3
Bronze
Iron
Iron
 asked on 18 Jul 2023
1 answer
121 views

Hi,

I am trying to implement a RadCartesianChart3D, but am missing the SeriesProvider Property to be able to bind view models and dynamically create series.. The Telerik package reference is Telerik.UI.for.WPF.NetCore.Xaml (2021.2.615). Was this property not implemented at that time? If so, how do I overcome this?

Example of what Id like to implement:


<telerik:RadCartesianChart3D x:Name="chart">        
        <!--...-->
        <telerik:RadCartesianChart3D.SeriesProvider>
            <telerik:ChartSeriesProvider3D Source="{Binding SeriesData}">
                <telerik:XyzSeries3DDescriptor XValuePath="Year" YValuePath="Industry" ZValuePath="Revenue" ItemsSourcePath="Data">
                    <telerik:XyzSeries3DDescriptor.Style>
                        <Style TargetType="telerik:BarSeries3D" BasedOn="{StaticResource BarSeries3DStyle}" />
                    </telerik:XyzSeries3DDescriptor.Style>
                </telerik:XyzSeries3DDescriptor>
            </telerik:ChartSeriesProvider3D>
        </telerik:RadCartesianChart3D.SeriesProvider>
    </telerik:RadCartesianChart3D>

 

Edit: This feature seems to have been implemented in WPF R2 2022 and I do not have the option to upgrade the Telerik package. Is there a workaround for this?

 

Thanks in advance,

Chris

Chris
Top achievements
Rank 1
Iron
 updated question on 17 Jul 2023
0 answers
142 views
i have three xaml pages for my wpf panel. One is the main page which in the xaml has a <content x:Name=“page2”> defined and the page 2 is where my button is. This button has a mouse down event when pressed should show page 3. However i cant achieve that now with my implementation. How can i be able to do that? I am using xaml and code behind not mvvm
Yohannes
Top achievements
Rank 1
 asked on 14 Jul 2023
1 answer
268 views
  • I just downloaded the most recent trial
  • I installed the nuget package
  • I pasted the xaml from "PdfViewer FirstLook Demo" in the SDK Sample Repo
  • Everything is working fine in term of functionality at design and runtime
  • *Except the theming is AWFUL looking (though in your Telerik Demo App Win11 looks really great and that's what I need)

 

Also, can't install the SDK Sample Browser (it says I need sharepoint, which I installed and it still says I don't can't install it.. anyways it looks like old stuff why not use a recent installer?).

Honestly, I tried a month ago Devexpress, and I found their product WAY MORE easier to use; the theming mechanism is super intuitive (ThemeManager.ThemeName="Win11Light" that's it, just out of the box). Unless I'm missing something with Telerik?

I hope you can help me so I can eventually enjoy Telerik which looks nice in the Demo (But I wasted A LOT of time trying to resolve these 2 issues (theme and installing the SDK Browser)

Thank you.

Martin Ivanov
Telerik team
 answered on 14 Jul 2023
1 answer
113 views

Hi,

I have the RadPanelBar in figure:

I would like to draw a border around all the items inside a RadPanelBarItem. If I set border in RadPanelBarItem I get the effect as in figure: only the header is bordered while the inside items are not.
My purpose id to hilight the item not the header, is there any way to achieve this?

Thank you

Luigi

Dinko
Telerik team
 answered on 14 Jul 2023
1 answer
114 views
Hi Telerik,

How to implement the nested column groups in WPF c#. My headers ,sub headers and data will be dynamic. 
And my layout should look like below image. How to Implement this. Please help us! 
Martin Ivanov
Telerik team
 answered on 13 Jul 2023
1 answer
97 views

Hello,

During project implementation a wrong link connection was found.

Precondition:

When we have two models of ContainerNodeViewModelBase OuterModel and InnerModel.

InnerModel has set to true "RadDiagramShapeBase.UseGlidingConnector".

Steps to reproduce:

1. Put InnerModel inside OuterModel.

2. Connect the top middle connector to middle connector of InnerModel

3. When you move InnerModel in upper part of OuterModel the link is connected to bottom of InnerModel instead of to top.

To make reproduce easier i attach video, and i modified your sample application (PasteOnMousePosition) to reproduce this issue.

I attached both things.

Video desc:
1st use case with no gliding connector -- looks ok

2nd use-case movement outside of container and the link looks ok, but the link connection inside looks bad.

Currently this link is just a line, but when it would be an arrow then its looks even worse.

Bartosz
Top achievements
Rank 1
Iron
 answered on 13 Jul 2023
1 answer
148 views

Hi


I use the RadDateTimePicker and have a button ("Next"):

When now the user changes the date/time value to an invalid date/time an error is shown:

When the user clicks on the "Next" button the DateTimeText disapears and is empty and an error is schown:

My Question:
Is it possible to set the DateTimeText to the previous wrong formatted date/time (120000000000.07.23 08:49) like this ? 

I have tried to overload the method  OnParseDateTime and set the CurrentDateTimeText but it's not working.

Dinko
Telerik team
 answered on 13 Jul 2023
1 answer
137 views

Hello,

Where can I download this demo source code? Is it available?

Thank you,

Alberto

Dinko
Telerik team
 answered on 13 Jul 2023
0 answers
171 views

Hi, i'm having a rough fight with WPF and its Binding system. I just wanna bind a property of an instance called HPP, this property is pressure and this object exist in MainViewModel, so in MainWindow.xaml a have this:


<componentes:SetComponent x:Name="HPP_Trip_Route" Grid.Row="1" Grid.Column="1" VerticalAlignment="Top" Title="TRIP" VariableValue="{Binding HPPRoute.Pressure}" Unity="PSI" Loaded="SetComponent_Loaded" FSizeTitle="24" FSizeVariable="36" FSizeUnity="14"/>
In SetComponent:
<TextBlock x:Name="ValueSetComponent" Grid.Row="1" Text="{Binding VariableValue, RelativeSource={RelativeSource AncestorType=UserControl}}" FontSize="{Binding FSizeVariable}" HorizontalAlignment="Right" VerticalAlignment="Bottom" Foreground="#FFFFFF" Margin="0, 5, 0, 5 "/>
Dar clic y arrastrar para mover
In MainWindow.xaml.cs:

public partial class MainWindow : Window, INotifyPropertyChanged
    {
        private readonly Variables GV = Variables.GetInstancia();
        private MainViewModel _mainViewModel;
        public MainViewModel MainViewModel
        {
            get { return _mainViewModel; }
            set
            {
                _mainViewModel = value;
                OnPropertyChanged();
            }
        }

        public MainWindow()
        {
            InitializeComponent();
            GV.MainViewModel.StartAssign(GV);
            MainViewModel = GV.MainViewModel;
            GV.MainViewModel.MainWindow = this;
            DataContext = MainViewModel;
     
        }
        public event PropertyChangedEventHandler PropertyChanged;

        protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
        {
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
        }

I tried with RelativeSource without success. If i create a variable in MainViewModel it works. Any help?

Fenix
Top achievements
Rank 1
 asked on 12 Jul 2023
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
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
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
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?