Telerik Forums
UI for WPF Forum
4 answers
258 views

Hi,

When a RadDocument is exported to docx file, page numbering doesn't work correctly. The total count and current page number is 1 on every page. When the same document is exported in pdf the numbering is fine... I'm using the code from you sample projects - CustomField class from CustomField_WPF used in TelerikEditorDemo_WPF project.

Tanya
Telerik team
 answered on 03 Aug 2018
5 answers
205 views

Is there any way to have a "DockedRight" RadPane expand into the application window, like the Solution Explorer of Visual Studio? Expanding outside the window seems an inconsistent user experience to me.

I've attached an image illustrating the problem - the RadPane expanding outside the window when docked right.

Dinko | Tech Support Engineer
Telerik team
 answered on 02 Aug 2018
5 answers
243 views

Hello

How can I change animation-duration of LayoutControlExpanderGroup?

I know, how I can activate the animation, but I don't know, how I can change the duration of the animation when the expander is expanded or collapsed.

I used the AnimationSelector, but this affects no changes to the duration.

 

      <Style TargetType="telerik:LayoutControlExpanderGroup">
         <Setter Property="telerik:AnimationManager.IsAnimationEnabled" Value="True">
         </Setter>
         <Setter Property="telerik:AnimationManager.AnimationSelector">
            <Setter.Value>
               <telerik:AnimationSelector>
                  <telerik:ExpanderExpandCollapseAnimation
                     AnimationName="Expand"
                     Direction="In"
                     TargetElementName="Content"
                     SpeedRatio="0.2" />
                  <telerik:ExpanderExpandCollapseAnimation
                     AnimationName="Collapse"
                     Direction="Out"
                     TargetElementName="Content"
                     SpeedRatio="0.2" />
               </telerik:AnimationSelector>
            </Setter.Value>
         </Setter>
      </Style>

 

Sincerly

Alex

Stefan
Telerik team
 answered on 02 Aug 2018
0 answers
122 views

Hi,

My application is being developed in WPF which has lot of data being shown on different screens, opens multiple windows parallelly each window showing different and considerable volume of data in it. It is a standalone application and have to install on each user machine and handle the updates of the application. In normal to most situations the screens will end up accumulating more memory and CPU after some screens opened and eventually turning up as slow responsive. I am thinking to convert the application into application virtualization/streaming without actually installing on each machine. That way the underlying memory and CPU problems doesn't hamper the performance of my application. Any suggestions on how we can implement/convert existing application as one to virtually launchable.

e.g: Microsoft App-V

Thanks,

Chand.

Chandra Sekhar
Top achievements
Rank 1
 asked on 01 Aug 2018
1 answer
79 views

If I open a view and then hit the X to collapse the view, there is a focused blurred area that won't go away.  I need the items to collapse rather then close because I keep them in memory.  So how can I fix this blurred box staying on the screen when setting a view to Collapsed?

 

The first pictures shows with View open.   The second picture is how it looks if the View is collapsed.  And here is the code I run to collapse it:

 

private void RadWindow_PreviewClosed(object sender, Telerik.Windows.Controls.WindowPreviewClosedEventArgs e)
        {

            Visibility = Visibility.Collapsed;
            e.Cancel = true;
        }

 

And this is how the MainWindow initializes the Fluent Theme and opens the windows when clicked:

 public partial class MainWindow : RadWindow
    {
        public MainWindow()
        {
            InitializeComponent();
            StyleManager.ApplicationTheme = new FluentTheme();
            FluentPalette.LoadPreset(FluentPalette.ColorVariation.Dark);
            FluentPalette.Palette.FontSizeS = 8;
            FluentPalette.Palette.FontSize = 12;
            FluentPalette.Palette.FontSizeL = 14;
            FluentPalette.Palette.FontSizeXL = 16;
        }
        
        private void View1Button_Click(object sender, RoutedEventArgs e)
        {
            EmptyDialog emptyDialog = new EmptyDialog();
            emptyDialog.Owner = this;
            emptyDialog.View = new View1ViewModel();
            emptyDialog.Height = 500;
            emptyDialog.Width = 500;
            emptyDialog.Show();
        }

        private void View2Button_Click(object sender, RoutedEventArgs e)
        {
            EmptyDialog emptyDialog = new EmptyDialog();
            emptyDialog.Owner = this;
            emptyDialog.View = new View2ViewModel();
            emptyDialog.Height = 500;
            emptyDialog.Width = 500;
            emptyDialog.Show();
        }
    }
}

 

 

