Unplanned
Last Updated: 19 Jan 2022 06:36 by ADMIN
Created by: Stoyan
Comments: 2
Category: UI for WinForms
Type: Feature Request
2
A control that can be used to display an icon in the Windows taskbar notification area.
Unplanned
Last Updated: 10 Jan 2022 06:56 by ADMIN

HI,

 

Exploring the Demo Winforms FilterView component a bug is present.

When you expand several categories ,the automatic Vertical Scroll bar is showed but the "Maximum"  property value is wrong.

You can't see all the items inside. Some items are hidden at bottom.

But if you collapse some category the new "Maximum" values takes the right previous value before collapsing showing more space as expected

I have a workaround to prevent this situation calling CategoryExpandedChanged event.

Firstly I need to call Application.DoEvents() in order to resizing internally by the component all the StackLayoutPanels connaining the Category Items 

After that, I call the private method UpdateScrollBars (Suggested by support) and the ScrollBar takes the right size for its content.

Now I can show all the contained items inside the FilterView panel.

 

FRC

 
public partial class RadForm1 : Telerik.WinControls.UI.RadForm
    {
        public RadForm1()
        {
            InitializeComponent();
            DataTable dt = new DataTable();
            for (int i = 0; i < 20; i++)
            {
                dt.Columns.Add("col" + i, typeof(string));
            }
            for (int i = 0; i < 10; i++)
            {
                DataRow r = dt.NewRow();
                foreach (DataColumn col in dt.Columns)
                {
                    r[col.ColumnName] = Guid.NewGuid().ToString();
                }
                dt.Rows.Add(r);
            }
            this.radFilterView1.DataSource = dt;
          
        }


        private void radFilterView1_CategoryCreated(object sender, Telerik.WinControls.UI.FilterView.FilterViewCategoryCreatedEventArgs e)
        {
            e.Category.ExpandedChanged += Category_ExpandedChanged;
            e.Category.Expanded = false;

        }

        private void Category_ExpandedChanged(object? sender, EventArgs e)
        {
            // You need pass the control to Windows main loop to perform the pending telerik events after property Expanded change in order to resize internally
            // the StackLayoutPanel Containers before calling UpdateScrollBars
            Application.DoEvents();
            // Now your code
            MethodInfo mi = typeof(RadFilterViewElement).GetMethod("UpdateScrollbars", BindingFlags.Instance | BindingFlags.NonPublic);
            mi.Invoke(this.radFilterView1.FilterViewElement, new object[] { this.radFilterView1.FilterViewElement.ElementsPanel.Size });
            // Hide the horizontal scrolll bar
            radFilterView1.FilterViewElement.HorizontalScrollBar.Visibility =ElementVisibility.Collapsed;
        }

    }

Completed
Last Updated: 04 Jan 2022 15:49 by ADMIN
Release R1 2022
When I select radDataLayout1 and go to the property builder and select Customize, I often get the spinning wheel forever.
Completed
Last Updated: 04 Jan 2022 13:32 by ADMIN
Release R1 2022

To reproduce:

- .NET Core version: 3.1

- Visual Studio 2022: Version 17.0.0 Preview 7.0

 - Telerik UI for WinForms version: 2021.3.1019-hotfix

1. Create a new Excel-Inspared template project.

2. Select the Review tab and the Properties section try to open the Items collection.

The attached Error.gif illustrates the steps.

Workaround: use the Smart tag (see SmartTag.gif)

Planned
Last Updated: 20 Dec 2021 15:23 by ADMIN

Currently the Enabled state of the buttons is not updated: 

With this setup it is expected that the First/Previous and FastBack buttons are disabled. The same is also valid with the Last/Next and FastForward buttons when the last page is current.

A possible workaround is to handle the ViewChanged event of the template and manage the Enabled state of the buttons. Just make sure that the event is subscribed before enabling the paging: 

