Declined
Last Updated: 15 Sep 2020 07:54 by ADMIN
ADMIN
Created by: Nikolai
Comments: 1
Category: OutlookBar
Type: Feature Request
11
Allow the user to manually set the position of the OutlookBarItem : ActiveArea, MinimizedArea or OverflowArea
Declined
Last Updated: 11 Sep 2020 06:05 by ADMIN

Hi guys,

we have a messaging service that broadcasts a couple of messages every 1-5 seconds.

When our client module receives those messages, we want to append them at the bottom of a grid (RadGridView).

After appending them, we also want to scroll to the very bottom of that grid, so that the newest and therefore bottommost items come into view.

 

Documentation and forums suggest we go the AttachedBahaviour and ScrollIntoViewAsync way.

 

Our behaviour looks like this:


    public class ScrollToNewItemBehavior : Behavior<RadGridView>
    { 
        public static bool GetIsEnabled(DependencyObject obj) => (bool)obj.GetValue(IsEnabledProperty);
        public static void SetIsEnabled(DependencyObject obj, bool value) => obj.SetValue(IsEnabledProperty, value);
        public static readonly DependencyProperty IsEnabledProperty = DependencyProperty.RegisterAttached("IsEnabled", typeof(bool), typeof(ScrollToNewItemBehavior), new PropertyMetadata(false, OnIsEnabledChanged));
        private static void OnIsEnabledChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            if (d is RadGridView gridView)
                gridView.Items.CollectionChanged += (s, args) =>
                {
                    if (args.Action == NotifyCollectionChangedAction.Add)
                    {
                        gridView.ScrollIntoViewAsync(args.NewItems[0], gridView.Columns[0], null);

                        // exchanging args.NewItems[0] for gridView.Items[gridView.Items.Count-1] yields same result
                        //gridView.ScrollIntoViewAsync(gridView.Items[gridView.Items.Count-1], gridView.Columns[0], null);
                    }
                };
        } 
    }


 

Our Message class:


    public class Message : ModelBase<Message>
    {
        public string Text { get; set; }
    }


Our Messages collection in the ViewModel:


        private RadObservableCollection<Message> _messages;
        public RadObservableCollection<Message> Messages
        {
            get => _messages;
            set
            {
                _messages = value;
                NotifyPropertyChanged(m => m.Messages);
            }
        }


The collection is updated (in the ViewModel) like this:


            Task.Run(async () =>
            {
                for (int i = 0; ; i++)
                {
                    await Task.Delay(1000);
                    Messages.Add(new Message { Text = $"{i} - sftrvwj,erhvtwejhrfvtjlwehftrwejh" });
                }
            });


 

The grid is defined like this:


    <telerik:RadGridView
        x:Name="gridView"
        ItemsSource="{Binding Messages, Mode=OneWay}"
        IsSynchronizedWithCurrentItem="False"
        IsPropertyChangedAggregationEnabled="True"
        AutoGenerateColumns="False" 
        SelectionMode="Single"
        CanUserFreezeColumns="False"
        EnableColumnVirtualization="True"
        EnableRowVirtualization="True"
        CanUserDeleteRows="False"
        CanUserInsertRows="False"
        behaviours:ScrollToNewItemBehavior.IsEnabled="True"
        CanUserGroupColumns="False"
        IsReadOnly="True"
        IsManipulationEnabled="False"
        CanUserReorderColumns="False"
        CanUserSearch="False"
        ShowGroupPanel="False">
        <telerik:RadGridView.Columns>
            <telerik:GridViewDataColumn
                DataMemberBinding="{Binding Text}"
                Header="Text"
                ShowDistinctFilters="False"
                IsSortable="False"/>
        </telerik:RadGridView.Columns>
    </telerik:RadGridView>


Nothing too fancy.

 

What we observe:


 

When a message is added, the view and the scroll indicator randomly jump to the top or the bottom of the grid and stay there until the next message is added.

We tried AddRange, Suspend-/ResumeNotifications, ObservableCollection instead of RadObservableCollection.

We disabled many grid features.

We tried .NetCore

,

we tried .net Framework

To no avail.

This seems to be a bug.

 

Do you know any workarounds or a completely different approach to achieve the desired behaviour?

 

 

Side note:

When we set GroupRenderingMode to Flat,

        GroupRenderMode="Flat"

the view stays at the bottom. The scroll indicator stays at the bottom as well, but once in a while jumps a little bit up, as if by one row, and down to the bottom again without the view changing.

At one time disabling filtering on all columns seemd to work... but later didn't.

 

 

Thanks in advance

Thorsten

