Telerik Forums
UI for WPF Forum
11 answers
409 views
Hello,

In the documentation it shows setting the VirtualizatonMode of the TreeViewPanel with an attached property:

<
telerik:RadTreeView x:Name="radTreeView" telerikTreeView:TreeViewPanel.IsVirtualizing="True" telerikTreeView:TreeViewPanel.VirtualizationMode="Hierarchical">

However VS is giving me the error that the attached property is read only.

Has this method changed, or am I maybe doing something else incorrectly?

Thanks,

Andrew


Dinko | Tech Support Engineer
Telerik team
 answered on 11 Dec 2019
3 answers
140 views

Hi,

I have install the trial release 2015.1 401 for testing.

I have create a spreadsheet with 130 sheet, but then save the Book1.xlsx from File->Save option i retrive an ok message with this error: System.OutOfMemoryException and the file it's not saved

With 20 sheets it's work OK.

My question is: Is there a limit of sheets?

Thanks

Aurelio

 

 

 

Dimitar
Telerik team
 answered on 11 Dec 2019
3 answers
230 views

Greetings,

we're using the RadDropDownButton in order to create menus. Our DropDownContent contains a menu with custom layout. However, customizing the drop down content itself doesn't seem possible.

 

DropDownContent has:

* A fixed background color (Light gray) and cannot be set to transparent

* A fixed DropDownShadow that is cut off when we try to shift position by using PopupPlacementTarget.

 

We would like to modify the DropDownShadow effect a bit to match the UI and add a shape, having an arrow pointing upward, outside the bounds of the DropDownContent.

If the background and DropDownShadow were removeable, we could just implement these features within the content itself. Is there a way to achieve this, currently?

Dilyan Traykov
Telerik team
 answered on 10 Dec 2019
2 answers
116 views

I have a problem trying to use another Telerik component (-> RadTimeBar) which leads to a not loading application with a lot of memory consumption. I am using NoXaml assemblies so I figured I have to add DataVisualization to the App.xaml ResourceDictionary in order to see the control (because it is "invisible" so far). As soon as I add Control.DataVisualization to the App.xaml ResourceDictionary the application is no longer starting properly. It tries to initialize the first visible "start page" called TuggersView.xaml which uses a Telerik RadGridView. However the View initialization call never returns and meanwhile the application uses above 4GB of RAM before I kill the process. Running in debug the application usually consumes around 400 to 500 MB when loaded completely.

 

Have you ever encountered this kind of behaviour?

 

App.xaml Ok:

<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/System.Windows.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.Chart.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.Data.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.Diagrams.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.GridView.xaml" /
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.Input.xaml" />

 

App.xaml issue:

<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/System.Windows.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.Chart.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.Data.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.DataVisualization.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.Diagrams.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.GridView.xaml" /
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.Input.xaml" />

Vladimir Stoyanov
Telerik team
 answered on 10 Dec 2019
3 answers
463 views

Hi, I just downloaded the latest UI for WPF (2019.3.1023) NuGet packages. Obviously the Wpf.NetCore packages have dependencies to SharpDX (>= 2.5.0) and SharpDX.Direct3D9 (>= 2.5.0). These are packages compiled for .NET Framework and NOT compatible with .NET Core 3.x 

Hey guys, do you test your packages before deployment? Can I use the controls in my project anyway, should I remove the SharpDX references?

Regards
Heiko

Heiko
Top achievements
Rank 1
Iron
Veteran
 answered on 09 Dec 2019
3 answers
252 views

Hi,

What is the best practice to have a combination of a full line to a dotted line.

I would like to use it in data of last x weeks to a forecast of y weeks. I would like to have a dotted line for the forecast and a full line for the last weeks.

Thanks in advance!

Martin Ivanov
Telerik team
 answered on 06 Dec 2019
1 answer
286 views

Hey together,

 

I have a MapControl in my application in which I have different MapLayers with different MapItemsControls.
To a few of them I want to add ContextMenues if someone rightclicks. For example to create a route from Pushpin A to B, to add it to some existing things etc.
To make the second option easy, I want to add a RadCombobox to the ContextMenue and populate it with the data of an ObservableCollection that is part of the DataContext of the RadWindow. 

