Declined
Last Updated: 16 Aug 2019 15:22 by ADMIN
Created by: Stephen
Comments: 5
Category: RichTextEditor
Type: Feature Request
0

Dear Sir/Madam,

 

I have a docx document and want to display it in flow layoutmode. It works normally except it cannot show header at the beginning of the document and footer at the end of the document. Please help.

My code is similar as follows (Rte is the RadRichTextEditor control):

 

DocumentFormatProviderBase provider = new DocxFormatProvider();

Rte.SuspendLayout();

Rte.Document = provider.Import([Docx in byte array]);

Rte.RichTextBoxElement.BackColor = Color.White;

Telerik.WinControls.RichTextEditor.UI.DocumentWebLayoutPresenter presenter = (Telerik.WinControls.RichTextEditor.UI.DocumentWebLayoutPresenter)rte.RichTextBoxElement.ActiveEditorPresenter;

presenter.BackColor = Color.White;

presenter.Margin = new Padding(20);

Rte.ResumeLayout();

Rte.PerformLayout(); 

Declined
Last Updated: 07 Jun 2019 11:48 by ADMIN
Created by: Hemesh
Comments: 1
Category: UI for WinForms
Type: Bug Report
0

Hello,

I have already used your ItemFormatting event in my code and implemented it the same way you have provided.

In my code, i have created 7-8 messages and fixed the first msg's timestamp to "6/6/2019 11:53:08 AM" and the remaining messages with timestamp of 2 minutes more than this time. Whenever the event is triggered i wrote a code which compares the timestamp of my message with this timestamp "6/6/2019 11:53:08 AM". Conditionally only the first message falls in this condition and i paint it red, which works well for first time (On load) and then when i scroll my chat, the event unnecessarily paints the remaining msgs too, which should not happen.

I am attaching my .cs file with designer please refer to it, and resolve this asap. Looking forward to your response.

Thanks.

Declined
Last Updated: 24 Apr 2019 07:56 by ADMIN
Created by: JeffSM
Comments: 1
Category: UI for WinForms
Type: Feature Request
0

Dear,

 

I'd like suggest a theme based on CrystalDark with all lines removed, totally flat.

 

Best,

 

Jeff

Declined
Last Updated: 24 Apr 2019 10:02 by ADMIN
Created by: JeffSM
Comments: 1
Category: UI for WinForms
Type: Feature Request
0

Dear,

 

would be greate a Dynamic Theme, when we could change all colors from the theme programatically, using a XML to store the custom specification.

 

Inclusive, all themes could be turned into a Dynamic theme.

 

Best regards,

 

Jeff

Declined
Last Updated: 16 May 2019 10:45 by ADMIN
Please run the attached sample project and follow the steps from the attached gif file to replicate the visual glitch.
Declined
Last Updated: 16 May 2019 08:17 by ADMIN
Created by: Christian
Comments: 1
Category: UI for WinForms
Type: Bug Report
1
Use attached to reproduce.
Declined
Last Updated: 08 Apr 2019 16:07 by ADMIN
Created by: Jay
Comments: 2
Category: UI for WinForms
Type: Feature Request
0

Your website is horrible.

I spent an entire afternoon looking for information about how to add and retrieve data to/from a dropdown list control that should be intuitively available in close proximity to it's "Overview" page (after a lot of stumbling around I found where the "add" part was but the "retrieve" part was not found. I finally gave up and pinged Support. Another day is lost.).

And this isn't the first time I spent several hours searching for fundamental class information such as that which would be locatable in a traversable complete class hierarchy. I couldn't even find signatures to constructors for basic components such as RadProperty.

I hate to say it but your website is approaching the near-uselessness that plagues MSDN.

The difference is that I'm paying a truckload of money for the Telerik library. I dread using new controls for your product because I know what an exercise in rage it's going to be figuring out how it works. You laugh, I know. I understand. But it's the truth. I need to wear a mouth guard or pop some Xanax every time I come here. BTW, can I get a refund?

If not, please rewrite your website with your clientele in mind. Assume they know nothing that you know about your product.

My suggested solution is to use a visual model such as is demonstrated at:  https://docs.telerik.com/devtools/winforms/telerik-presentation-framework/class-hierarchy/class-hierarchy-overview.html.

