Completed
Last Updated: 06 Feb 2019 12:38 by ADMIN
Created by: Valeriane
Comments: 4
Category: GanttView
Type: Bug Report
1

Hey,

 

We have a problem with the GanttViewTimeLineContainer as you see in the screeshot  : gantt_print2.png

When we are in TimeLineRange = TimeRange.Year and we print the gantt, we have a problem with the appearence of GanttViewTimeLineContainer, we can see the first line with the year (it's ok) but after, the second line we can see a reperition of all month : jfmamjjasond jfmamjjasond jfmamjjasond jfmamjjasond etc etc etc

Can we change the appearence ? Do you have an explanation for this visualization ? 

 

Thank you,

Regards,

Valériane E.

Completed
Last Updated: 06 Feb 2019 12:02 by ADMIN

To reproduce:

- add a drop-down list to a form and set the AutoCompleteMode to suggest

- set the theme to Fluent

- the drop-down list is higher than the other editor

Completed
Last Updated: 06 Feb 2019 11:32 by ADMIN
Created by: Gianluca Mariani
Comments: 6
Category: UI for WinForms
Type: Bug Report
1

Hello,

I have a very simple form that has this code:

 

public partial class RadForm1 : Telerik.WinControls.UI.RadForm
{
    public RadForm1()
    {
        InitializeComponent();
 
        ThemeResolutionService.ApplicationThemeName = "Fluent";
    }
 
    private void radButton1_Click(object sender, EventArgs e)
    {
        SetStartForm(false);
    }
 
    private void SetStartForm(bool visible)
    {
        this.radGroupBox1.Visible = visible;
    }
 
    private void radButton2_Click(object sender, EventArgs e)
    {
        SetStartForm(true);
    }
}

 

At the start it call the SetStartForm() method that with a lot of other things hide the groupbox.

Well after a search when a user click again the button "Nuova Ricerca" I call again SetStartForm() but the components rendering remain with the border. Please see the video:

//video has been deleted due to sensitive data.

How can I solve that? Thanks

Approved
Last Updated: 06 Feb 2019 09:44 by ADMIN

Steps:

1) Add a RadForm with a button and a ListView in DetailView mode.

2) Add some columns. Add some items with values for each cell.

3) Apply Fluent Theme to all controls.

4) In the click handler of the button clear the listview items collection.

5) Run the app, select a row. Click the button to clear the list.

 

Desired Result:

The listview should have a consistent column highlight style between the default Rad theme and Fluent Theme, and/or MS WinForms.

 

Actual Result:

See attachment. The associated column of the selected cell is highlighted but only in the Fluent Theme, and it remains highlighted even in an empty listview. My user's are confused and complaining.

Not sure why Fluent is highlighting columns when the default theme doesn't.

 

Work Around:

Loop through all of the listview headers and reset the colors.

            foreach(var item in this.radListView1.RootElement.ChildrenHierarchy)
            {
                if (item is DetailListViewHeaderCellElement)
                {
                    var Header = item as DetailListViewHeaderCellElement;
                    Header.BackColor = SystemColors.Control;
                    Header.ForeColor = SystemColors.ControlText;
                }
            }
New
Last Updated: 06 Feb 2019 09:36 by ADMIN
Created by: n/a
Comments: 4
Category: UI for WinForms
Type: Feature Request
1
The new series will be similar to the RadarColumnSeries which is already available. https://docs.telerik.com/devtools/aspnet-ajax/controls/htmlchart/chart-types/polar-chart
Declined
Last Updated: 05 Feb 2019 16:46 by Fabrice
Created by: Fabrice
Comments: 3
Category: Panel, CollapsiblePanel, Label, GroupBox
Type: Bug Report
1

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

Completed
Last Updated: 05 Feb 2019 15:48 by ADMIN
Hide Item option in the context menu should not be present for those items. We should also consider a cancellable ItemHiding event. The custom control below handles this scenario:

public class CustomRadLayoutControl : RadLayoutControl
{
    public override string ThemeClassName
    {
        get
        {
            return typeof(RadLayoutControl).FullName;
        }
    }

    protected override void InitializeDropDownMenu()
    {
        FieldInfo hideMenuItemFi = typeof(RadLayoutControl).GetField("hideMenuItem", BindingFlags.Instance | BindingFlags.NonPublic);
        RadMenuItem hideMenuItem = hideMenuItemFi.GetValue(this) as RadMenuItem;

        if (hideMenuItem == null)
        {
            hideMenuItemFi.SetValue(this, new RadMenuItem(LayoutControlLocalizationProvider.CurrentProvider.GetLocalizedString(LayoutControlStringId.ContextMenuCustomize)));
            hideMenuItem = hideMenuItemFi.GetValue(this) as RadMenuItem;
        }

        hideMenuItem.Click += customizeItem_Click;

        RadDropDownMenu menu = typeof(RadLayoutControl).GetField("dropDownMenu", BindingFlags.Instance | BindingFlags.NonPublic).GetValue(this) as RadDropDownMenu;
        menu.Items.Add(hideMenuItem);
    }

