Unplanned
Last Updated: 03 Jan 2020 12:29 by ADMIN

Backgroud

The behavior of split button makes me confused when I use split button collapsing the split panel. It locates in different position when I restore the split button by double-click. What's weirder is that double-click will make no effect when the split button located on the edge. I don't like these default behaviours.

Question

1. Do you know how to overwrite the default behaviour of split button?

2. Is there a virtual method or some event I can reimplement?

3. I want to collapse the right panel to the right side, and restore it to the initial location, and just these to behaviours. How can I do it?

Thanks!

Completed
Last Updated: 02 Jan 2020 12:54 by ADMIN
Release R1 2020

Hi,

 

I am working with the RadGridView in my c# winform application. I am using the custom font ("Font Awesome 5 Free Solid") for the RadGridView using the "CellFormatting" event to view the icons along with the text. Here i am able to see the proper icons with text but when i open the filter menu to filter out the rows, i am unable to see the icons (icons shown as the box) as in filterbox we don't have any custom font

I tried to working out the properties of the RadTreeNodeCollection but here we dont have any Custom font property for the same. 

i want to show the text as it is in the filterbox along with the text and the icon.

so can you suggest what i can do to view the icons in the filterbox?

Check the attachment for reference.

 

Completed
Last Updated: 02 Jan 2020 09:34 by ADMIN
Release R1 2020
Unplanned
Last Updated: 25 Dec 2019 10:40 by ADMIN
Created by: erwin
Comments: 3
Category: GridView
Type: Bug Report
0

Hi,

when I select the column chooser multiple times via context menu, the column chooser dialog scales multiple times.

Reproduced here with the Telerik sample application. 150 % dpi scaling.

Regards

Erwin

Completed
Last Updated: 25 Dec 2019 10:26 by ADMIN
Workaround:

            this.radChat1.ChatElement.InputTextBox.TextBoxItem.TextBoxControl.Multiline = true;
            this.radChat1.ChatElement.InputTextBox.ButtonsStack.Children.Remove(this.radChat1.ChatElement.ShowToolbarButtonElement);
            this.radChat1.ChatElement.InputTextBox.ButtonsStack.Children.Remove(this.radChat1.ChatElement.SendButtonElement);
            StackLayoutElement stack = new StackLayoutElement();
            stack.MinSize = new Size(0, 60);
            this.radChat1.ChatElement.InputTextBox.Parent.Children.Add(stack);
            this.radChat1.ChatElement.InputTextBox.Parent.Children.Remove(this.radChat1.ChatElement.InputTextBox);
            stack.StretchHorizontally = true;
            stack.Orientation = Orientation.Horizontal;
            stack.Children.Add(this.radChat1.ChatElement.InputTextBox);
            stack.Children.Add(this.radChat1.ChatElement.ShowToolbarButtonElement);
            stack.Children.Add(this.radChat1.ChatElement.SendButtonElement);
            this.radChat1.ChatElement.ShowToolbarButtonElement.StretchHorizontally = false;
            this.radChat1.ChatElement.SendButtonElement.StretchHorizontally = false;
Unplanned
Last Updated: 24 Dec 2019 08:53 by ADMIN

Use case: when RadPopupEditor is opened, the focus is sent to the popup control which handles all the pressed keys. It would be added public API which provides the possibility to plug into this keyboard handling and customize the behavior.

For example, when the popup is opened, pressing Escape, closes the popup. This functionality comes from the RadPopupContainerForm.OnKeyDown which behavior can't be overridden.

Currently, only the listener can be removed for a certain popup:

    Private Sub RadPopupEditor_PopupOpened(sender As Object, e As EventArgs)       PopupManager.Default.RemovePopup(Me.RadPopupEditor1.PopupEditorElement.PopupContainerForm)
    End Sub

Unplanned
Last Updated: 24 Dec 2019 08:39 by ADMIN

I'm just starting with RadGridView and trying to figure out how to create a combobox column inside my RadGridView.  I've added a column that is of type GridViewComboBoxColumn.  I've created a BindingSource that Contains the values for the combobox.  I can't figure out how to set the datasource property of the Column to use that BindingSource.  Google search says to set the datasource property but when I'm going through the "Open Properties Builder"  and I select my combobox column I don't see that property listed under advanced for the column.

Thanks

Lee

Unplanned
Last Updated: 19 Dec 2019 14:11 by ADMIN

hello, a few days ago in support ticket they gave me this as a solution to move to the last message of the RadChat, but it does not work, if I upload the item and then add a message it does not point me to the last one but the scroll remains in The position I leave, what I need is to know what event or how to make your RadChat the last element.

radChatSoporte.ChatElement.MessagesViewElement.Scroller.ScrollToItem(radChatSoporte.ChatElement.MessagesViewElement.Items.Last())

Declined
Last Updated: 18 Dec 2019 12:46 by ADMIN
Created by: Smisha
Comments: 1
Category: UI for WinForms
Type: Bug Report
0

