Approved
Last Updated: 15 Jan 2019 11:03 by ADMIN
How to reproduce: 
float ratio = .5f;
private void radButton1_Click(object sender, EventArgs e)
{
    float ratio = .5f;
    this.radPdfViewer1.ExportPage(1, @"..\..\img.jpeg", ratio, true, ImageFormat.Png);
}

Workaround: change the resolution of the document after exporting it with a ratio = 1
private void radButton1_Click(object sender, EventArgs e)
{
    float ratio = .5f;
    Bitmap bmp = this.radPdfViewer1.ExportPage(1, 1, true, ImageFormat.Png);
    Bitmap resizedImage = this.ResizeImage(bmp, (int)(bmp.Width * ratio), (int)(bmp.Height * ratio));
    resizedImage.Save(@"..\..\img2.jpeg");
}

public Bitmap ResizeImage(Image image, int width, int height)
{
    Rectangle destRect = new Rectangle(0, 0, width, height);
    Bitmap destImage = new Bitmap(width, height);
    destImage.SetResolution(image.HorizontalResolution, image.VerticalResolution);

    using (var graphics = Graphics.FromImage(destImage))
    {
        graphics.CompositingMode = CompositingMode.SourceCopy;
        graphics.CompositingQuality = CompositingQuality.HighQuality;
        graphics.InterpolationMode = InterpolationMode.HighQualityBicubic;
        graphics.SmoothingMode = SmoothingMode.HighQuality;
        graphics.PixelOffsetMode = PixelOffsetMode.HighQuality;

        using (var wrapMode = new ImageAttributes())
        {
            wrapMode.SetWrapMode(WrapMode.TileFlipXY);
            graphics.DrawImage(image, destRect, 0, 0, image.Width, image.Height, GraphicsUnit.Pixel, wrapMode);
        }
    }

    return destImage;
}
Approved
Last Updated: 15 Jan 2019 10:51 by ADMIN

Hello,

We have developed an ASP.NET application and a WinForms application that both uses Telerik RadScheduler. The applications share the same data.

We have set EnableExactTimeRendering = true to prevent appointments to falsely be displayed as collisions.

Our problem is that appointments with short durations (0-4 minutes) are totally invisible in the WinForms Scheduler. In the ASP.NET scheduler all appointments are visible. An appointment with no duration (0 minutes) is shown as 30min appointment in ASP.NET while 1-minute appointments are shown as a thin line which is ok as we use tooltips for all appointments.

How can we make all appointments visible in WinForms and still use EnableExactTimeRendering? Of course, the rendering will not be exact for small durations but that is better than not showing the appointments at all. We would like to set a minimum size for appointments.

Best regards,
Daniel Gidlöf

 

New
Last Updated: 14 Jan 2019 17:26 by Antonio

Sometimes when copying from word is duplicating some parts of the text.

 

1 - Open the Telerik WinForms Demo Application;

2 - Go to RichTextEditor;

3 - Click on First Look;

4 - Delete All the text (Ctrl + A then Delete);

5 - Open the word document Attached;

6 - Select Everything (Ctrl + A) and copy;

7 - Paste on the RichTextEditor;

8 - The end of the second paragraph is duplicated;

 

Completed
Last Updated: 14 Jan 2019 11:59 by ADMIN
To reproduce: 
- When the filter is set to contains the item is different than the item is selected from the drop-down and the text is taken from the append functionality.

Workaround
Either change the filter to StarrtsWith or remove the suggest functionality. 
Completed
Last Updated: 11 Jan 2019 17:00 by ADMIN
The form fields are not visible in a document created with Foxit pdf-editor.
New
Last Updated: 11 Jan 2019 09:21 by Nicholas

Use attached to reproduce:

- click on the second tab

- collapse the first group

- click the first tab

- click the second tab, both grids are visible

Workaround:

public RadForm1()
{
    InitializeComponent();
    new Telerik.WinControls.RadControlSpy.RadControlSpyForm().Show();

    layoutControlGroupItem3.PropertyChanged += LayoutControlGroupItem3_PropertyChanged;

}

private void LayoutControlGroupItem3_PropertyChanged(object sender, PropertyChangedEventArgs e)
{
    if (e.PropertyName == "IsHidden" || e.PropertyName == "IsExpanded")
    {
        if (layoutControlGroupItem3.IsExpanded)
        {
            layoutControlGroupItem3.ContainerElement.Items[0].Visibility = Telerik.WinControls.ElementVisibility.Visible;
        }
        else
        {
            layoutControlGroupItem3.ContainerElement.Items[0].Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
        }
    }

}

New
Last Updated: 10 Jan 2019 17:39 by ADMIN
Created by: Shawn
Comments: 1
Category: UI for WinForms
Type: Bug Report
0

Environment: Telerik WinForms 2018.3.1016.40, VS 2013 Pro U5, Win 10 Ent 64 1809 17763.195

Steps:

Create a new WinForm project with default settings

Add a RadForm with default settings

Add a RadScrollablePanel to the RadForm with default settings

Add a RadPanel inside the RadScrollablePanel with default settings

Add a 3 RadRadioButtons to the RadScrollablePanel  with default settings

Select all 3

Press Ctrl+X to cut the radio buttons.