You could even start out with a scrolling 400 square-foot wall chart. I wouldn't care if it took a half-hour to download. I'd still be saving time.

And that's both my feedback and feature request that'll wind up in the digital dumpster.

Thank you,
Jay
Declined
Last Updated: 25 Jul 2019 12:30 by ADMIN

You can use the following code snippet and follow the steps from the provided gif file:

        public RadForm1()
        {
            InitializeComponent();

            DataTable dt = new DataTable();
            dt.Columns.Add("Id");
            for (int i = 0; i < 100; i++)
            {
                dt.Rows.Add(i);
            }

            this.radMultiColumnComboBox1.DisplayMember = "Id";
            this.radMultiColumnComboBox1.ValueMember = "Id";
            this.radMultiColumnComboBox1.DataSource = dt;
            this.radMultiColumnComboBox1.SelectedIndex = -1;

            this.radMultiColumnComboBox1.SelectedIndexChanged += radMultiColumnComboBox1_SelectedIndexChanged;
        }

        private void radMultiColumnComboBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            RadMessageBox.Show("You just selected index " + this.radMultiColumnComboBox1.SelectedIndex);
        }

Declined
Last Updated: 18 Mar 2019 14:33 by ADMIN
If the lookup_value parameter and lookup_vector parameters refer cells containing text values, the function returns a Not available error ("#N/A").
Declined
Last Updated: 30 Apr 2019 09:52 by Dimitar
Created by: Mide
Comments: 2
Category: Form
Type: Bug Report
1

Form goes under windows taskbar based on following conditions.

 

WindowState = Maximized

MinimizeBox = false

MaximizeBox = false

 

Also when there is no icon (ShowIcon = false) Form text, first letter is clipped.  

Declined
Last Updated: 04 Mar 2019 13:21 by ADMIN
Created by: sathish
Comments: 1
Category: Form
Type: Bug Report
0

1.download and install the telerik trial version for ui winforms for desktop latest version 2019. 219.

2.open new project with blank template.

3.create radform and set Radform1 as mdi form. And open a child page from this..

CHild page takes 4 seconds to load. Though child page has only grid view and loads only 6000 records

Declined
Last Updated: 01 Mar 2019 12:29 by ADMIN

When a form's width is reduced enough then some groups in ribbon bar will become collapsed and in group's place a drop-down arrow is shown. When this arrow is clicked it will show properly its active state in all themes except three Metro themes. In Metro themes arrow's active state is such that only upper half of the control is visible. The issue is shown in current documentation for RadRibbonBar in the following image:

 

 

Declined
Last Updated: 05 Apr 2019 14:30 by ADMIN

To reproduce:

Update the data source directly and check the OldItems array.

Declined
Last Updated: 05 Feb 2019 16:46 by Fabrice

Hi,

We have an issue when using RightToLeft property of the RadCollapsiblePanel Control.

When the HeaderText ends with non-alphanumeric characters, on display, these characters are moved to the beginning of the title (possibly with a replacement of the closing characters in opening characters - such as the parenthesis).

I've attached a little sample of the issue.

Thanks for your help.

 

Regards

 

Fabrice MABIT

fmabit@proginov.com

Declined
Last Updated: 19 Nov 2018 16:15 by ADMIN
To reproduce:
- Use a column with numbers stored as strings.
- Set the data type to decimal
- The columns should be sorted according to the number value not alphabetically.

Workaround:
var col = new GridViewTextBoxColumn();
col.DataTypeConverter = new DecimalConverter();
col.FieldName = "Dosage";
col.UseDataTypeConverterWhenSorting = true;
col.DataType = typeof(decimal);
radGridView1.Columns.Add(col);

public class DecimalConverter : TypeConverter
{
    public override bool CanConvertTo(ITypeDescriptorContext context, Type destination_type)
    {
        
        if (destination_type == typeof(decimal))
        {
            return true;
        }

        return base.CanConvertTo(context, destination_type);
    }
    public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destination_type)
    {
        if (destination_type == typeof(decimal))
        {
            return decimal.Parse(value.ToString());
        }

        return base.ConvertTo(context, culture, value, destination_type);
    }
}
Declined
Last Updated: 06 Nov 2018 09:47 by ADMIN
To reproduce: please refer to the attached sample project  and gif file illustrating the behavior on my end. 