Declined
Last Updated: 03 Aug 2020 11:23 by ADMIN
Navigating with the Tab key does not jump between different RadRibbonGroups even if they have their KeyboardNavigation.TabNavigation property set.
Declined
Last Updated: 30 Jul 2020 09:18 by ADMIN
Created by: Franz
Comments: 1
Category: ScheduleView
Type: Bug Report
1

I have discovered a bug that appears when a RadScheduleView is used with the ScheduleViewStyleSelector to style the appointments and the theme is changed.

Steps to reproduce:

  1. Setup a WPF project.
  2. Use implicit styles with a theme (e.g. Office_Black).
  3. Create a possibility to change the theme on runtime (e.g. to Fluent). (https://docs.telerik.com/devtools/wpf/styling-and-appearance/how-to/styling-apperance-themes-runtime)
  4. Create a dialog with a RadScheduleView that uses a custom ScheduleViewStyleSelector as AppointmentStyleSelector. (https://docs.telerik.com/devtools/wpf/controls/radscheduleview/styles-and-templates/appointment-style)
  5. Create at least one appointment.
  6. Start application.
  7. Change theme at runtime.

Result: The "old" appearance of the appointments stays after changing the theme.

Expected behavior: The appearance of the appointments changes according to the new theme.

 

I have attached a solution with the described behavior and an image of the outcome.

Declined
Last Updated: 09 Jul 2020 13:33 by ADMIN
The standard fonts listed at http://docs.telerik.com/devtools/wpf/controls/radpdfprocessing/concepts/fonts#standard-fonts cannot be embedded in a document. Using one of them prevents the document from complying with PDF/A standard.
This item is migrated to the Telerik Document Processing portal: 
http://feedback.telerik.com/Project/184/Feedback/Details/190042 
Please use the new item for commenting, voting and subscribing instead of this one.
Declined
Last Updated: 03 Jul 2020 07:30 by ADMIN
Created by: Olivier
Comments: 1
Category: UI for WPF
Type: Feature Request
2

Hello,

We want to integrate a web browser in a flyout pane in WPF to display html 5 pages. Moreover, we want to display some html contents in tooltips too.

The provided WebBrowser by WPF framework does not work well.

Consequently, the idea is to have a "htmlplaceholder" (as you provide in silverlight) which supports HTML 5 and could be based on chromium engine.

Thanks & regards,

 

Declined
Last Updated: 02 Jul 2020 15:20 by ADMIN

The RadDocking control is not registering position changes of the docking window when RadDocking is in a WPF UserControl embedded in a WinForms ElementHost:

This appears to only apply to the main window; if you (at runtime) move one of the example panes into a separate window, the compass on that window displays in the correct position when you undock the other pane:

 

I've attached a stripped down solution that reproduces the issue (originally noticed using 2018R2 when rewriting legacy VB WinForms in C# WPF user controls as part of a tech refresh; attached demo is using 2020R2 .NET 4.5 binaries).

Declined
Last Updated: 05 May 2020 12:28 by ADMIN
When creating Multiple citations in word (TestSave.docx) and then updating the fields in telerik (TestSave2.docx), it changes the field and removes the additional citations.
Declined
Last Updated: 13 Apr 2020 13:55 by ADMIN

I have no idea how to reproduce this, but every so often after a paste operation into a RadRichTextBox, the host thread becomes unresponsive to user input. The message pump is still running but the following unhandled exception gets thrown in a tight infinite loop. The only way to close the window is to right click on the taskbar button.

System.NullReferenceException
Message: Object reference not set to an instance of an object.
Call Stack:
    at Telerik.Windows.Documents.Layout.LayoutElement.SetParent(LayoutElement newParent)
    at Telerik.Windows.Documents.Layout.LayoutBox.EnsureParent()
    at Telerik.Windows.Documents.Layout.LayoutBox.get_Parent()
    at Telerik.Windows.Documents.Layout.FormattingSymbolLayoutBox.get_IsEndOfCell()
    at Telerik.Windows.Documents.Layout.FormattingSymbolLayoutBox.GetFormattingSymbolVisual()
    at Telerik.Windows.Documents.SpanBoxPositionHandler.get_Location()
    at Telerik.Windows.Documents.UI.DocumentWebLayoutPresenter.GetViewPointFromDocumentPosition(DocumentPosition position)
    at Telerik.Windows.Controls.RichTextBoxUI.PasteOptionsPopup.CalculateLocation()
    at Telerik.Windows.Controls.RichTextBoxUI.PasteOptionsPopup.OnOwnerLayoutUpdated(Object sender, EventArgs e)
    at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()
    at System.Windows.ContextLayoutManager.UpdateLayout()
    at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
    at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
    at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
    at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

 

Declined
Last Updated: 08 Apr 2020 06:57 by ADMIN
Created by: David
Comments: 3
Category: RichTextBox
Type: Feature Request
0

In localizing your demo code for a RichTextBox I noticed some size mode-related inconsistencies in icon placements in the various sorts of buttons:

In Size=large, generally the icon appears above the button text. In the split button the icon is centered over and partially obscures the text. Unacceptable!

In Size=medium, generally the icon appears to the left of the text. In the Split button it appears below the text. Either is fine but should be consistent.

Also, when Size=medium and icon beside text, in all buttons I would like to see more spacing between the icon and the text; there seems to be virtually none.

Declined
Last Updated: 08 Apr 2020 06:54 by ADMIN
Created by: wu
Comments: 2
Category: UI for WPF
Type: Bug Report
0

Testing in the RadColorEditor control:
   looking the attachments,Select the two numbers on the left(the file "Select.png"),
then enter a number through the keyboard,just modified the number on the far left(the file "Input1.png").
But sometimes the two numbers that are selected are replaced,like the file "Input2.png".
Obviously the second case input experience is better!
Continuous restarts cause one of the two.

Declined
Last Updated: 08 Apr 2020 06:53 by ADMIN
Created by: n/a
Comments: 1
Category: ChartView3D
Type: Feature Request
1
as I implement SurfaceSeries3D, as well as many, for layered forms, such as provider series
Declined
Last Updated: 02 Apr 2020 15:07 by ADMIN

This is the most logged exception in my application and it looks like it's coming from RadToolBar: Specified element is already the logical child of another element. Disconnect it first.

Stacktrace:

System.Windows.FrameworkElement.ChangeLogicalParent(DependencyObject newParent):50
System.Windows.FrameworkElement.AddLogicalChild(Object child):55
System.Windows.Controls.UIElementCollection.AddInternal(UIElement element):7
System.Windows.Controls.UIElementCollection.Add(UIElement element)
Telerik.Windows.Controls.RadToolBar.InsertInPanel(Panel panel, UIElement container, Int32 position):3
Telerik.Windows.Controls.RadToolBar.OnItemsCollectionChanged(Panel panel, NotifyCollectionChangedEventArgs e):136
Telerik.Windows.Controls.RadToolBar.OnOverflowItemsCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e):15
System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item):36
System.Collections.ObjectModel.Collection`1.Add(T item):32
System.Collections.ObjectModel.Collection`1.System.Collections.IList.Add(Object value):28
Telerik.Windows.Controls.RadToolBar.InsertOverflowItem(Object item, Int32 position):45
Telerik.Windows.Controls.RadToolBar.TryMoveStripItemToOverflow(Int32 index)
Telerik.Windows.Controls.RadToolBar.MeasureOverride(Size availableSize):70
System.Windows.FrameworkElement.MeasureCore(Size availableSize):568
System.Windows.UIElement.Measure(Size availableSize):401
System.Windows.Controls.Grid.MeasureOverride(Size constraint):67
System.Windows.FrameworkElement.MeasureCore(Size availableSize):568
System.Windows.UIElement.Measure(Size availableSize):401
System.Windows.Controls.Border.MeasureOverride(Size constraint):256
System.Windows.FrameworkElement.MeasureCore(Size availableSize):568
System.Windows.UIElement.Measure(Size availableSize):401
MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint):28
Declined
Last Updated: 20 Mar 2020 13:26 by ADMIN
Created by: Froggie
Comments: 3
Category: ImageEditor
Type: Feature Request
1

