Telerik Forums
UI for WPF Forum
0 answers
132 views

Hi

I use DragDropManager inside a RadGridView. When a user drags a row over another row I want to perform an action. I setup the DragOver event with:

DragDropManager.AddDragOverHandler(row, OnRowDragOver);

This works most of the time. However if a user moves the mouse in a fast movement over the row the event is not fired.

Is there some property (maybe updateTime or throtteTime) I can lower to ensure the event is always fired?

Daniel
Top achievements
Rank 1
 asked on 27 Apr 2023
1 answer
148 views

Hello.

I want to show in my pie chart only values not percentage.  How I can do this?

<telerik:RadPieChart
     x:Name="chart"
     Palette="Windows8"
     HoverMode="FadeOtherItems"
     HorizontalAlignment="Stretch"
     Foreground="{StaticResource KolorCzcionki1}"
     FontSize="{StaticResource HeaderFontSize}"                            
     VerticalAlignment="Stretch">
         <telerik:PieSeries ItemsSource="{Binding Raport, UpdateSourceTrigger=PropertyChanged}"
              ShowLabels="True"                                               
              ValueBinding="Ilosc"
              DisplayName="Name">
                  <telerik:PieSeries.LegendSettings>
                      <telerik:DataPointLegendSettings TitleBinding="Name"/>
                  </telerik:PieSeries.LegendSettings>
           </telerik:PieSeries>          
</telerik:RadPieChart>


Martin Ivanov
Telerik team
 answered on 27 Apr 2023
0 answers
114 views

Hi, I have a strange issue with your combo box.

I created a behavior that syncronize between the RadComboBox selected items to the ObservableCollection in thr view model.

I have two different xaml with one RadComboBox in each xaml and one ObservableCollection in each xaml (different collections).

The behavior was fully tested and works with WPF ListBox. When I use it with the RadComboBox I face a strange issue. Sometimes after data context is changed very fast (for example rows in GridView) the behavior stop synchronizing properly and some items are removed from the source collection.

Some inputs:

1. This is happening only with the RadComboBox

2. I tried your behavior from other forum question, but your behavior gets exception during update of the source collection (during the iteration of the target collection it says the it was changed).

I think that somehow you are changing the selected items collection of the RadGridView, so I am getting exceptions or executing additional collection changed events.

Questions:

1. Did you face something similar?

2. I couldn't reproduce in other application because my application is complex. Can you check your RadComboBox code and check if you are initializing the SelectedItems many times / updating the binding?

My window is always visible and the RadComboBox should not be initialized many times. I think that you initialize the SelectedItems collection many times in the CustomControl code.

 

 

alex
Top achievements
Rank 2
Bronze
Iron
Iron
 updated question on 27 Apr 2023
1 answer
438 views

Urgent and immediate assistance is requested to identify which of the .DLLs list below are impacted CVE vulnerability CVE-2021-28141, CVE-2020-13661, CVE-2020-11414, CVE-2019-19790, CVE-2019-18935, CVE-2018-15122, CVE-2017-11357, CVE-2017-11317, and CVE-2017-9248.

 

Telerik.Pivot.Core.dll,411048,5/17/2018,10:42:24 AM

Telerik.Pivot.DataProviders.Adomd.dll,45992,5/17/2018,10:42:32 AM

Telerik.Pivot.DataProviders.Queryable.dll,94632,5/17/2018,10:42:30 AM

Telerik.Pivot.DataProviders.Xmla.dll,65448,5/17/2018,10:42:32 AM

Telerik.Windows.Analytics.dll,14248,5/17/2018,10:46:26 AM

Telerik.Windows.Cloud.Controls.dll,45480,5/17/2018,10:42:36 AM

Telerik.Windows.Cloud.dll,11688,5/17/2018,10:42:34 AM

Telerik.Windows.Controls.Chart.Direct2D.dll,36776,5/17/2018,10:41:00 AM

Telerik.Windows.Controls.Chart.dll,1583016,5/17/2018,10:41:00 AM

Telerik.Windows.Controls.Data.dll,352168,5/17/2018,10:40:48 AM

Telerik.Windows.Controls.DataServices.dll,48040,5/17/2018,10:40:50 AM

Telerik.Windows.Controls.DataServices50.dll,48040,5/17/2018,10:46:28 AM

Telerik.Windows.Controls.DataServices60.dll,48040,5/17/2018,10:46:28 AM

Telerik.Windows.Controls.DataVisualization.dll,2282920,5/17/2018,10:41:12 AM

Telerik.Windows.Controls.Diagrams.dll,449448,5/17/2018,10:41:20 AM

Telerik.Windows.Controls.Diagrams.Extensions.dll,264104,5/17/2018,10:41:24 AM