Note: similar to the axis, the series should also have ClipLabels property which will control whether the labels will be clipped or not.

Workaround: use custom renderer:

 Sub New()

        InitializeComponent() 

        AddHandler Me.RadChartView1.CreateRenderer, AddressOf RadChartView1_CreateRenderer

        Dim barSeries As New Telerik.WinControls.UI.BarSeries("Performance", "RepresentativeName")
        barSeries.Name = "Q1"
        barSeries.ShowLabels = True
        barSeries.DataPoints.Add(New CategoricalDataPoint(177, "Harley"))
        barSeries.DataPoints.Add(New CategoricalDataPoint(128, "White"))
        barSeries.DataPoints.Add(New CategoricalDataPoint(143, "Smith"))
        barSeries.DataPoints.Add(New CategoricalDataPoint(111, "Jones"))
        barSeries.DataPoints.Add(New CategoricalDataPoint(118, "Marshall"))
        Me.RadChartView1.Series.Add(barSeries)
        Dim barSeries2 As New Telerik.WinControls.UI.BarSeries("Performance", "RepresentativeName")
        barSeries2.Name = "Q2"
        barSeries2.ShowLabels = True
        barSeries2.DataPoints.Add(New CategoricalDataPoint(153, "Harley"))
        barSeries2.DataPoints.Add(New CategoricalDataPoint(141, "White"))
        barSeries2.DataPoints.Add(New CategoricalDataPoint(130, "Smith"))
        barSeries2.DataPoints.Add(New CategoricalDataPoint(88, "Jones"))
        barSeries2.DataPoints.Add(New CategoricalDataPoint(109, "Marshall"))
        Me.RadChartView1.Series.Add(barSeries2)


        Dim lassoZoomController As New ChartPanZoomController()
        RadChartView1.Controllers.Add(lassoZoomController)

    End Sub
    
    Public Class CustomLabelElementDrawPart
        Inherits BarLabelElementDrawPart
        Public Sub New(owner As ChartSeries, renderer As IChartRenderer)
            MyBase.New(owner, renderer)

        End Sub

        Public Overrides Sub Draw()
            If Not Me.Element.ShowLabels Then
                Return
            End If

            Dim graphics As Graphics = TryCast(Me.Renderer.Surface, Graphics)
            Dim radGraphics As RadGdiGraphics = New RadGdiGraphics(graphics)
            Dim isSmartLabelsEnabled As Boolean = Me.Element.View.ShowSmartLabels
            Dim isLineToLabelEnabled As Boolean = Me.Element.DrawLinesToLabels

            For Each dataPointElement As DataPointElement In Me.Element.Children
                Dim categoricalDataPoint As CategoricalDataPoint = TryCast(dataPointElement.DataPoint, CategoricalDataPoint)


                For i As Integer = 0 To dataPointElement.Children.Count - 1
                    Dim labelElement As LabelElement = TryCast(dataPointElement.Children(i), LabelElement)

                    If labelElement Is Nothing Then
                        Continue For
                    End If

                    labelElement.OnLabelFormatting(New ChartViewLabelFormattingEventArgs(labelElement))

                    If Not labelElement.IsVisible OrElse String.IsNullOrEmpty(labelElement.Text) Then
                        Continue For
                    End If

                    Dim rect As Rectangle
                    Dim slot As RadRect = labelElement.GetLayoutSlot()

                    If isSmartLabelsEnabled AndAlso labelElement.SmartRectangle <> Rectangle.Empty Then
                        rect = labelElement.SmartRectangle
                    Else
                        slot = AdjustLayoutSlot(slot, labelElement.DataPointElement)
                        rect = ChartRenderer.ToRectangle(slot)
                    End If

                    Dim state As Object = radGraphics.SaveState()
                    Dim horizontalTranslate As Integer = rect.X + rect.Width / 2
                    Dim verticalTranslate As Integer = rect.Y + rect.Height / 2
                    Dim clipRect As RectangleF
                    If TypeOf Me.Renderer Is CartesianRenderer Then
                        Dim size As SizeF = graphics.MeasureString("W", Me.Element.Font)
                        Dim plotRect As RadRect = Me.Element.Model.LayoutSlot
                        plotRect.X += Me.ViewportOffsetX
                        plotRect.Y += Me.ViewportOffsetY
                        clipRect = ChartRenderer.ToRectangleF(plotRect)
                        clipRect.Y -= size.Height / 2.0F
                        clipRect.Height += size.Height
                        clipRect.Width += size.Width * 2.0F
                        graphics.SetClip(clipRect)
                    End If

                    Dim angle As Single = CSng(Me.Element.LabelRotationAngle) Mod 360.0F

                    If angle <> 0 Then
                        radGraphics.TranslateTransform(horizontalTranslate, verticalTranslate)
                        radGraphics.RotateTransform(angle)
                        radGraphics.TranslateTransform(-horizontalTranslate, -verticalTranslate)
                    End If

                    If isLineToLabelEnabled Then
                        Me.DrawConnectingLine(radGraphics, labelElement, dataPointElement, isSmartLabelsEnabled AndAlso labelElement.SmartRectangle <> Rectangle.Empty)
                    End If

                    If labelElement.BackgroundShape IsNot Nothing Then
                        labelElement.BackgroundShape.Paint(CType(radGraphics.UnderlayGraphics, Graphics), rect)
                    End If

                    Dim fill As Telerik.WinControls.Primitives.FillPrimitiveImpl = New Telerik.WinControls.Primitives.FillPrimitiveImpl(labelElement, Nothing)
                    fill.PaintFill(radGraphics, 0, System.Drawing.Size.Empty, rect)
                    Dim border As Telerik.WinControls.Primitives.BorderPrimitiveImpl = New Telerik.WinControls.Primitives.BorderPrimitiveImpl(labelElement, Nothing)
                    border.PaintBorder(radGraphics, 0, System.Drawing.Size.Empty, rect)

                    Using brush As Brush = New SolidBrush(labelElement.ForeColor)
                        Dim drawRectangle As RectangleF = New RectangleF()
                        drawRectangle.X = rect.X + labelElement.Padding.Left
                        drawRectangle.Y = rect.Y + labelElement.Padding.Top
                        drawRectangle.Width = rect.Width - labelElement.Padding.Right
                        drawRectangle.Height = rect.Height - labelElement.Padding.Bottom
                        Dim format As StringFormat = New StringFormat()
                        format.Alignment = ContentAlignmentToHorizontalStringAlignment(labelElement.TextAlignment)
                        format.LineAlignment = Me.ContentAlignmentToVerticalStringAlignment(labelElement.TextAlignment)
                        graphics.DrawString(labelElement.Text, labelElement.Font, brush, drawRectangle, format)
                    End Using

                    If angle <> 0 Then
                        radGraphics.ResetTransform()
                        radGraphics.RestoreState(state)
                    End If

                    graphics.ResetClip()
                Next
            Next
        End Sub

        Public Function ContentAlignmentToVerticalStringAlignment(ByVal contentAlignment As ContentAlignment) As StringAlignment
            Dim result As StringAlignment

            Select Case contentAlignment
                Case contentAlignment.BottomCenter, contentAlignment.BottomLeft, contentAlignment.BottomRight
                    result = StringAlignment.Far
                Case contentAlignment.TopCenter, contentAlignment.TopLeft, contentAlignment.TopRight
                    result = StringAlignment.Near
                Case Else
                    result = StringAlignment.Center
            End Select

            Return result
        End Function

        Private Function ContentAlignmentToHorizontalStringAlignment(ByVal contentAlignment As ContentAlignment) As StringAlignment
            Dim result As StringAlignment

            Select Case contentAlignment
                Case contentAlignment.BottomLeft, contentAlignment.MiddleLeft, contentAlignment.TopLeft
                    result = StringAlignment.Near
                Case contentAlignment.BottomRight, contentAlignment.MiddleRight, contentAlignment.TopRight
                    result = StringAlignment.Far
                Case Else
                    result = StringAlignment.Center
            End Select

            Return result
        End Function

    End Class

    Private Sub RadChartView1_CreateRenderer(sender As Object, e As ChartViewCreateRendererEventArgs)
        e.Renderer = New CustomCartesianRenderer(e.Area)
    End Sub

    Public Class CustomCartesianRenderer
        Inherits CartesianRenderer
        Public Sub New(area As CartesianArea)
            MyBase.New(area)
        End Sub
        Protected Overrides Sub Initialize()
            MyBase.Initialize()
            For i As Integer = 0 To Me.DrawParts.Count - 1

                Dim label As BarLabelElementDrawPart = TryCast(Me.DrawParts(i), BarLabelElementDrawPart)
                If (label IsNot Nothing) Then
                    Me.DrawParts(i) = New CustomLabelElementDrawPart(label.Element, Me)
                End If
            Next
        End Sub
    End Class