The problem is, that the RadComboBox stays empty. If I add the RadComboBox directly without the ContextMenu it gets populated as it should.
Also if I put the ContextMenu directly into the MapLayer it populates, but I need the Source of the Pushpin as a Commandparameter later so I can trigger some things with the underlying element.

<map:MapLayer
    x:Name="MapLayerAufträge"
    >
    <map:MapItemsControl
        ItemsSource="{Binding AufträgeLocations}"
        >
        <map:MapItemsControl.ItemTemplate>
            <DataTemplate>
                <map:Pushpin
                    Location="{Binding Location}"
                    Visibility="{Binding Path=IsVisible, Converter={StaticResource VisibleIfTrueConverter}}"
                    ToolTip="{Binding Name}"
                    MouseLeftButtonDown="MontageAufträgePushpin_MouseDown"
                    >
                    <map:Pushpin.Background>
                        <SolidColorBrush
                            Color="{Binding MontageEinteilung, Converter={StaticResource AuftragMontageEingeteiltPinFarbeConverter}}"
                            Opacity="0.8"
                            />
                    </map:Pushpin.Background>
                    <telerik:RadContextMenu.ContextMenu>
                        <telerik:RadContextMenu
                            x:Name="rcmKarte"
                            >
                            <telerik:RadMenuItem Header="Tour starten"/>
                            <telerik:RadMenuItem
                                Header="Zu Tour hinzufügen"
                                >
                                <telerik:RadComboBox
                                    ItemsSource="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type telerik:RadWindow}}, Path=DataContext.Touren, Mode=OneWay}"
                                    SelectedValuePath="ID"
                                    >
                                    <telerik:RadComboBox.ItemTemplate>
                                        <DataTemplate>
                                            <Grid
                                Margin="0 3"
                                >
                                                <StackPanel
                                    Orientation="Horizontal"
                                    >
                                                    <TextBlock Text="{Binding Monteure}"/>
                                                    <TextBlock Text=" KW: " />
                                                    <TextBlock Text="{Binding KWsString}"/>
                                                    <TextBlock Text=" (" />
                                                    <TextBlock Text="{Binding DatumStart, StringFormat=d}" />
                                                    <TextBlock Text="-" />
                                                    <TextBlock Text="{Binding DatumEnde, StringFormat=d}" />
                                                    <TextBlock Text=")" />
                                                </StackPanel>
                                            </Grid>
                                        </DataTemplate>
                                    </telerik:RadComboBox.ItemTemplate>
                                </telerik:RadComboBox>
                                <Button
                    Content="Bestätigen"
                    Command="{Binding PutInTourCommand}"
                    />
                            </telerik:RadMenuItem>
                        </telerik:RadContextMenu>
                    </telerik:RadContextMenu.ContextMenu>
 
                </map:Pushpin>
            </DataTemplate>
        </map:MapItemsControl.ItemTemplate>
    </map:MapItemsControl>
    <map:MapItemsControl
        ItemsSource="{Binding SelectedAufträgeLocations}"
        >
        <map:MapItemsControl.ItemTemplate>
            <DataTemplate>
                <map:Pushpin
                    Location="{Binding LagerLocation.Location}"
                    ToolTip="{Binding Name}"
                    Template="{StaticResource LagerPushpinTemplate}"
                    PositionOrigin="0.45, 0.45"
                    >
                    <map:Pushpin.Background>
                        <SolidColorBrush
                            Color="#EF6C00"
                            />
                    </map:Pushpin.Background>
                </map:Pushpin>
            </DataTemplate>
        </map:MapItemsControl.ItemTemplate>
    </map:MapItemsControl>
    <map:MapItemsControl
        ItemsSource="{Binding SelectedAufträgeLocations}"
        >
        <map:MapItemsControl.ItemTemplate>
            <DataTemplate>
                <map:Pushpin
                    Location="{Binding Location}"
                    ToolTip="{Binding Name}"
                    >
                    <map:Pushpin.Background>
                        <SolidColorBrush
                            Color="#EF6C00"
                            Opacity="0.8"
                            />
                    </map:Pushpin.Background>
                </map:Pushpin>
            </DataTemplate>
        </map:MapItemsControl.ItemTemplate>
    </map:MapItemsControl>
