In Development
Last Updated: 27 May 2020 15:57 by ADMIN

Dear Support,

I want to use the new feature - Support for SVG.

Then I have to load the file with RadSvgImage.FromFile().

I get the following exception:

System.Xml.XmlException: 'External DTD subset cannot be resolved - public ID =' - // W3C // DTD SVG 1.1 // EN ', system ID =' http://www.w3.org/Graphics/ SVG / 1.1 / DTD / svg11.dtd '.'

(Translated from German)

Problem is line 2, where the DTD is given.

Is there a way to tell XmlSerializer to ignore the validation?

Duplicated
Last Updated: 25 May 2020 04:41 by ADMIN

An error occur when i used .Import method on large .pdf files (> 1000 ko) with an Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider object.

 

Message is:

"Impossible d'effectuer un cast d'un objet de type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfDictionary' en type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfInt'." 

There is no bug for smaller pdf files. 

 

Thank you 

Unplanned
Last Updated: 15 May 2020 13:22 by ADMIN

merging only these assembly still the icons are not visible in Spreadsheet ribbon menu

C:\Program Files (x86)\Microsoft\ILMerge\ILMerge.exe" /allowdup /target:SymphonyMESUtil.exe  /targetplatform:"v4, C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1" /out:Merge\SymphonyMESUtil.exe ^
SymphonyMESUtil.exe ^
Telerik.WinControls.dll ^
Telerik.WinControls.UI.dll ^
TelerikCommon.dll ^
Telerik.WinControls.GridView.dll ^
Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.dll ^
Telerik.Windows.Documents.Spreadsheet.FormatProviders.Pdf.dll ^
Telerik.Windows.Documents.Spreadsheet.dll ^
Telerik.WinControls.RadSpreadsheet.dll ^
Telerik.Windows.Documents.Core.dll ^
Telerik.Windows.Documents.Fixed.dll

Unplanned
Last Updated: 15 May 2020 13:31 by ADMIN

Hi,

I have menu problem:

When the Backstage Button Item is clicked and you don't release a left mouse button click but instead mouse is dragged to the right of the form, Backstage Button Item stay selected and can only be returned to default state if you click on it again else its stays blue and locked.

Picture 1.

Left click, hold and drag to the right. This state can be done to all buttons see Picture 2. Focus on "MouseDown" Event is not working.

Picture 2.


 

My question is can this behavior be prevented ?

 

Thanks in advance !

 

Neven

Unplanned
Last Updated: 28 Apr 2020 11:18 by ADMIN

1. Set the DPI of your main monitor to 150% and the DPI of your secondary monitor to 100%.

2. Start your main form containing RadDataEntry on your secondary monitor.

You will see that that hosted controls inside RadDataEntry are not scaled correctly.

 

Workaround:

Start your main form on your secondary monitor inside OnShown event.

protected override void OnShown(EventArgs e)
{
    base.OnShown(e);

    this.Location = new Point(-800, 100);
}

 

Unplanned
Last Updated: 23 Apr 2020 15:34 by ADMIN
Created by: Tinus
Comments: 0
Category: UI for WinForms
Type: Bug Report
0

1. Set HDPI on your monitor (for example 150%)

2. Set RadDataEntry data source in RunTime

You will see that RadDataEntry hosted controls are not scaled correctly.

Note that there is a related problem if the data source is set in design time. Controls themselves will be scaled correctly, however, text box hosted control's High will not be scaled correctly.

Workaround:
You can subscribe to ItemInitializing event before you set the DataSource and proceed by scaling RadDataEntry hosted controls manually as shown in the following code snipped.

private void radButton1_Click(object sender, EventArgs e)
{
    this.radDataEntry1.ItemInitializing += RadDataEntry1_ItemInitializing;
    this.radDataEntry1.ItemDefaultSize = new Size(200, 26);

    radDataEntry1.DataSource = new Employee
    {
        FirstName = "Sarah",
        LastName = "Blake",
        Occupation = "Supplied Manager",
        StartingDate = new DateTime(2005, 04, 12),
        IsMarried = true,
        Salary = 3500,
        Gender = Gender.Female
    };         
}
private void RadDataEntry1_ItemInitializing(object sender, ItemInitializingEventArgs e)
{
    if (this.radDataEntry1.RootElement.DpiScaleFactor.Width != 1)
    {
        foreach (Control control in e.Panel.Controls)
        {
            control.Scale(this.radDataEntry1.RootElement.DpiScaleFactor);
        }
    }
}