Declined
Last Updated: 06 Nov 2018 12:29 by ADMIN
To reproduce: please refer to the attached sample project and try to reorder a node. You will notice that the message box is not rendered properly.

        //case 2
        private void DragDropService_PreviewDragDrop(object sender, RadDropEventArgs e)
        {
             e.Handled = true;
            RadMessageBox.Show(this, "Showing a messagebox under dragending doesn't work correctly.");
        }

        //case 1
        private void radTreeView1_DragEnding(object sender, Telerik.WinControls.UI.RadTreeViewDragCancelEventArgs e)
        {
            //e.Cancel = true;
            //RadMessageBox.Show(this, "Showing a messagebox under dragending doesn't work correctly.");
        }

Workaround: subscribe to the TreeViewElement.DragDropService.PreviewDragDrop and set the Handled argument to true if you want to cancel the drop operation. Then, handle the TreeViewElement.DragDropService.Stopped event and show the desired message.

        public Form1()
        {
            InitializeComponent();
            
            this.radTreeView1.TreeViewElement.DragDropService.PreviewDragDrop += DragDropService_PreviewDragDrop;
            this.radTreeView1.TreeViewElement.DragDropService.Stopped+=DragDropService_Stopped;
        }

        private void DragDropService_Stopped(object sender, EventArgs e)
        {
            
            RadMessageBox.Show(this, "Showing a messagebox under dragending doesn't work correctly.");
        }
 
        private void DragDropService_PreviewDragDrop(object sender, RadDropEventArgs e)
        {
            e.Handled = true;
        }
