Approved
Last Updated: 09 Dec 2019 07:43 by Fabrice
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.
Approved
Last Updated: 05 Dec 2019 13:43 by Desislava
ADMIN
Created by: Ivan Todorov
Comments: 3
Category: Panorama
Type: Feature Request
6
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;
            }
        }
    }
Declined
Last Updated: 04 Dec 2019 14:58 by ADMIN
Created by: luai
Comments: 4
Category: UI for WinForms
Type: Feature Request
0

I am working on a Windows Forms Application that load and print PDF document then unload that document  and load new one, but when i call unloadDocument() no new document was loaded :

                   RadPdfViewer rViewer = new RadPdfViewer();
                    rViewer.DocumentLoaded += RViewer_DocumentLoaded;
                    rViewer.LoadDocument(Filepath);
                    rViewer.LoadElementTree();
                    Application.DoEvents();
                    rViewer.PdfViewerElement.StopWaiting();
                    if (rViewer.IsLoaded)
                    { rViewer.UnloadDocument(); }

after unloadde the document i cannot load new PDF doccument?

Approved
Last Updated: 04 Dec 2019 14:54 by ADMIN

I have integration radscheduler and radganttview.

Load data

Dim ds as new DataSource

Dim dvAppointments As New DataView

Dim appointmentMappingInfo As New AppointmentMappingInfo()
        Dim SchedSource As New SchedulerBindingDataSource()
        appointmentMappingInfo.Mappings.Add(New SchedulerMapping("Kontrahent", "pln_kntakronim"))
        appointmentMappingInfo.Start = "pln_start"
        appointmentMappingInfo.End = "pln_stop"
        appointmentMappingInfo.Location = "pln_nr"
        appointmentMappingInfo.ResourceId = "pln_zamgidnumer"
        appointmentMappingInfo.Description = "pln_opis"
        appointmentMappingInfo.Resources = ""
        appointmentMappingInfo.Location = "pln_nrzam"
        appointmentMappingInfo.Summary = "pln_twrkod"
        appointmentMappingInfo.StatusId = "pln_status"

        dvAppointments.Table = ds.Tables("PlanowanieTamborow")
        SchedSource.EventProvider.Mapping = appointmentMappingInfo

        bsPlanowanie.DataSource = dvAppointments  'BindingSource
        SchedSource.EventProvider.DataSource = bsPlanowanie
    
        RadScheduler1.DataSource = SchedSource

        RadGanttView1.DataProvider = New GanttViewIntegrationProvider(RadScheduler1)

refresh data

Dim reader As System.Data.SqlClient.SqlDataReader = comm.ExecuteReader

 ds.Tables("PlanowanieTamborow").Clear()
 ds.Tables("PlanowanieTamborow").Load(reader)
 ds.Tables("PlanowanieTamborow").AcceptChanges()

 ds.Tables("PlanowanieTamborow")

 

If I refresh the Radscheduler then RadGanttView doesn't refresh

Radscheduleris working properly

 

Approved
Last Updated: 04 Dec 2019 11:27 by ADMIN
Created by: Jim
Comments: 0
Category: Forms/Dialogs/Templates
Type: Bug Report
0

Set one of the monitors to use 125% DPI scaling. Start the attached project on a monitor with 100% DPI scaling - the form is expected to be with size 400,400. Move the form to the monitor with 125% DPI scaling. You are expecting the form's size to be 500,500, but it is 507,521. Please refer to the screenshots.

Workaround:

Override the RadForm.ScaleControl method as follows:

    Protected Overrides Sub ScaleControl(factor As SizeF, specified As BoundsSpecified)
        Dim initialSize As Size = Me.Size
        MyBase.ScaleControl(factor, specified)
        Me.Size = TelerikDpiHelper.ScaleSize(initialSize, factor)
    End Sub

Approved
Last Updated: 02 Dec 2019 06:38 by ADMIN
Created by: n/a
Comments: 1
Category: Spreadsheet
Type: Bug Report
0

The UI behaivor of drag selection shows inconsistent behavior between WinForm vs WPF/Excel.