https://feedback.telerik.com/winforms/1372559-add-radautocompletebox-mode-disabling-the-selection-of-already-selected-items?_ga=2.157346746.1205807184.1576647468-1851167977.1571202604

I have tried this code. It removes the item from list if we enter a letter first, then key down. But if we select an item then just press key down same item will be shown in the list.

 

Completed
Last Updated: 17 Dec 2019 15:36 by ADMIN
Release R1 2020

Hello,

 

when drag and dropping documents in Dock layout, after some operations application crashes. Crash can be reproduce even in Dock sample from Telerik (Visual Studio Demo). Drag and drop documents into middle area, let them create more pages in one tab and then drag and drop pages to change their order. After several order changes application crashes to windows.

 

 

Unplanned
Last Updated: 17 Dec 2019 14:54 by ADMIN
Please refer to the attached screenshot for a better illustration.
Unplanned
Last Updated: 13 Dec 2019 13:16 by ADMIN

Currently, when you paste a text inside the input box of RadChat, the text is inserted in the text box as preview and you can either commit the message by pressing Enter or delete the text completely. However, if you have an image object in the clipboard and paste it to the input box, a ChatMediaMessage is directly inserted in RadChat without any preview. 

This is a feature request for illustrating a preview image above the input box like most popular chat applications like Skype.

Unplanned
Last Updated: 12 Dec 2019 13:50 by ADMIN
RadRichTextEditor renders the text with a little bigger characters spacing than RadRichTextBox and MS Word.
Completed
Last Updated: 06 Dec 2019 14:37 by ADMIN
Release R1 2020 (LIB 2019.3.1209)
To reproduce:

Add a RadLabel with text, set its background to red, its border to Yellow and start the project. You will notice that there is one pixel outside the border.

Workaround:

Set the Borderthickness of the LabelElement to 0: 

label2.LabelElement.BorderThickness = new Padding(0);
Completed
Last Updated: 06 Dec 2019 14:37 by ADMIN
Release R1 2020 (LIB 2019.3.1209)
Code to reproduce:
this.radLabel1.BackColor = Color.Yellow;
this.radLabel1.BorderVisible = true;
this.radLabel1.LabelElement.LabelBorder.ForeColor = Color.Red;

WORKAROUND:
this.radLabel1.LabelElement.LabelBorder.FitToSizeMode = RadFitToSizeMode.FitToParentBounds;
Completed
Last Updated: 06 Dec 2019 14:36 by ADMIN
Release R1 2020 (LIB 2019.3.1209)

RadMaskedEditBox - (2019.3.903.40) - Text property not respecting numeric mask formatting on Up, Down keys

To repeat the bug create the RadMaskedEditBox and set the next properties:

this.radMaskedEditBox1.Mask = "N0";
this.radMaskedEditBox1.MaskType = MaskType.Numeric;

Enter the 111 in the editor. With the up/down keys set all of the values to 0.

Expected value is 0, got 000.

Completed
Last Updated: 06 Dec 2019 14:36 by ADMIN
Release R1 2020 (LIB 2019.3.1209)

By using the following code snippet, RadPopupEditor needs to indicate focus similar to RadDropDownList with the same properties applied:


            this.radPopupEditor1.DropDownStyle = RadDropDownStyle.DropDownList;
            this.radPopupEditor1.TabStop = true;
            this.radPopupEditor1.AllowShowFocusCues = true;

Completed
Last Updated: 06 Dec 2019 14:27 by ADMIN
Release R1 2020 (LIB 2019.3.1209)
Created by: Bert
Comments: 5
Category: Scheduler/Reminder
Type: Bug Report
0

Please run the attached sample project and follow the steps illustrated in the gif file. Not always the selected appointment is dragged.

Workaround:

        public class CustomSchedulerInputBheavior : SchedulerInputBehavior
        {
            public CustomSchedulerInputBheavior(RadScheduler scheduler) : base(scheduler)
            {
            }

            Point mouseDownPosition = Point.Empty;
            public override bool HandleMouseDown(MouseEventArgs args)
            {
                mouseDownPosition = args.Location;
                return base.HandleMouseDown(args);
            }
            public override bool HandleMouseMove(MouseEventArgs args)
            {
                SchedulerCellElement cell = this.Scheduler.ElementTree.GetElementAtPoint(args.Location) as SchedulerCellElement;

                AppointmentElement appointment = this.Scheduler.ElementTree.GetElementAtPoint(args.Location) as AppointmentElement;
                if (appointment == null)
                {
                    appointment = this.Scheduler.ElementTree.GetElementAtPoint(this.mouseDownPosition) as AppointmentElement;
                }

                if (this.Scheduler.Behavior.ItemCapture != null && (this.Scheduler.Behavior.ItemCapture.Parent is RadScrollBarElement ||
                    this.Scheduler.Behavior.ItemCapture is RadScrollBarElement))
                {
                    return false;
                }

                if (this.Scheduler.Capture && args.Button == MouseButtons.Left)
                {
                     appointment = this.Scheduler.ElementTree.GetElementAtPoint(this.mouseDownPosition) as AppointmentElement;

                    FieldInfo fi = typeof(SchedulerInputBehavior).GetField("selecting", BindingFlags.Instance| BindingFlags.NonPublic);
                    bool selecting = (bool)fi.GetValue(this);
                    if (selecting)
                    {
                        if (cell != null && cell.AllowSelection && args.Button == MouseButtons.Left)
                        {
                            this.SelectCell(cell, true);
                        }
                    }
                    else if (this.Scheduler.SchedulerElement.ResizeBehavior.IsResizing)
                    {
                        this.Scheduler.SchedulerElement.ResizeBehavior.Resize(args.Location);
                    }
                    else if (appointment != null && IsRealDrag(args.Location))
                    {
                        this.Scheduler.Capture = false;
                        this.Scheduler.DragDropBehavior.BeginDrag((SchedulerVisualElement)appointment.Parent, appointment);
                        return true;
                    }
                }
                else
                {
                    if (appointment != null)
                    {
                        this.Scheduler.SchedulerElement.ResizeBehavior.RequestResize(appointment, (SchedulerVisualElement)appointment.Parent, false);
                    }
                    else
                    {
                        this.Scheduler.Cursor = Cursors.Default;
                    }
                }

                return false;
            }
            private void SelectCell(SchedulerCellElement cell, bool extend)
            {
                this.Scheduler.SelectionBehavior.SelectCell(cell, extend);
            }
        }