    private void customizeItem_Click(object sender, EventArgs e)
    {
        if (this.AllowCustomize)
        {
            this.ShowCustomizeMenuDialog();
        }
    }

    private void ShowCustomizeMenuDialog()
    {
        if (this.CustomizeDialog.Visible)
        {
            return;
        }

        this.ShowCustomDragOverlay();
        this.CustomizeDialog.Owner = this.FindForm();
        ThemeResolutionService.ApplyThemeToControlTree(this.CustomizeDialog, this.ThemeName);

        if (this.CustomizeDialog.Location == Point.Empty)
        {
            this.CustomizeDialog.Location = GetInitialCustomizeDialogLocation();
        }

        this.CustomizeDialog.Show();
        this.CustomizeDialog.RightToLeft = this.RightToLeft;
    }

    private void ShowCustomDragOverlay()
    {
        FieldInfo dragOverlayFi = typeof(RadLayoutControl).GetField("dragOverlay", BindingFlags.Instance | BindingFlags.NonPublic);
        LayoutControlDraggableOverlay dragOverlay = dragOverlayFi.GetValue(this) as LayoutControlDraggableOverlay;

        if (dragOverlay == null)
        {
            dragOverlayFi.SetValue(this, new CustomLayoutControlDraggableOverlay(this));
            dragOverlay = dragOverlayFi.GetValue(this) as LayoutControlDraggableOverlay;
        }

        dragOverlay.ThemeName = this.ThemeName;
        dragOverlay.UpdatePreview();

        dragOverlay.Dock = DockStyle.Fill;
        ((RadLayoutControlControlCollection)this.Controls).AddInternal(dragOverlay);
        dragOverlay.Visible = true;
        dragOverlay.BringToFront();
        this.PerformLayout();
        this.Refresh();
    }

}

public class CustomLayoutControlDraggableOverlay : LayoutControlDraggableOverlay
{
    private RadMenuItem hideMenuItem;


    public CustomLayoutControlDraggableOverlay(RadLayoutControl owner) 
        : base(owner)
    {
        RadDropDownMenu contextMenu = typeof(LayoutControlDraggableOverlay).GetField("contextMenu", BindingFlags.Instance | BindingFlags.NonPublic).GetValue(this) as RadDropDownMenu;
        contextMenu.Items.Clear();

        this.hideMenuItem = new RadMenuItem(LayoutControlLocalizationProvider.CurrentProvider.GetLocalizedString(LayoutControlStringId.ContextMenuHideItem));
        this.hideMenuItem.Text = LayoutControlLocalizationProvider.CurrentProvider.GetLocalizedString(LayoutControlStringId.ContextMenuHideItem);
        this.hideMenuItem.Click += hideMenuItem_Click;
        contextMenu.Items.Add(hideMenuItem);
        contextMenu.DropDownOpening += ContextMenu_DropDownOpening;
    }

    private void ContextMenu_DropDownOpening(object sender, CancelEventArgs e)
    {
        if (this.SelectedItems.Count == 1 && this.SelectedItems[0].Name == "layoutControlItem4")
        {
            e.Cancel = true;
        }
    }

    private void hideMenuItem_Click(object sender, EventArgs e)
    {
        foreach (DraggableLayoutControlItem item in this.SelectedItems)
        {
            if (item.Name == "layoutControlItem4")
            {
                continue;
            }

            ((CustomRadLayoutControl)this.Owner).HideItem(item.AssociatedItem);
        }

        this.UpdatePreview();
    }
}
Completed
Last Updated: 05 Feb 2019 15:11 by ADMIN

Until released the text can be cleared this way:

GridSearchCellElement searchCell = this.radGridView1.TableElement.FindDescendant<GridSearchCellElement>();
if (searchCell != null)
{
    searchCell.SearchTextBox.Text = "";
}

Completed
Last Updated: 05 Feb 2019 14:59 by ADMIN
Approved
Last Updated: 05 Feb 2019 14:37 by ADMIN

Steps to reproduce:

1) Add a RadForm with 3 buttons. Apply Fluent Theme to all.

