Unplanned
Last Updated: 16 May 2019 05:09 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Sr.
Comments: 0
Category: PdfViewer
Type: Bug Report
1
Please refer to the attached sample screenshot demonstrating how the document look in Adobe and in RadPdfViewer.
Unplanned
Last Updated: 12 Nov 2019 14:58 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Sr.
Comments: 0
Category: UI for WinForms
Type: Bug Report
3
To reproduce: add a RadLabel and change its cursor to Hand.

 this.radLabel1.Cursor = Cursors.Hand;

The PixelatedHandCursor.png shows the poor quality of the cursor which should be improved.

Workaround: https://stackoverflow.com/questions/6016995/un-antialiased-hand-cursor-in-windows-forms-apps/6017174#6017174

    public class LinkLabelEx : RadLabel
    {
        private const int WM_SETCURSOR = 0x0020;
        private const int IDC_HAND = 32649;

        [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
        private static extern IntPtr LoadCursor(IntPtr hInstance, int lpCursorName);

        [DllImport("user32.dll", CharSet = CharSet.Auto)]
        private static extern IntPtr SetCursor(IntPtr hCursor);

        protected override void WndProc(ref Message m)
        {
            if (m.Msg == WM_SETCURSOR)
            {
                // Set the cursor to use the system hand cursor
                SetCursor(LoadCursor(IntPtr.Zero, IDC_HAND));

                // Indicate that the message has been handled
                m.Result = IntPtr.Zero;
                return;
            }

            base.WndProc(ref m);
        }
    }

The ImprovedCursorRendering.png  shows the improved cursor. 
Unplanned
Last Updated: 16 May 2019 05:06 by ADMIN
To reproduce: add a RadTreeView and a RadBreadCrumb and apply the MaterialTeal theme. Refer to the attached screenshot illustrating the wrong font of the selected item.

Workaround:

    public partial class RadForm1 : Telerik.WinControls.UI.RadForm
    {
        public RadForm1()
        {
            InitializeComponent(); 

            ThemeResolutionService.ApplicationThemeName = "MaterialTeal";

            this.radTreeView1.NodeFormatting += radTreeView1_NodeFormatting;
            this.radTreeView1.SelectedNodeChanged += radTreeView1_SelectedNodeChanged; 
        }
 
        private void UpdateFont()
        {
            foreach (RadSplitButtonElement item in this.radBreadCrumb1.BreadCrumbElement.Items)
            {
                foreach (RadMenuItem menuItem in item.Items)
                {
                    if (this.radTreeView1.SelectedNode != null && menuItem.Text == this.radTreeView1.SelectedNode.Text)
                    {
                        menuItem.Font = new Font(f.FontFamily,f.Size, FontStyle.Bold);
                    }
                }
            }
        }
        
        private void radTreeView1_SelectedNodeChanged(object sender, Telerik.WinControls.UI.RadTreeViewEventArgs e)
        {
            UpdateFont();
        }

        Font f = null;

        private void radTreeView1_NodeFormatting(object sender, Telerik.WinControls.UI.TreeNodeFormattingEventArgs e)
        {
            f = e.NodeElement.ContentElement.Font;
        }
Unplanned
Last Updated: 16 May 2019 05:02 by ADMIN
Workaround:

        private void radGridView1_ConditionalFormattingFormShown(object sender, EventArgs e)
        {
            ConditionalFormattingForm f = sender as ConditionalFormattingForm;
            if (f != null)
            {
                f.Width += 5;
            }
        }
Unplanned
Last Updated: 16 May 2019 05:07 by ADMIN
To reproduce:
- Use relative sizing and save the RelativeRatio.
- Set the same value after restarting the application.
- The panel size is not the same. 

Workaround:
Use absolute size. 
Unplanned
Last Updated: 06 Nov 2018 09:13 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Sr.
Comments: 0
Category: Buttons
Type: Bug Report
2
Workaround: disable the default scaling and adjust the font and minimum size

        Me.RadRadioButton1.Font = New Font("Arial", 12, FontStyle.Regular)
        Me.RadRadioButton1.ButtonElement.CheckMarkPrimitive.MinSize = New Size(20, 20)
        Dim radioPrimitive As RadioPrimitive = Me.RadRadioButton1.ButtonElement.CheckMarkPrimitive.FindDescendant(Of RadioPrimitive)()
        radioPrimitive.MinSize = New Size(21, 21)

    Public Class CutsomRadioButton
        Inherits RadRadioButton
        Protected Overrides Sub ScaleControl(factor As SizeF, specified As BoundsSpecified)
             
        End Sub
    End Class
Unplanned
Last Updated: 06 Nov 2018 09:56 by ADMIN
Currently, RadPdfViewer uses WPF DrawingContext class for drawing page elements to a Canvas.  When PDF page has many content elements (usually geometries) drawing the page may be time-consuming and freezes the UI. 

Instead, we should consider implementing another approach for rendering the content asynchronously which would improve the user experience. 
Unplanned
Last Updated: 06 Nov 2018 09:58 by ADMIN
To reproduce:
private void RadForm3_Shown(object sender, EventArgs e)
{
    Telerik.WinControls.UI.RadWaitingBar waitbar = new Telerik.WinControls.UI.RadWaitingBar();
    pnlCenter.Enabled = false;
    waitbar.AssociatedControl = pnlCenter;
    waitbar.StartWaiting();
}

Workaround:
Do not disable the control while using the waiting bar
Unplanned
Last Updated: 06 Nov 2018 10:00 by ADMIN
Some files when opened with PdfViewer will throw a KeyNotFoundException which will be handled. Parts of the text in the file might or might not be missing.
Unplanned
Last Updated: 18 Oct 2018 10:27 by ADMIN
The barcode cannot be read with the property set to false.

Workraound:
Telerik.WinControls.UI.Barcode.Symbology.EAN128 code39Extended1 = new Telerik.WinControls.UI.Barcode.Symbology.EAN128();
code39Extended1.Checksum = true;
Unplanned
Last Updated: 06 Nov 2018 10:00 by ADMIN
ADMIN
Created by: Dimitar
Comments: 0
Category: Tools
Type: Bug Report
1

			
Unplanned
Last Updated: 15 Oct 2018 10:35 by ADMIN
A possible workaround is to use the following KB and change how it is implemented to iterate the MasterTemplate.Rows collection instead of the ViewInfo.Rows collection

https://www.telerik.com/support/kb/winforms/gridview/details/add-check-all-in-the-header-cell-for-a-gridviewcheckboxcolumn
Unplanned
Last Updated: 08 Oct 2018 14:08 by ADMIN
When the file has an annotation with a destination and this destination is missing from the destinations (Dests) collection of the catalogue, KeyNotFoundException is thrown when you try to scroll to the page where the annotation is located. A better behavior would be for nothing to happen when trying to click on the annotation leading to the destination.
Unplanned
Last Updated: 05 Nov 2018 16:47 by ADMIN
structure
The hierarchical document structure is a means to describe the PDF document structure, which is currently not supported. See 10.6.1 Structure Hierarchy on 856 page of the PDF specification for details.
This document structure is an alternative to the standard PDF structure and most non-Adobe software does not support it.

The document might have been created with Adobe software like Adobe LiveCycle Designer. Very often the document contains some fallback text in the standard PDF structure like:
"Please wait... If this message is not eventually replaced by the proper contents of the document, your PDF viewer may not be able to display this type of document."
"The document you are trying to load requires Adobe Reader 8 or higher. You may not have the Adobe Reader installed or your viewing environment may not be properly configured to use Adobe Reader. For information on how to install Adobe Reader and configure your viewing environment please see  http://www.adobe.com/go/pdf_forms_configure."
"For the best experience, open this PDF portfolio in Acrobat X, Reader X, or later."
Unplanned
Last Updated: 15 Oct 2018 10:49 by ADMIN
To reproduce:
- Add ColumnGroupsViewDefinition and set ShowHeader to false. 
- Set AutoSizeRows to true.

Workaround:
Manually set the row height.
  ViewDefinition.ColumnGroups(0).Rows(0).MinHeight = 50

Unplanned
Last Updated: 31 Dec 2018 09:43 by ADMIN
Use attached to reproduce inside VisualStudio 2017.

1. Run "1342574 ListControl" project
2. Add CodedUI test in "1342574 CodeUISample" project. ("Record actions, edit UI map or add assertions" option)
3. After starting recording, click inside radGridView cell, type something and click Tab.
4. Pause and Generate Code.

After running the recorded CodedUI test and you will see that it clicks on the grid cell but does not type any text.

Note that the issue is not reproducible in VS 2012.
 
Unplanned
Last Updated: 12 Nov 2019 14:57 by ADMIN
To reproduce: Add a RadMultiColumnCombobox to the form, set the DropDownStyle property to DropDownList and clear the text. You will notice that the height of the control is not bigger than 5 px.

Workaround: set MinimumSize 

Me.RadMultiColumnComboBox1.MinimumSize = New Size(200, 23)

Unplanned
Last Updated: 15 Oct 2018 10:52 by ADMIN
To reproduce: run the sample project, select an item, press F2 and select a new item. You are expecting the BaseDropDownListEditorElement.SelectedIndexChanging event is fired in this case and you may be able to cancel the new selection in certain conditions.
Unplanned
Last Updated: 05 Oct 2018 13:16 by ADMIN
To reproduce:
            this.radDropDownList1.DropDownListElement.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
            this.radDropDownList1.DropDownListElement.AutoCompleteAppend.LimitToList = true;
            this.radDropDownList1.DataSource = new List<string>() { "Test1", "Test2" };

Copy "Test2" and right click over the textbox. The second item is selected. However, if you press Ctrl+V instead of using the Paste option in the context menu, nothing happens.

Workaround:

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        RadDropDownList1.DropDownListElement.AutoCompleteMode = AutoCompleteMode.SuggestAppend
        RadDropDownList1.DropDownListElement.AutoCompleteAppend.LimitToList = True
        RadDropDownList1.DataSource = {"Test1", "Test2"}
        
        Me.RadDropDownList1.DropDownListElement.AutoCompleteAppend = New CustomAutoCompleteAppendHelper(Me.RadDropDownList1.DropDownListElement)
    End Sub 

    Public Class CustomAutoCompleteAppendHelper
    Inherits AutoCompleteAppendHelper
        Public Sub New(owner As RadDropDownListElement)
            MyBase.New(owner)

        End Sub

        Public Overrides Sub AutoComplete(e As KeyPressEventArgs)
            If Control.ModifierKeys = Keys.Control AndAlso Asc(e.KeyChar) = 22 Then
                Me.AutoComplete(e, False)
            Else
                Me.AutoComplete(e, Me.LimitToList)
            End If 
        End Sub
    End Class
Unplanned
Last Updated: 15 Oct 2018 10:53 by ADMIN
To reproduce: run the attached sample project and activate the editor for the cell. You will notice that the row's height is now adjusted and single line text is displayed. It seems that the issue occurs because of the set Font property of the grid.

Workaround:  
        private void RadGridView1_CellEditorInitialized(object sender, Telerik.WinControls.UI.GridViewCellEventArgs e)
        {
            e.Row.MinHeight = e.Row.Height + 3;
            RadTextBoxEditor tbEditor = e.ActiveEditor as RadTextBoxEditor;
            if (tbEditor != null)
            {
                tbEditor.Multiline = true;
            }
        }

        private void radGridView1_CellEndEdit(object sender, GridViewCellEventArgs e)
        {
            e.Row.MinHeight = 0; 
        }