Please add a property to disable the zoom witch CTRL+MouseWheel. Maybe something like IsMouseWheelZoomEnabled with a defaut value of true.

There are already other properties like IsPanningEnabled or ZoomToCursor.

The currently known solution is:

private void imageEditor_PreviewMouseWheel(object sender, MouseWheelEventArgs e)
        {
            if (Keyboard.IsKeyDown(Key.LeftCtrl) || Keyboard.IsKeyDown(Key.RightCtrl))
            {
                e.Handled = true;
            }
        }

Declined
Last Updated: 18 Mar 2020 14:41 by ADMIN
Created by: Dawid
Comments: 3
Category: MaskedInput
Type: Feature Request
1

Add a property to force only allowing uppercase values, without needing to specify a number of characters or have the underline in the control.

 

This is achievable in code, but it seems unnecessary to go to such lengths for each instance where it is needed.

 

private void bankCode_ValueChanging(object sender, Telerik.Windows.Controls.MaskedInput.RadMaskedInputValueChangingEventArgs e)
        {
            if (e.NewValue == null)
                return;

            string newValue = e.NewValue.ToString();
            if (newValue.Length > 0)
            {
                newValue = newValue.ToUpper();
            }
            this.txtBankCode.ValueChanging -= this.bankCode_ValueChanging;
            this.txtBankCode.Value = newValue;
            this.txtBankCode.ValueChanging += this.bankCode_ValueChanging;
        }