2) In the click handler of the first two buttons, set enable to false for the button that was clicked. Third button, do nothing.

3) Run app. Click all 3 buttons.

 

Desired Result:

Focus indicator should be hidden for previous-focused but now-disabled controls.

 

Actual Result:

Blue Fluent focus-indicator border is still showing (my user's are confused and complaining), see attachment.

[May happen on other themes too, didn't check.]

 

Had to implement a work-around...

 

Work around: 

Set border element to off for every programmatically disabled control: this.radButton1.ButtonElement.BorderElement.Visibility = ElementVisibility.Hidden;

Completed
Last Updated: 05 Feb 2019 14:32 by ADMIN

To reproduce:

- Open the Excel-like filtering example in the demo application and sort the second column. 

- The sort icon is over the text. 

Workaround:

private void RadGridView1_SortChanged(object sender, Telerik.WinControls.UI.GridViewCollectionChangedEventArgs e)
{
    this.radGridView1.TableElement.Update(GridUINotifyAction.StateChanged);
}

Completed
Last Updated: 05 Feb 2019 14:29 by ADMIN
To reproduce: Initially, the row at index 0 is white, when you move it to index 5 it is still white until you hover it:

        public RadForm1()
        {
            InitializeComponent();

            this.radGridView1.Columns.Add("Data");
            for (int i = 0; i < 100; i++)
            {
                this.radGridView1.Rows.Add(i);
            }
            this.radGridView1.EnableAlternatingRowColor = true;
            this.radGridView1.TableElement.AlternatingRowColor = Color.Aqua;
        }
        
        private void radButton1_Click(object sender, EventArgs e)
        {
            this.radGridView1.Rows.Move(0, 5);
        }

Workaround:

        private void radButton1_Click(object sender, EventArgs e)
        {
            this.radGridView1.Rows.Move(0, 5);
            this.radGridView1.Rows[5].InvalidateRow();
        }
New
Last Updated: 05 Feb 2019 10:16 by Riziq

Workaround:

private void RadDropDownButton1_DropDownOpening(object sender, EventArgs e)
{
    var args = e as RadPopupOpeningEventArgs;
    var popupSize = radDropDownButton1.DropDownButtonElement.DropDownMenu.Size;
    var x = args.CustomLocation.X - (popupSize.Width - radDropDownButton1.Width);
    args.CustomLocation = new Point(x, args.CustomLocation.Y);
}

New
Last Updated: 05 Feb 2019 06:28 by ADMIN

hi,

when upgrading from telerik winforms r3 sp1 2018 to r1 2019 using vb.net 2012 i received an error

what is we have to do

regards

Approved
Last Updated: 03 Feb 2019 12:25 by Ioannis
Created by: Ioannis
Comments: 3
Category: Spreadsheet
Type: Bug Report
1

Hello,

 

So here's what happens. I create a workbook and a worksheet in that wb which I assign as the workbook of a RadSpreadSheet by RadSpreadSheet..Workbook = wb

The first time I assign a name to the first (and only sheet) created in the creation of the wb, the name does appear on that sheet.

Then some code takes this workbook ByVal, creates a new Sheet, makes that sheet the wb's ActiveWorksheet and then changes the ws's name.

You can see in the debugging that the worksheet does have the new name i put there ("2018-05"), but visually this 2nd worksheet has the default name "sheet 2".

Then that wb which is returned by the function is assigned as the RadSpreadSheet's workbook

If I run the code again, so a 3rd sheet is created, then the 3rd sheet will visually have the default name "sheet 3", however in the debugger it says "2018-06" as its name; but most importantly, now sheet 2 has magically changed to what I was seeing its name to be in the debugger ("2018-05").

 

I'm assuming that If I'm changing the sheet names at runtime, I need to call some method on the Workbook element or something like that in order to update the names. I just couldn't find which method to call.

 

Best regards,

Ioannis Mamalikidis.

Approved
Last Updated: 01 Feb 2019 10:47 by ADMIN
Created by: Steve
Comments: 0
Category: UI for WinForms
Type: Feature Request
3
Add support for visualizing and editing charts.
Completed
Last Updated: 31 Jan 2019 13:29 by ADMIN
Created by: Shawn
Comments: 2
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.

Approved
Last Updated: 31 Jan 2019 13:07 by Dimitar
ADMIN
Created by: Dimitar
Comments: 1
Category: PdfViewer
Type: Bug Report
4
Currently, Tab selects the next control.

Attached is sample PDF document. 
Completed
Last Updated: 31 Jan 2019 12:12 by ADMIN
Created by: Ioannis
Comments: 12
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.