When you drag some cells for selection and keep dragging to the right (getting the out scope), the control scrolls to the right.

This behavior is common in Winform/WPF/Excel.

When you drag backward (to the left), WPF controls scroll back and so is Excel, while Winform controls does not scroll

Same thing for top and bottom scroll. Winform Spreadsheet control does not scroll. It may scrolls only to the right.

Another Caveat I see meanwhile is that when you scroll backwards until the row area, the pointer become row-resize pointer, or so

If you keep mouse moving around, it sometimes makes a horizontal line (possibly a guide for row resize?)

The issue in this case is that, it does not remove itself. the horizontal line stays there. It is not very annoying (as it is thin horizontal line) but is still a bug.

 

To reproduce,

create a empty Winform app, with the RadSpreadsheet Control, and Run

Drag from row C3 and to the right (around the scrollbar) the control scrolls to the right (this is not quite smooth though..)

Scroll right to AZ3 say, and drag backward back to C3, this now does not scroll back.

Same for top and bottom.

Do the same for WPF, it now works as expected

Do the same for MS Excel, it now works as expected.

Completed
Last Updated: 28 Nov 2019 14:07 by ADMIN
Release R1 2020
Currently when grouping the summary row for each group is shown. The ShowTotals property defines if total summary rows will be shown. Need an option to define if the group summary row will be shown.
Completed
Last Updated: 28 Nov 2019 14:06 by ADMIN
Release R1 2020
Created by: Tim
Comments: 0
Category: Map
Type: Feature Request
0
Completed
Last Updated: 28 Nov 2019 14:05 by ADMIN
Release R1 2020
Created by: Tim
Comments: 0
Category: Map
Type: Feature Request
0

I have noticed in the routing there is no maxSolutions parameter available when querying the bing map api routing parameter.   

https://docs.microsoft.com/en-us/bingmaps/rest-services/routes/calculate-a-route 

Approved
Last Updated: 28 Nov 2019 06:41 by ADMIN
Created by: Rene
Comments: 1
Category: ColorDialog
Type: Bug Report
0

Hi Guys,

 

ColorDialog on higher dpi has some small problems.

1. Size of dialog is larger so there is large gap in right and bottom part.

2. Selected radio button black circle is not in center of larger circle.

 

Best regards

Rene

Approved
Last Updated: 27 Nov 2019 14:47 by ADMIN
Approved
Last Updated: 25 Nov 2019 13:17 by ADMIN
Created by: KrishTS
Comments: 3
Category: RichTextEditor
Type: Feature Request
0

Hi Team,

Greetings! 

We recently bought your Tool for one our Windows Forms Project work in VS2019 (4.7.2 framework). 

There is a need for us to have Emojis inside the editable Textbox / RichTextEditor in Color.

For example, if we paste Emojis inside the text editor, it should retain the color of the Emoji as it is. 

Currently if we paste the Emoji inside the text editor, its only pasting the Emoji but losing it's color. 

How to retain the color of the Emoji inside the editable Textbox / RichTextEditor ? Is there any property or so we need to set?

The users of our application can paste any kind of Emoji (like inbuilt Windows10 Operating System Emojis etc.,) and there is no limitation for this. 

Kindly advice.

 

with regards,

Krish TS,

Senior Technical Programmer Analyst,

DXC.technology,

India. 

Approved
Last Updated: 22 Nov 2019 13:15 by ADMIN
When saving Form Fields in document defined with linearized PDF structure, it produces a document that fails to open in Edge.
Approved
Last Updated: 21 Nov 2019 14:32 by ADMIN

If you want to use Conditional Formatting via code (expression based formatting) you will see that it throws an exception if you set TRIM() condition.

ExpressionFormattingObject expressionCondition = new ExpressionFormattingObject(
expressionCondition.Expression = "TRIM(ContactName) = 'Maria Anders'";
expressionCondition.CellBackColor = Color.Aqua;
this.radGridView1.Columns["CustomerID"].ConditionalFormattingObjectList.Add(expressionCondition);

There is no exception if you use the same condition via "Conditional Formatting Rules Manager" form.

1 2 3 4 5 6