this.radScheduler1.SchedulerInputBehavior = new CustomSchedulerInputBheavior(this.radScheduler1);

Completed
Last Updated: 06 Dec 2019 14:26 by ADMIN
Release R1 2020 (LIB 2019.3.1209)
Created by: Dominik
Comments: 2
Category: RibbonBar
Type: Feature Request
1
Currently, there is no way to replace the RibbonBarPopup.
Unplanned
Last Updated: 05 Dec 2019 13:43 by Desislava
ADMIN
Created by: Ivan Todorov
Comments: 3
Category: Panorama
Type: Feature Request
7
This will allow the users to scroll through the tiles in all rows when the available height is insufficient.

WORKAROUND:
 class CustomPanorama : RadPanorama
    {
        RadScrollBarElement vScroll;

        protected override void CreateChildItems(Telerik.WinControls.RadElement parent)
        {
            base.CreateChildItems(parent);

            this.vScroll = new RadScrollBarElement();
            this.vScroll.ScrollType = ScrollType.Vertical;
            this.vScroll.StretchHorizontally = false;
            this.vScroll.StretchVertically = true;
            this.vScroll.MinSize = new System.Drawing.Size(16, 0);
            this.vScroll.Alignment = System.Drawing.ContentAlignment.TopRight;

            this.PanoramaElement.Children.Add(vScroll);

            this.vScroll.ValueChanged += new EventHandler(vScroll_ValueChanged);
            this.PanoramaElement.GroupLayout.RadPropertyChanged += new Telerik.WinControls.RadPropertyChangedEventHandler(GroupLayout_RadPropertyChanged);
            this.PanoramaElement.TileLayout.RadPropertyChanged += new Telerik.WinControls.RadPropertyChangedEventHandler(GroupLayout_RadPropertyChanged);

            this.ScrollBarAlignment = HorizontalScrollAlignment.Bottom;
        }

        void GroupLayout_RadPropertyChanged(object sender, Telerik.WinControls.RadPropertyChangedEventArgs e)
        {
            if (e.Property == RadElement.BoundsProperty && sender == this.GetCurrentLayout())
            {
                UpdateVScroll();
            }
        }

        protected override void OnSizeChanged(EventArgs e)
        {
            base.OnSizeChanged(e);
            UpdateVScroll();
        }

        private void UpdateVScroll()
        {
            vScroll.Maximum = this.GetCurrentLayout().Size.Height;
            vScroll.LargeChange = Math.Max(0, (int)(this.Size.Height - this.PanoramaElement.ScrollBar.Size.Height));

            if (vScroll.LargeChange >= vScroll.Maximum)
            {
                vScroll.Visibility = ElementVisibility.Hidden;
            }
            else
            {
                vScroll.Visibility = ElementVisibility.Visible;
            }

            if (this.PanoramaElement.ScrollBar.Visibility == ElementVisibility.Visible)
            {
                vScroll.Margin = new System.Windows.Forms.Padding(0, 0, 0, this.PanoramaElement.ScrollBar.Size.Height);
            }
            else
            {
                vScroll.Margin = new System.Windows.Forms.Padding(0);
            }
        }

        void vScroll_ValueChanged(object sender, EventArgs e)
        {
            this.GetCurrentLayout().PositionOffset = new System.Drawing.SizeF(0, -this.vScroll.Value);
        }

        private LayoutPanel GetCurrentLayout()
        {
            if (this.ShowGroups)
            {
                return this.PanoramaElement.GroupLayout;
            }

            return this.PanoramaElement.TileLayout;
        }

        public override string ThemeClassName
        {
            get
            {
                return typeof(RadPanorama).FullName;
            }
            set
            {
                base.ThemeClassName = value;
            }
        }
    }