Telerik.Windows.Controls.dll,3768744,5/17/2018,10:40:22 AM

Telerik.Windows.Controls.Docking.dll,242600,5/17/2018,10:40:54 AM

Telerik.Windows.Controls.EntityFramework.dll,24488,5/17/2018,10:40:52 AM

Telerik.Windows.Controls.EntityFramework60.dll,24488,5/17/2018,10:46:30 AM

Telerik.Windows.Controls.Expressions.dll,57768,5/17/2018,10:42:18 AM

Telerik.Windows.Controls.FixedDocumentViewers.dll,420776,5/17/2018,10:40:34 AM

Telerik.Windows.Controls.FixedDocumentViewersUI.dll,43944,5/17/2018,10:40:38 AM

Telerik.Windows.Controls.GanttView.dll,200104,5/17/2018,10:41:30 AM

Telerik.Windows.Controls.GridView.dll,1086888,5/17/2018,10:40:44 AM

Telerik.Windows.Controls.ImageEditor.dll,296872,5/17/2018,10:41:32 AM

Telerik.Windows.Controls.Input.dll,608168,5/17/2018,10:40:28 AM

Telerik.Windows.Controls.Navigation.dll,1156008,5/17/2018,10:40:32 AM

Telerik.Windows.Controls.Pivot.dll,197032,5/17/2018,10:42:24 AM

Telerik.Windows.Controls.PivotFieldList.dll,263080,5/17/2018,10:42:28 AM

Telerik.Windows.Controls.RibbonView.dll,458664,5/17/2018,10:41:16 AM

Telerik.Windows.Controls.RichTextBoxUI.dll,2193832,5/17/2018,10:41:56 AM

Telerik.Windows.Controls.ScheduleView.dll,617384,5/17/2018,10:41:28 AM

Telerik.Windows.Controls.Spreadsheet.dll,2603944,5/17/2018,10:42:16 AM

Telerik.Windows.Controls.VirtualGrid.dll,111528,5/17/2018,10:40:46 AM

Telerik.Windows.Data.dll,475048,5/17/2018,10:40:24 AM

Telerik.Windows.Diagrams.Core.dll,597928,5/17/2018,10:41:18 AM

Telerik.Windows.Documents.Core.dll,366504,5/17/2018,10:39:46 AM

Telerik.Windows.Documents.dll,2858920,5/17/2018,10:41:44 AM

Telerik.Windows.Documents.Fixed.dll,2465192,5/17/2018,10:39:52 AM

Telerik.Windows.Documents.Flow.dll,1805736,5/17/2018,10:39:58 AM

Telerik.Windows.Documents.Flow.FormatProviders.Pdf.dll,48552,5/17/2018,10:40:00 AM

Telerik.Windows.Documents.FormatProviders.Html.dll,305064,5/17/2018,10:41:46 AM

Telerik.Windows.Documents.FormatProviders.MsRichTextBoxXaml.dll,23976,5/17/2018,10:42:00 AM

Telerik.Windows.Documents.FormatProviders.OpenXml.dll,246184,5/17/2018,10:41:46 AM

Telerik.Windows.Documents.FormatProviders.Pdf.dll,1583528,5/17/2018,10:41:48 AM

Telerik.Windows.Documents.FormatProviders.Rtf.dll,250792,5/17/2018,10:42:00 AM

Telerik.Windows.Documents.FormatProviders.Xaml.dll,37800,5/17/2018,10:41:48 AM

Telerik.Windows.Documents.Proofing.DataGrid.dll,19368,5/17/2018,10:42:06 AM

Telerik.Windows.Documents.Proofing.Dictionaries.En-US.dll,3259304,5/17/2018,10:41:58 AM

Telerik.Windows.Documents.Proofing.dll,69544,5/17/2018,10:42:02 AM

Telerik.Windows.Documents.Proofing.RadGridView.dll,17832,5/17/2018,10:42:06 AM

Telerik.Windows.Documents.Spreadsheet.dll,1785768,5/17/2018,10:40:04 AM

Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.dll,345000,5/17/2018,10:40:06 AM

Telerik.Windows.Documents.Spreadsheet.FormatProviders.Pdf.dll,37800,5/17/2018,10:40:08 AM

Telerik.Windows.PersistenceFramework.dll,78248,5/17/2018,10:42:20 AM

Telerik.Windows.Scheduling.Core.dll,265128,5/17/2018,10:41:30 AM

Telerik.Windows.Themes.Expression_Dark.dll,2120104,5/17/2018,10:46:50 AM

Telerik.Windows.Themes.Green.dll,1830312,5/17/2018,10:46:58 AM

