Telerik Forums
UI for WPF Forum
5 answers
170 views

Hello

I'm using the radgridview and would like to animate the opening and closing of the rowdetails. How do I make it similar to the animation of the expander (without specifying a height).

I'm using version 19.1.220 with the material theme.

 

Thanks

Martin Ivanov
Telerik team
 answered on 02 May 2019
7 answers
774 views
The error I'm havnig is that the RadViewer will not fit the container that it sits in.  This is going off the assumption that the ScaleMode="FitToPage" fits the parents containers width and height.  Currently the pdf is not fitting to the parent window or even if I set the width and height of the RadPdfViewer itself it still seems to try to display it with no scaling applied.  Attached is how it currently looks.

<Window x:Class="Views.Dialogs.TelerikPdfDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        WindowStartupLocation="CenterOwner"
        ShowInTaskbar="False"
        AllowsTransparency="False"
        ResizeMode="NoResize"
        WindowStyle="None"
        mc:Ignorable="d"
        Title="TelerikPdfDialog" MaxWidth="800" MaxHeight="1000">
    



        <Window.Resources>

            <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="../../Resources/Styles.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
        </Window.Resources>


        <Border BorderBrush="Black" BorderThickness="10">
            <Grid Background="{StaticResource gsiBackgroundBrush}" >
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="*"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>
                
                <Grid Grid.Row="0">
                    <Label HorizontalContentAlignment="Center" Margin="10" FontSize="38" Content="Hearing Test Results"/>
                </Grid>
            <ContentControl Grid.Row="1" x:Name="contentView" Height="350" Width="700" Background="Blue">

                <telerik:RadPdfViewer x:Name="pdfViewer"  ScaleMode="FitToPage" DocumentSource="{Binding PatientPdfPath}"/>

            </ContentControl>

            <Grid Grid.Row="2">
                <Grid VerticalAlignment="Bottom" Margin="0 10">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="2*" />
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>

                        <DockPanel Grid.Column="1"  >
                            <Button HorizontalAlignment="Left" Content="Print" Height="35" Width="85"/>
                            <Button Click="Click_Close"   HorizontalAlignment="Right" Content="Cancel" Height="35" Width="85" />
                        </DockPanel>

                    </Grid>
                </Grid>

            </Grid>
        </Border>

</Window>
Tanya
Telerik team
 answered on 02 May 2019
1 answer
452 views

It is causing a lot of issues for us that the row stays in edit mode if you click out from one cell into another. I would like to disable this but everything I have tried either doesn't work, or the cell flashes up into edit mode before the editor goes away.

 

For example, if I handle the CurrentCellChanged and either commit or cancel the edit, it just goes back into edit mode anyway. I can use BeginInvoke which kind of work but causes some other issues for me down the line.

Vladimir Stoyanov
Telerik team
 answered on 30 Apr 2019
4 answers
217 views

We have a Timeline that is being used to display different types of data, grouped by collector. We would like to somehow have icons on the left side of the Timeline to help identify the different data types, that would remain in place as the Timeline is scrolled horizontally, and would collapse and expand with the group, similar to the following mock up. Can such a thing be accomplished? We assume it would involve editing the TimelineItemGroupControl ControlTemplate, but we are unsure of how exactly this would be done.

Dinko | Tech Support Engineer
Telerik team
 answered on 30 Apr 2019
18 answers
1.9K+ views

I have a ReadTreeListView with two level of items. When a sub-level item is selected I can see no way to maintain that selection when the data source is updated (items added or removed). *See attached picture*. When the data source is updated I lose my selection. Using "EnableLostFocusSelectedState = false" helped with the top level items, but not the inner items.

Please advise.

Barry

Vladimir Stoyanov
Telerik team
 answered on 30 Apr 2019
4 answers
418 views

Hello,

I need to display categorical X axis at Y=0 point, like on the picture. If 0 is out of Y axis range, X axis should be displayed at the bottom as by default. There is a CategoricalAxis.VerticalLocation property but it has only Top and Bottom options.

I shifted the axis manually using TranslateTransform for the example. But I need XAML to be independent on data source.

                            <telerik:RadCartesianChart.HorizontalAxis>
                                <telerik:CategoricalAxis PlotMode="OnTicksPadded" LabelFitMode="MultiLine">
                                    <chartview:CategoricalAxis.RenderTransform>
                                        <TranslateTransform Y="-149"/>
                                    </chartview:CategoricalAxis.RenderTransform>
                                </telerik:CategoricalAxis>
                            </telerik:RadCartesianChart.HorizontalAxis>

Are there any ways how to do it?

Thanks,

Sergei

Vladimir Stoyanov
Telerik team
 answered on 30 Apr 2019
5 answers
361 views

Hi,

Cursor on Rad Diagram shapes is showing when we hover mouse exactly on shapes side. We would like to show cursor before some distance, exactly the same behavior like power point. 

I have attached the screen shot of cursor behavior of Rad Diagram shapes and power point.

 

Regards,

Sunil

Petar Mladenov
Telerik team
 answered on 30 Apr 2019
2 answers
375 views

Hi,

I need help with achieving buttons on listview for navigation listview item left right like example in the picture. Can anyone help please.

Himanshu
Top achievements
Rank 1
 answered on 29 Apr 2019
7 answers
172 views
Hi there

I'm looking for a way to automatically layout the content of a RadPanelBarItem. The content should use the whole available width. My approach was to try it the simple way:

<telerik:RadPanelBar> 
    <telerik:RadPanelBarItem> 
        <telerik:RadPanelBarItem.Header> 
            <TextBlock Text="XXX" FontSize="12" FontWeight="Bold" Margin="10"/> 
        </telerik:RadPanelBarItem.Header> 
        <Grid Background="Yellow" Width="Auto" Height="Auto"/> 
    </telerik:RadPanelBarItem> 
</telerik:RadPanelBar> 

but this seems not to work. is there a way to do this, or do I always have to set fixed width and height?

Greez Mike
Suzanne
Top achievements
Rank 1
 answered on 29 Apr 2019
0 answers
168 views

hello ,

Asp web api OdataController created against Microsoft.Aspnet.Odata v 7.1.0 which uses the new odata schema (Edmx not Edm) for the model 

and the Odata Client Code Generator template for c# creates the proxy class agains Microsoft.OData.Client v 7.5.1 

and the RadDataServiceDataSource is built against the Microsoft.OData.Client v 6.15.0 as stated in the docs

and if we use this version to load the edmx file we got error as it is expecting a different root element in the model file 

so is there a work around for this issue ? am i missing something ?

thank you so much 

Ahmed
Top achievements
Rank 1
 asked on 29 Apr 2019
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?