Declined
Last Updated: 23 Oct 2018 10:21 by ADMIN
To reproduce:
1. Add a RadCollapsiblePanel and change the back color or border of the container via the Edit UI elements dialog.
2. Save the changes and run the project. You will notice that the style is reset and the changes are not preserved. 

Workaround: Customize the style at runtime. The following help article gives you information about the internal elements structure of the RadCollapsiblePanel: https://docs.telerik.com/devtools/winforms/panels-and-labels/collapsiblepanel/structure 
Declined
Last Updated: 24 Nov 2018 23:13 by KKL
ADMIN
Created by: Dess | Tech Support Engineer, Sr.
Comments: 3
Category:
Type: Bug Report
1
To reproduce: run the attached sample project. Select an item and press F2, select a new item from the drop-down. You will encounter an error because the ActiveEditor is now null in the ItemValueChanging event.

Workaround: in the EditorInitialized event you can subscribe to the RadDropDownListElement.SelectedIndexChanging event:

private void radListView1_EditorInitialized(object sender, ListViewItemEditorInitializedEventArgs e)
{
    ListViewDropDownListEditor editor = e.Editor as ListViewDropDownListEditor;
    if (editor==null)
    {
        return;
    }
    RadDropDownListElement dropdown = (RadDropDownListElement)editor.EditorElement;
    dropdown.SelectedIndexChanging-=dropdown_SelectedIndexChanging;
    dropdown.SelectedIndexChanging+=dropdown_SelectedIndexChanging;
}


Declined
Last Updated: 29 Nov 2018 08:57 by TestTeam
Use the attached project to reproduce. 
- The first click should be disabled and the event should fire after the interval in the delay property. 

Workaround:
Me.RadRepeatButton1.Delay = 7000
1 2 3 4 5 6