Telerik.Windows.Themes.Material.dll,2063272,5/17/2018,10:47:08 AM

Telerik.Windows.Themes.Office2013.dll,2015144,5/17/2018,10:47:18 AM

Telerik.Windows.Themes.Office2016.dll,2002344,5/17/2018,10:47:34 AM

Telerik.Windows.Themes.Office2016Touch.dll,1986472,5/17/2018,10:47:26 AM

Telerik.Windows.Themes.Office_Black.dll,2184616,5/17/2018,10:47:44 AM

Telerik.Windows.Themes.Office_Blue.dll,2186664,5/17/2018,10:47:54 AM

Telerik.Windows.Themes.Office_Silver.dll,2182568,5/17/2018,10:48:04 AM

Telerik.Windows.Themes.Summer.dll,2178472,5/17/2018,10:48:16 AM

Telerik.Windows.Themes.Transparent.dll,2186152,5/17/2018,10:48:26 AM

Telerik.Windows.Themes.Vista.dll,2180008,5/17/2018,10:48:38 AM

Telerik.Windows.Themes.VisualStudio2013.dll,2117032,5/17/2018,10:48:48 AM

Telerik.Windows.Themes.Windows7.dll,2219944,5/17/2018,10:48:58 AM

Telerik.Windows.Themes.Windows8.dll,1917352,5/17/2018,10:49:18 AM

Telerik.Windows.Themes.Windows8Touch.dll,1914280,5/17/2018,10:49:08 AM

Telerik.Windows.Zip.dll,150952,5/17/2018,10:39:42 AM

Telerik.Windows.Zip.Extensions.dll,17832,5/17/2018,10:39:42 AM

Telerik.Windows.Controls.resources.dll,391312,12/13/2022,12:11:52 PM

Telerik.Windows.Controls.resources.dll,403600,12/13/2022,12:11:56 PM

Telerik.Windows.Controls.resources.dll,365712,12/13/2022,12:12:14 PM

Telerik.Windows.Controls.resources.dll,376976,12/13/2022,12:12:16 PM

Telerik.Windows.Controls.resources.dll,394896,12/13/2022,12:12:18 PM

Telerik.Windows.Controls.resources.dll,378000,12/13/2022,12:12:20 PM

Telerik.Windows.Controls.resources.dll,405136,12/13/2022,12:12:22 PM

Telerik.Windows.Controls.resources.dll,399504,12/13/2022,12:12:26 PM

Telerik.Windows.Controls.resources.dll,386704,12/13/2022,12:12:28 PM

Telerik.Windows.Controls.resources.dll,403088,12/13/2022,12:12:32 PM

Telerik.Windows.Controls.resources.dll,385680,12/13/2022,12:12:34 PM

Telerik.Windows.Controls.resources.dll,486032,12/13/2022,12:12:36 PM

Telerik.Windows.Controls.resources.dll,386704,12/13/2022,12:12:40 PM

Telerik.Windows.Controls.resources.dll,397968,12/13/2022,12:12:42 PM

Telerik.Windows.Controls.resources.dll,373904,12/13/2022,12:12:44 PM

Telerik.Windows.Controls.resources.dll,374928,12/13/2022,12:12:48 PM

Telerik.bat,272,4/20/2023,5:34:27 PM

Telerik.txt,34,4/20/2023,5:34:27 PM
Martin Ivanov
Telerik team
 answered on 25 Apr 2023
9 answers
190 views
The Data Annotations topic states that the System.ComponentModel.DataAnnotations.DisplayAttribute attribute can be used to customise how filter fields are displayed. I have attempted to use this attribute in my own data objects but the AutoGenerateFilter and ShortName appear to be ignored by the RadDataFilter control. As it stands there doesn’t appear to be any way to control how the property names are displayed, which makes it hard to see how this control can actually be used in an application. Am I missing something?
Muhammed
Top achievements
Rank 1
Iron
 answered on 22 Apr 2023
1 answer
169 views



I have a RadComboBox  thats bind to an Enum list like so


<telerik:RadComboBox HorizontalAligment="Streatch"
                                        x:Nmae="RadComboBox"
                                         HorizontalAligmentContent="Left"
                                         Margin ="0 0 10 0"
                                         StayOpenOnEdit="True"
                                         AllowMultipleSelection= "True"
                                         ItemSource="{Binding SignalTypes}"
                                         behaviors:SelectedItemsBinding.SourceList = "{Binding SelectedSignalTypes}"
                                         BorderThickness ="1"
                                         VerticalContentAligment="Center"
                                         CanAutocompleteSelectItems="True"
                                         EmptyTexy =" Select Signal Type"
                                        TextSearchMode="Contains"
                                           >
    <telerik:RadComboBox.MultipleSelectionBoxTemplate>
         <DataTemplate>
             <TextBlock Text="{Binding ElementName=RadComboBox , Path=SelectionBoxItem, Converter={StaticResource EnumValueToDisplayTextConverter}"/>
         </DataTemplate>
     </telerik:RadComboBox.MultipleSelectionBoxTemplate>