this.radGridView1.MasterTemplate.ViewChanged += this.MasterTemplate_ViewChanged;
this.radGridView1.EnablePaging = true;
private void MasterTemplate_ViewChanged(object sender, DataViewChangedEventArgs args)
{
    this.radGridView1.GridViewElement.PagingPanelElement.FirstButton.Enabled = true;
    this.radGridView1.GridViewElement.PagingPanelElement.PreviousButton.Enabled = true;
    this.radGridView1.GridViewElement.PagingPanelElement.FastBackButton.Enabled = true;

    this.radGridView1.GridViewElement.PagingPanelElement.LastButton.Enabled = true;
    this.radGridView1.GridViewElement.PagingPanelElement.NextButton.Enabled = true;
    this.radGridView1.GridViewElement.PagingPanelElement.FastForwardButton.Enabled = true;

    if (this.radGridView1.MasterTemplate.PageIndex == 0)
    {
        this.radGridView1.GridViewElement.PagingPanelElement.FirstButton.Enabled = false;
        this.radGridView1.GridViewElement.PagingPanelElement.PreviousButton.Enabled = false;
        this.radGridView1.GridViewElement.PagingPanelElement.FastBackButton.Enabled = false;
    }
    else if(this.radGridView1.MasterTemplate.PageIndex == this.radGridView1.MasterTemplate.TotalPages - 1)
    {
        this.radGridView1.GridViewElement.PagingPanelElement.LastButton.Enabled = false;
        this.radGridView1.GridViewElement.PagingPanelElement.NextButton.Enabled = false;
        this.radGridView1.GridViewElement.PagingPanelElement.FastForwardButton.Enabled = false;
    }
}

Unplanned
Last Updated: 07 Dec 2021 11:10 by ADMIN

Write an Appium test that validates radGridViews' empty cell Text

You will see that the Text property contains the following information: "Row x Column y Value z"

x = row of the cell
y = column of the currently selected cell
z = value of the currently selected cell

instead of simply being either null or an empty string.


 

Workaround:

Instead of validating cell[index].Text, validate cell[index].GetAttribute("Value.Value").

Completed
Last Updated: 01 Dec 2021 13:53 by ADMIN
Release R1 2022

1. Target Framework .NET6 and VS 2022 17.0.1:

2. Install UI.for.WinForms.AllControls.Net60 version 2021.3.1123:

3. Double click the form to open the designer:

4. First try dragging a RadGridView from the toolbox:

5. Install the Nuget package for the toast notification:

6. Install Microsoft.Toolkit.Uwp.Notifications version 7.0.0:

Please make sure that the C:\Program Files (x86)\Progress\ToolboxNuGetPackages folder doesn't contain anything and it is empty. If there is any version available there, please delete it. 

7. Now, try opening the designer. It never loads:

 

 

Unplanned
Last Updated: 30 Nov 2021 14:11 by ADMIN

In English: "dog's" is marked as incorrect

In French: "L'ordinateur" is marked as incorrect

 

Completed
Last Updated: 29 Nov 2021 11:16 by ADMIN
Release R1 2022
Created by: Al
Comments: 1
Category: UI for WinForms
Type: Feature Request
1
Request read only property on the RadMultiColumnComboBox control
Declined
Last Updated: 20 Nov 2021 06:26 by ebrahim
Created by: ebrahim
Comments: 2
Category: UI for WinForms
Type: Bug Report
0

Hi, when I select a date in the calendar and want to display it in a box, it also displays the base date each time I select a date.

First select the correct date but by selecting the same date show RangMinDate

my code is

private void radCalendar1_SelectionChanged(object sender, EventArgs e)
        {



            label1.Text = radCalendar1.SelectedDate.ToString();

        }

 

 

                        
Unplanned
Last Updated: 17 Nov 2021 11:18 by ADMIN
Created by: John
Comments: 1
Category: UI for WinForms
Type: Feature Request
1
Currently it is not possible to select the items added to RadCommandBar, RadRibbonBar or RadMenu.
Unplanned
Last Updated: 10 Nov 2021 14:41 by ADMIN
Created by: n/a
Comments: 0
Category: UI for WinForms
Type: Bug Report
1

The writing-mode attribute is ignored when rendering RadSvgImage. 
Here is a sample SVG:

<svg width="200" height="200" viewBox="0 0 200 200" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g>
    <text style="font-size:20px;writing-mode:tb;" x="30" y="30">
        Vertical text
    </text>
    <text style="font-size:20px;writing-mode:vertical-lr;" x="50" y="50">
        Text 2
    </text>