Completed
Last Updated: 27 Apr 2020 07:46 by ADMIN
Release R2 2020

Please refer to the following code snippet and follow the steps in the attached gif file:

 

        Dim dt As New DataTable
        dt.Columns.Add("Id", GetType(Integer))
        dt.Columns.Add("Name", GetType(String))
        For index = 1 To 10
            dt.Rows.Add(index, "Data" & index & Guid.NewGuid().ToString())
        Next
        Me.RadMultiColumnComboBox1.DataSource = dt
        Me.RadMultiColumnComboBox1.DisplayMember = "Name"
        Me.RadMultiColumnComboBox1.ValueMember = "Id"
        Me.RadMultiColumnComboBox1.AutoSizeDropDownToBestFit = True

Workaround: 

AddHandler Me.RadMultiColumnComboBox1.DropDownOpened, AddressOf RadMultiColumnComboBox_DropDownOpened

    Private Sub RadMultiColumnComboBox_DropDownOpened(sender As Object, e As EventArgs)
        Me.RadMultiColumnComboBox1.EditorControl.HorizontalScrollState = ScrollState.AutoHide
    End Sub

Completed
Last Updated: 04 May 2020 11:53 by ADMIN
Release R2 2020

Hi,

 

  • Open the VisualStudio2012Light.tssp using UI WinForms Visual Style Builder.
  • Select on RadButtonElement and Element state is ButtonFill. Double click on NormalFill repository, below is the error (attached the snapshot) -

object reference not set to an instance of an object

 

Questions:

  • How to resolve this issue.
  • How to trace log if any.

 

Regards,

Rajesh

Unplanned
Last Updated: 14 Apr 2020 15:26 by ADMIN

Please refer to the attached sample project and gif file. The ShouldCheckDataRows property of the column is disabled. Hence, the developer will manage the toggle state of the data cells.

There are two problems here:

1. In the HeaderCellToggleStateChanged event we toggle all data rows in correspondence with the header checkbox. Once a data cell value is changed, we set the GridViewCheckBoxColumn.Checked property to Off. However, it is not respected and the header checkbox still remains toggle.

2. Once you scroll the columns horizontally, the header checkbox synchronizes with the value of the GridViewCheckBoxColumn.Checked property. However, all of a sudden the HeaderCellToggleStateChanged event is toggled again even though we didn't clicked the checkbox in the header at all. This will make all data cells unchecked due to the code in the HeaderCellToggleStateChanged event.

Completed
Last Updated: 23 Apr 2020 16:12 by ADMIN
Release R2 2020 (LIB 2020.1.423)
Created by: Mark
Comments: 2
Category: UI for WinForms
Type: Bug Report
0

Please run the attached sample project and refer to the attached gif file.

Workaround:

        private void RadForm1_Load(object sender, EventArgs e)
        {
            this.Size = new Size(this.Width+1,this.Height);
            this.Size = new Size(this.Width - 1, this.Height);
        }

Unplanned
Last Updated: 23 Mar 2020 06:50 by ADMIN

1. Create a brand new project and add a ShapedForm.

2. Set the Size to 800,550.

3. Set the FormBorderStyle to FixedToolWindow.

You will notice that at run-time the size is changed to 816, 589.

Workaround:

        public ShapedForm1()
        {
            InitializeComponent();

            this.MaximumSize = new Size(800, 550);
        }

Unplanned
Last Updated: 23 Mar 2020 06:21 by ADMIN

Please refer to the attached sample project:

Workaround:

        Me.RadImageButtonElement1.ButtonFillElement.GradientStyle = GradientStyles.Solid
        Me.RadImageButtonElement1.ShowBorder = False

Completed
Last Updated: 09 Apr 2020 08:53 by ADMIN
Release R2 2020 (LIB 2020.1.413)

Please refer to the attached gif file.

Workaround:

        private void Form1_Load(object sender, EventArgs e)
        {
            Image currentImage = this.PropertiesGrid.TableElement.CurrentRowHeaderImage;
            this.PropertiesGrid.TableElement.CurrentRowHeaderImage = new Bitmap(currentImage, currentImage.Width - 5, currentImage.Height - 5);
        }