Stefan
Telerik team
 answered on 01 Aug 2018
3 answers
458 views

I want to add the tooltip to the expander in the TreeListView.  The question is that I want the different tooltip when in expanded and collapsed status if I hover over the expander.

So I think that I have to apply the ControlTemplate triggers of the ToggleButton. Thanks for the code help.

Dinko | Tech Support Engineer
Telerik team
 answered on 01 Aug 2018
1 answer
334 views

Hello,

The RadMaskedNumericInput.ValueChanged event is only fired after a user-triggered action, whereas RadNumericUpDown.ValueChanged not (changing value from code behind triggers this event aswell).

Does this difference is a desired behavior? Is there a possibility to make RadNumericUpDown act like RadMaskedNumericInput?

Please see code sample below.

    public partial class MainView : Window
    {
        public MainView()
        {
            InitializeComponent();
            RadNumericUpDownTest.ValueChanged += RadNumericUpDownTestOnValueChanged;
            RadMaskedNumericInputTest.ValueChanged+=RadMaskedNumericInputTestOnValueChanged;
            UpdateButton.Click+=UpdateButtonOnClick;
        }

        private void UpdateButtonOnClick(object sender, RoutedEventArgs routedEventArgs)
        {
            RadNumericUpDownTest.Value = 1;
            RadMaskedNumericInputTest.Value = 1;
        }

        private void RadNumericUpDownTestOnValueChanged(object sender, RadRangeBaseValueChangedEventArgs radRangeBaseValueChangedEventArgs)
        {
            //This event is triggered after value is changed from code behind
        }


        private void RadMaskedNumericInputTestOnValueChanged(object sender, RadRoutedEventArgs radRoutedEventArgs)
        {
            //This event is not triggered after value is changed from code behind
        }
    }

Dinko | Tech Support Engineer
Telerik team
 answered on 01 Aug 2018
1 answer
169 views

I have a chart with multiple ScatterSplineAreaSeries and a ScatterPointSeries.  When I add a ChartTooltipBehavior to the chart, I see tooltips for the scatter points but not the area.

 

Is tooltip not supported for ScatterSplineAreaSeries?

Martin Ivanov
Telerik team
 answered on 01 Aug 2018
3 answers
1.0K+ views

I want to add a style to the emptytext of the radcombobox that works across the entire application. 

 From what I can see I have to use http://docs.telerik.com/devtools/wpf/controls/radcombobox/howto/create-a-watermark but if I use 

<DataTemplate x:Key="EmptyTemplate">
 <TextBlock FontWeight="Bold" FontFamily="Comic Sans" FontStyle="Italic" Text="Please select an agency" />
</DataTemplate>
 Then I cant specify the text in the control that uses it like

<telerik:RadComboBox Grid.Column="3"
                                 Grid.Row="3"
                                 SelectedItem="{Binding Path=CreateVetPcrTestSignup.SelectedVetPcrTestKit}"
                                 DisplayMemberPath="Name"
                                 IsEditable="False"
                                 EmptySelectionBoxTemplate="{StaticResource EmptyTemplate}"
                                  
                                 EmptyText="{x:Static localization:SignupTexts.PcrKitDefaultValue}"
                                 ItemsSource="{Binding Path=PcrTestKits}" />

 

I want {x:Static localization:SignupTexts.PcrKitDefaultValue} to be used here, but I of course get "Please select an agency", I tried removing the name from the template, but then its just empty. Is there a way to parse the empty text into the template or use a styling somehow that only affects the emptytext?

Dinko | Tech Support Engineer
Telerik team
 answered on 31 Jul 2018
1 answer
113 views

Does the RadReichTextBox support inserting images from the remote server specified directory, opening a window, displaying thumbnails, and selecting multiple pictures?

such as, I have a static resources server ,I want to open a file window with the specified directory(http://192.168.1.103:8089/surveypics/), ,when open it ,shows the thumbnails of pictures, and choose one or more pictures to insert into the RadRichTextBox

how to solve this?

Tanya
Telerik team
 answered on 31 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?