</g>
</svg>
RadSvgImage renders horizontal text:


The Edge browser renders it correctly:
image

 

 

Completed
Last Updated: 09 Nov 2021 09:01 by ADMIN
Release R3 2021 SP1

The snap layouts window can be opened by using the Win+Z keyboard combination, but when the mouse is over the Maximize button of RadForm, the window is not shown.
MSDN information is available here: https://docs.microsoft.com/en-us/windows/apps/desktop/modernize/apply-snap-layout-menu

Following the guides from MSDN, we need to override the WndProc method of the form, listen to the WM_NCHITTEST message, and return HTMAXBUTTON result when the mouse is over the maximize button.


private const int HTMAXBUTTON = 9;
protected override void WndProc(ref Message m)
{
    if (m.Msg == NativeMethods.WM_NCHITTEST)
    {
        // Get the hit test location from message parameters
        Point location = this.ParseIntPtr(m.LParam);
        location = this.GetMappedWindowPoint(location);

        // Get the hit tested element and check if it is the Maximize button
        RadElement element = this.ElementTree.GetElementAtPoint(location);
        if (element == this.FormElement.TitleBar.MaximizeButton)
        {
            m.Result = new IntPtr(HTMAXBUTTON);
            return;
        }
    }

    base.WndProc(ref m);
}

private Point ParseIntPtr(IntPtr param)
{
    if (IntPtr.Size == 4) //x86
    {
        return new Point(param.ToInt32());
    }
    else //x64
    {
        long intParam = param.ToInt64();
        short x = (short)intParam;
        short y = (short)(intParam >> 16);
        return new Point(x, y);
    }
}

protected virtual Point GetMappedWindowPoint(Point screenPoint)
{
    NativeMethods.POINT inputPoint = new NativeMethods.POINT();
    inputPoint.x = screenPoint.X;
    inputPoint.y = screenPoint.Y;

    if (this.IsHandleCreated)
    {
        NativeMethods.MapWindowPoints(new HandleRef(this, IntPtr.Zero), new HandleRef(this, this.Handle), inputPoint, 1);
    }

    return new Point(
    inputPoint.x + this.FormBehavior.ClientMargin.Left,
    inputPoint.y + this.FormBehavior.ClientMargin.Top);
}

              
Completed
Last Updated: 04 Nov 2021 11:50 by ADMIN
Release R3 2021 SP1
 The WorkbookContentChanged event is invoked right after importing a document. 
Completed
Last Updated: 02 Nov 2021 16:20 by ADMIN
Release R3 2021 SP1
Created by: Igo
Comments: 0
Category: UI for WinForms
Type: Bug Report
0

1. Run Telerik Theme Viewer app

2. Set Office2019Dark theme

3. Navigate to "Item Containers" tab

You will see that radTreeView does not display nodes.

 

Workaround:

this.radTreeView1.FullRowSelect = false;

Completed
Last Updated: 21 Oct 2021 10:28 by ADMIN
Release R3 2021 SP1
Created by: Frank
Comments: 0
Category: UI for WinForms
Type: Bug Report
0
'Parameter is not valid.' exception is thrown, when loading a file dialog. The exception is thrown, when trying to retrieve icons for the files and folders in the dialog.
Unplanned
Last Updated: 21 Oct 2021 06:39 by ADMIN
Created by: Dave
Comments: 4
Category: UI for WinForms
Type: Feature Request
0
This aggregate function should count all the distinct values.
Completed
Last Updated: 20 Oct 2021 10:32 by ADMIN
Release R3 2021 SP1
To reproduce:
Add several RadTreeNodes to RadTreeView and then call the Clear method of the control.
Completed
Last Updated: 20 Oct 2021 09:37 by ADMIN
Release R3 2021 SP1
Documents with very small container bounds may fail to load.
Completed
Last Updated: 19 Oct 2021 15:41 by ADMIN
Release R3 2021 SP1
1. Create a new windows forms .net 5.0 project

2. Add a richtexteditor control to the form

3. Set IsSpellCheckingEnabled = true

4. Run the project, type invalid word in text box.  The text is not spell-checked.
1 2 3 4 5 6