Actual Result: Visual Studio will immediately hang and any unsaved project work will be lost.

Actual Desire: To be able cut and paste the 3 radio buttons into the RadPanel, just like normal MS WinForm controls in design-time.

Completed
Last Updated: 10 Jan 2019 15:41 by ADMIN
The application may freeze for a small period of time if the page view control is created in the DoWork event of BackgroundWorker and later added to the form in its RunWorkerCompleted event.
Completed
Last Updated: 10 Jan 2019 12:03 by ADMIN
The issue may manifest if aggregate descriptions are added on the pivot`s column axis and if their member does not return data.
Completed
Last Updated: 09 Jan 2019 15:48 by ADMIN

To reproduce:

- Set the MaxDropDownItems and the DefaultItemsCountInDropDown and open the popup on HDPI.

New
Last Updated: 08 Jan 2019 08:33 by Arikkan
Created by: Arikkan
Comments: 0
Category: UI for WinForms
Type: Bug Report
0
Use attached to reproduce.
New
Last Updated: 07 Jan 2019 09:08 by ADMIN
Deleting table right after merged fields are updated causes StackOverflowException.
Approved
Last Updated: 04 Jan 2019 11:46 by ADMIN
Approved
Last Updated: 04 Jan 2019 11:22 by ADMIN
Approved
Last Updated: 04 Jan 2019 11:00 by ADMIN

When you setup a hierarchical RadVirtualGrid and set the UseScrollbarsInHierarchy property to false and use VirtualGridAutoSizeColumnsMode.Fill for the child template, you expect that the column's width is calculated according to the total width of the respective template. Hence, if you shrink or enlarge the grid, the columns will shrink/enlarge respectively. However, if you double click the resize cursor between the column headers you will notice that the best-fit action is performed over the column and its width is adjusted. However, the VirtualGridAutoSizeColumnsMode.Fill setting is not respected and you either can't see all the columns, or you obtain some empty space if the column doesn't need much space. 

Approved
Last Updated: 04 Jan 2019 07:19 by ADMIN
How to reproduce: check the attached project and video

Workaround:
public partial class RadForm1 : Telerik.WinControls.UI.RadForm
{
    public RadForm1()
    {
        InitializeComponent();
        radDock1.FloatingWindowCreated += RadDock1_FloatingWindowCreated;
    }

    private void RadDock1_FloatingWindowCreated(object sender, Telerik.WinControls.UI.Docking.FloatingWindowEventArgs e)
    {
        e.Window = new MyWindow(this.radDock1);
    }
}

public class MyWindow : FloatingWindow
{
    SizeF oldDpi = new SizeF(1, 1);

    public MyWindow(RadDock dockManager) : base (dockManager)
    { }
    protected override void HandleDpiChanged()
    {
        
        base.HandleDpiChanged();
        SizeF descale = new SizeF(1f / this.FormElement.DpiScaleFactor.Width, 1f / this.FormElement.DpiScaleFactor.Height);
        this.Scale(descale);
        var dpi = NativeMethods.GetMonitorDpi(Screen.FromRectangle(this.Bounds), NativeMethods.DpiType.Effective);
        if (oldDpi != dpi)
        {
            SizeF sz = new SizeF(dpi.Width / oldDpi.Width, dpi.Height / oldDpi.Height);

            this.Scale(dpi);
        }

        oldDpi = dpi;
    }
}
Approved
Last Updated: 02 Jan 2019 15:08 by ADMIN
Created by: Ioannis
Comments: 3
Category: Spreadsheet
Type: Bug Report
1

Hello,

 

I have a RadRibbonForm with a normal ribbon with no items and a spreadsheet control.

 

I iterate over a datatable and fill the spreadsheet's cell values with the datatable's values

we're talking about a very small size, like 33 rows x 35 columns, and not even all the values are filled in.

 

Unfortunately, there's a very noticeable delay in the spreadsheet, from moving the scrollbars to selecting to changing sheets.. the whole thing feels laggy.

Is this just how it is, or am I experiencing a possible bug?

Could it have anything to do with https://feedback.telerik.com/winforms/1380948-exception-at-runtime-trial-bug ?

 

If that is just how it is, is there anything I can do to make it feel snappier? Disable a theme? Disable some behaviour?

In Development
Last Updated: 02 Jan 2019 11:45 by ADMIN
Created by: Ioannis
Comments: 11
Category: Spreadsheet
Type: Bug Report
1

Hello,

 

So, I'm testing the Telerik suite, part of which is the RadSpreadSheet. I'm currently using the 30 days trial.

So, when I'm debugging it and I'm instantiating a new form that contains the RadSpreadSheet, the programme will about 50% of the time create an exception of object reference not set to an instance of an object
Now, I've only noticed this with forms that contain a radspreadsheet but it could have nothing to do with it.

What always happens before I get the exception is that the reminder to buy a Telerik License appears (the programme halts until I choose an option) and when the dialogue disappears, the exception happens.

 

Please note that if I just push "F5" again in VS, without changing anything anywhere, so after the crash immediately debug (F5) again, the exception will not occur.

Approved
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.
 
New
Last Updated: 28 Dec 2018 07:39 by ADMIN
Please run the attached sample project and you will notice the big spacing between the first item in a group and the rest of the items within the group.
1 2 3 4 5 6