</telerik:RadComboBox>

Where SourceList is MultiSelector and EnumValueToDisplayTextConverter is a IValueConverter which convert from Enum to its corresponding DescriptonAttribute
My Problem is that in the converter value I'm a getting a string list, separated by the separator (i.e item1, item2, etc.) 
and im excepting 1 item inside my convertor, therefore my converter failed and I don't see any items at all at SelectionBox
i tried to use ItemsControl inside the template but for some reason i was getting 1 letter(char) of the Enum each time

P.S
I know i can create a new convertor and solve the problem, but i prefer not to

P.S2
I cant change my convertor

Martin Ivanov
Telerik team
 answered on 20 Apr 2023
0 answers
253 views
We are using Rad Grid View to show timely data for test runs. but sometimes rad grid view is showing space between column headers and first row of data which is making view look different for end users
Vineela
Top achievements
Rank 1
 asked on 20 Apr 2023
8 answers
1.0K+ views
Hi,

I am trying to save and serialize settings for my RadGridView, without much luck. I want to preserve sorting, grouping, filtering, and row selection. I have tried versions 2011.2.712.35 (what we used previously) and 2012.2.725.35 (the latest), and haven't had much luck generally. 

What's the best way to do this? Can you supply an example?
Patrick
Top achievements
Rank 1
Iron
 updated answer on 19 Apr 2023
1 answer
98 views
I am attempting to get a reference to the RadCarouselPanel in my RadCarousel.  I need to know when it is animating.  But unless I wait for some sort of manual event (like a keyboard press)  the panel is null.

First I tried adding a handler for the Carousel's Loaded event 


<tk:RadCarousel x:Name="OtherScanGallery"

    ItemsSource="{Binding OtherScansView}"
    VerticalContentAlignment="Top"
    IsSynchronizedWithCurrentItem="True"
    IsVisibleChanged="OtherScanGallery_OnIsVisibleChanged"
    SelectionChanged="OtherScanGallery_OnSelectionChanged"
    Loaded="OtherScanGallery_OnLoaded"
    SelectedItem="{Binding ElementName=Root, Path=DataContext.SelectedOtherScan, Mode=TwoWay}"
    >

private void OtherScanGallery_OnLoaded(object sender, RoutedEventArgs e) {

RadCarouselPanel? panel = null;

if (sender is not RadCarousel car) Log.Debug($"Gallery loaded but no carousel"); elseif (null == (panel = car.FindCarouselPanel())) Log.Debug($"Gallery loaded but no panel"); else Log.Debug($"Gallery fully loaded"); }


Unfortunately the second check fails here.  FindCarouselPanel returns null.    I guess this makes some sense since the carousel is initially not visible when my page is loaded.    So I figured, maybe the carousel waits until it becomes visible to create it's panel

So then I tried to put in a handler for the carousel's IsVisibleChanged event.  I figure the carousel will have to have created the panel by then, right? 

private void OtherScanGallery_OnIsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e)
{
    var panel = OtherScanGallery.FindCarouselPanel();
    if (null == panel )
        Log.Error("No panel after visible changed.");
}


But no, wrong.  The Panel returned here is still null

However If i then set up an event handler for... say... a keyboard event later on, at that point FindCarouselPanel returns a valid panel.

So what are the rules here?  How do I determine definitively when the Carousel creates its panel?


Note:  I am using The Windows8Touch theme in the binaries with XAML and the StyleManager.  I have not created an sort of ControlTemplate for the carousel or its items.  I am using the theme-provided ones



Martin Ivanov
Telerik team
 answered on 19 Apr 2023
1 answer
113 views

Hi 

Current scenario I am trying to fix is we are wanting to make use of the minimization feature, but disable the double click toggling the minimization. Limiting the minimization toggle to only the Minimize button (or a custom context menu). 

I have tried using the PreviewMouseDoubleClick event which works at a first glance, however it ends up being that a triple click will now minimize. 
Other less successful attempts are disabling minimization and only enable it before the ribbon would be minimized or un minimized. This would mean more control over when the ribbon is minimized but would require more effort in getting all aspects of the minimization working. 

Any assistance would be appreciated. It doesnt feel like too complicated of a problem but struggling with it none the less 

Martin Ivanov
Telerik team
 answered on 18 Apr 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?