Completed
Last Updated: 23 Mar 2020 09:54 by ADMIN
Release R2 2020 (LIB 2020.1.323)
Created by: Theo
Comments: 3
Category: UI for WinForms
Type: Bug Report
1

Morning

 

Please see attched demo project

 

We have several controls that we use spell checker on (including textbox, grid, combo, etc)

Issue is that if you have a misspelled word in a control that is readonly, you are still able to change the text via context menu to update the spelled word

In the example program, start up, click on make readonly, right click on wavy red line word, select option to replace with, word is updated.

We are not able to disable the controls and toggle between read only and not readonly to define editablility of the controls

Is there a work around for this? Should it not be inlcuded in the spell check control?

 

thank you

Theo

Unplanned
Last Updated: 17 Mar 2020 13:38 by ADMIN
When copy a modified Heading from Word document and paste it into a not empty RadRichTextEditor the modified styles are not correctly imported.
Unplanned
Last Updated: 17 Mar 2020 06:50 by ADMIN

Please refer to the attached gif file for a better illustration of the steps how o reproduce the undesired behavior.

Workaround: use RadForm

Completed
Last Updated: 23 Apr 2020 16:11 by ADMIN
Release R2 2020 (LIB 2020.1.423)

Please follow the steps:

1. Create a brand new project with a ShapedForm

2. Set the BackColor property to Red and save the form.

3. Open the ThemeName drop down and close it. You will notice that the BackColor is lost since the ThemeName is serialized as empty string in the designer file.

Workaround: delete the serialized ThemeName property with empty value.

Completed
Last Updated: 19 Mar 2020 14:40 by ADMIN
Release R2 2020 (LIB 2020.1.323)

Run the attached project and see the .GIF file or follow the steps below:

1. Set AssociatedKeyboardType to a control and KeyboardLayoutType to Numpad;

2. Run the application and drag the whole form to the Right edge of the screen

3. Click inside the control in order to display the RadVirtualKeyboardForm 

You will see that the VirtualKeyboardForm is not displayed under the associated control.

 

Workaround:

After setting the KeyboardLayoutType to Numpad, set the KeyboardForm.Size manually:

this.radVirtualKeyboardForm1.KeyboardForm.Size = this.radVirtualKeyboardForm1.KeyboardForm.VirtualKeyboard.CalculateDesiredSize().ToSize();

Unplanned
Last Updated: 05 Mar 2020 10:03 by ADMIN
Created by: Gilles
Comments: 0
Category: UI for WinForms
Type: Bug Report
0

How to reproduce:

private void RadForm1_Load(object sender, EventArgs e)
{
    this.radWebCam1.TakeSnapshot();
}

Workaround:

public class CustomWebCam : RadWebCam
{
    public override void TakeSnapshot()
    {
        FieldInfo fi = typeof(RadWebCam).GetField("player", BindingFlags.NonPublic | BindingFlags.Instance);
        object value = fi.GetValue(this);

        if (value == null)
        {
            return;
        }

        PropertyInfo propertyInfo = value.GetType().GetProperty("EvrVideoDisplay", BindingFlags.NonPublic | BindingFlags.Instance);
        value = propertyInfo.GetValue(value, null);

        if (value == null)
        {
            return;
        }

        base.TakeSnapshot();
    }
}

Completed
Last Updated: 19 Mar 2020 14:42 by ADMIN
Release R2 2020 (LIB 2020.1.323)

Paste some text inside RadRichTextEditor. If the text has more rows than the currently visible area you will see that the control does not scroll down to the caret position.

Workaround:

private void RadRichTextEditor1_CommandExecuted(object sender, CommandExecutedEventArgs e)
{
    if (e.Command is PasteCommand)
    {             
        Application.DoEvents();

        bool cursorAtDocEnd = this.radRichTextEditor1.Document.CaretPosition.IsPositionAtDocumentEnd;
        if (cursorAtDocEnd)
        {
            MoveCaretCommand command = new MoveCaretCommand(this.radRichTextEditor1.RichTextBoxElement);
            command.Execute(MoveCaretDirections.Down);
        }
    }
}

 

1 2 3 4 5 6