</map:MapLayer>

 

Has anyone an idea how I can achieve this?

 

Greetings,

Benedikt

Vladimir Stoyanov
Telerik team
 answered on 06 Dec 2019
1 answer
429 views

     I have a rad Cartesian chart that updates live as data comes in, I have the render options set to Direct2D and seperate. I have tried bitmap/batch also and it seems to not make a difference. 

The problem is When the collection of data starts to reach around 20,000 datapoints the UI will completely freeze up although the code is still executing. 

I have a requirement to update live data up to 300,000 data points at a rate of 50HZ. Is this possible with your tools?

Martin Ivanov
Telerik team
 answered on 06 Dec 2019
1 answer
118 views

 WPF RadGrid copy multiple cell (non continuous ones like first and third). The second one is copied as empty. How to avoid this? Is there a property for setting this? The CellClipboardContent event is only fired twice though. 

 

Pradeep
Top achievements
Rank 1
 answered on 05 Dec 2019
1 answer
171 views

Hi,
I've a RadComboBox inside the RadGridView. When loading the tab very first time data inside the combobox is not displaying.

We have data in selectedvalue and in itemsource collection, but it is not displaying. Combobox is in editable mode.
<telerik:RadComboBox x:Name="ComboBox" Tag="{Binding SeqNo,UpdateSourceTrigger=PropertyChanged}" Style="{StaticResource TextSearchStyle}" 
           ItemsSource="{Binding DataContext.List, Mode=TwoWay, RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}}"
                SelectedValue="{Binding Code, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" SelectedValuePath="Code"  IsEditable="True" ItemTemplate="{StaticResource ComboBoxItem}" ItemContainerStyle="{StaticResource ComboBoxItemStyle}"
                CanKeyboardNavigationSelectItems="True" TextSearchMode="Contains" IsFilteringEnabled="True"  OpenDropDownOnFocus="False" GotFocus="ComboBox_GotFocus" LostFocus="ComboBox_LostFocus" DropDownClosed="ComboBox_DropDownClosed"  GotKeyboardFocus="ComboBox_GotKeyboardFocus"
                IsTextSearchEnabled="True" KeyDown="ComboBox_KeyDown" PreviewKeyDown="ComboBox_KeyUp" CanAutocompleteSelectItems="False" TabIndex="7" >
                                                    <telerik:RadComboBox.ToolTip>
                                                        <StackPanel Height="Auto" Width="Auto" MaxWidth="300" Background="#F2F2F2">
                                                            <TextBlock Text="{Binding ShortDescription}" Style="{StaticResource ToolTipCodesDescriptionTextBlock}"/>
                                                        </StackPanel>
                                                    </telerik:RadComboBox.ToolTip>
                                                    <i:Interaction.Triggers>
                                                        <i:EventTrigger EventName="GotFocus">
                                                            <i:InvokeCommandAction Command="{Binding DataContext.LoadPopUpCommand, RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}}" CommandParameter="{Binding DataContext, ElementName=ComboBox}" />
                                                        </i:EventTrigger>
                                                        <i:EventTrigger EventName="DropDownClosed">
                                                            <i:InvokeCommandAction Command="{Binding DataContext.CPTSelectionChanged, RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}}" 
                CommandParameter="{Binding DataContext, ElementName=CPTComboBox}"/>
                                                        </i:EventTrigger>
                                                        <i:EventTrigger EventName="LostFocus">
                                                            <i:InvokeCommandAction Command="{Binding DataContext.ComboLostFocusCommand, RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}}" CommandParameter="{Binding DataContext, ElementName=ComboBox}" />
                                                        </i:EventTrigger>
                                                    </i:Interaction.Triggers>
                                                </telerik:RadComboBox>
Regards,
Mahesh

Dinko | Tech Support Engineer
Telerik team
 answered on 05 Dec 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
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
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?