Declined
Last Updated: 05 Mar 2020 21:25 by ADMIN
An error occurred while running the wizard.

Error executing custom action Telerik.Windows.WPF.VSX.Actions.UpdateReferencesAction: System.Runtime.InteropServices.COMException (0x80004005): This reference cannot be removed from the project because it is always referenced by the compiler.
   at VSLangProj.Reference.Remove()
   at Telerik.VSX.Internal.ProjectManagement.ApplicationProjectAssemblyReference.RemoveReference()
   at Telerik.VSX.ProjectConfigurators.ApplicationReferenceManager.RemoveReferences()
   at Telerik.VSX.ProjectConfigurators.ApplicationReferenceManager.UpdateReferences()
   at Telerik.VSX.Actions.UpdateReferencesAction.UpdateReferences(IProjectWrapUIComponents projectWrap)
   at Telerik.VSX.Actions.UpdateReferencesAction.Execute(WizardContext wizardContext, IPropertyDataDictionary arguments, IProjectWrap project)
   at Telerik.VSX.Actions.ProjectActionBase.Execute(WizardContext wizardContext, IPropertyDataDictionary arguments)
   at Telerik.VSX.WizardEngine.Actions.ActionBase.Telerik.WizardFramework.IAction.Execute(IWizardContext wizardContext, IPropertyDataDictionary arguments)
   at Telerik.VSX.WizardEngine.ActionManager.ExecActions()
Declined
Last Updated: 05 Mar 2020 21:17 by ADMIN
Created by: wu
Comments: 2
Category: UI for WPF
Type: Bug Report
0
look the attachment,when move the float window over the top Compass,and just there is a document tab under the Compass,
the place preview will flash.
Declined
Last Updated: 10 Feb 2020 13:19 by ADMIN

using GroupStyle ,and setting : ScrollViewer.CanContentScroll="False",when click the item,
within the group,the ScrollViewer auto scroll up and down,don't using VirtualizingPanel.
but the microsoft ListBox is OK!

 the code like the follwoing:
    <telerik:RadListBox Width="250" ItemsSource="{Binding Data.View}" SelectionMode="Single"
                            ItemTemplate="{StaticResource ListBoxTemplate}"
                            ScrollViewer.CanContentScroll="False">
                    <telerik:RadListBox.GroupStyle>
                    <GroupStyle>
                        <GroupStyle.ContainerStyle>
                            <Style TargetType="{x:Type GroupItem}">
                                <Setter Property="Template">
                                    <Setter.Value>
                                        <ControlTemplate TargetType="{x:Type GroupItem}">
                                            <Expander IsExpanded="True"
                                           ExpandDirection="Down">
                                                <Expander.Header>
                                                    <StackPanel Orientation="Horizontal">
                                                        <TextBlock Text="{Binding Path=Name}"
                                                        VerticalAlignment="Center" />
                                                        <TextBlock Text="{Binding Path=ItemCount, StringFormat=Count:{0}}"
                                                        VerticalAlignment="Center"
                                                        Margin="5,0,0,0" />
                                                    </StackPanel>
                                                </Expander.Header>
                                                <ItemsPresenter />
                                            </Expander>
                                        </ControlTemplate>
                                    </Setter.Value>
                                </Setter>
                            </Style>
                        </GroupStyle.ContainerStyle>
                    </GroupStyle>
                </telerik:RadListBox.GroupStyle>
            </telerik:RadListBox>

Declined
Last Updated: 10 Feb 2020 09:28 by ADMIN

The search box TextBox element used with the search-as-you-type feature is not focused when you press the Tab key. This happens because the search box is excluded from the tab order (IsTabStop=False).

Use the ChildrenOfType extension method to get the TextBox element and set its IsTabStop to True.

private void gridView_Loaded(object sender, RoutedEventArgs e)
{
	var searchBox = this.gridView.ChildrenOfType<TextBox>().FirstOrDefault(x => x.Name == "PART_SearchAsYouTypeTextBox");
	searchBox.IsTabStop = true;
}

Declined
Last Updated: 10 Feb 2020 09:21 by ADMIN
Created by: wu
Comments: 2
Category: UI for WPF
Type: Bug Report
0
In Diagram simplified Ribbon view,can't select ellipse,path tool,and so on ,
the same time:the pointer tool/Text tool/Shape tool can't select exclusive,don't draw using the selected tool.
1 2 3 4 5 6