Approved
Last Updated: 28 Feb 2018 11:41 by ADMIN
It would be more convenient to the end user to have a single checkbox in the header of RadListView(DetailsView) which will check/uncheck all the items in RadListView. Also, the group items should have a checkbox which checks/unchecks all the items in that group.
Completed
Last Updated: 12 Feb 2018 14:58 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Sr.
Comments: 0
Category:
Type: Bug Report
1
To reproduce: run the attached sample project. Note that if the exceptions are enabled a ParserException will be shown. Pressing 'Continue' will show the list view will all data as if no filter is applied.
Completed
Last Updated: 30 Nov 2017 08:29 by ADMIN
CheckAllItemCheckedChanging and CheckAllItemCheckedChanged events will be used to detect when the user checks/unchecks the "Check All" item. In the CheckAllItemCheckedChanging event it is necessary to able able to cancel the operation. In the CheckAllItemCheckedChanged event all Items should be already checked/unchecked and the CheckedItems collection must be correct.
Completed
Last Updated: 30 Nov 2017 08:28 by ADMIN
To reproduce:

        public RadForm1()
        {
            InitializeComponent();

            for (int i = 0; i < 10; i++)
            {
                this.radCheckedDropDownList1.Items.Add("Item" + i, i % 2 == 0);
            }
            this.radCheckedDropDownList1.ShowCheckAllItems = true;
        }

Workaround:

        public RadForm1()
        {
            InitializeComponent();
           
            this.radCheckedDropDownList1.ShowCheckAllItems = true;
            for (int i = 0; i < 10; i++)
            {
                this.radCheckedDropDownList1.Items.Add("Item" + i, i % 2 == 1);
            }
            CheckedItemTraverser traverser = this.radCheckedDropDownList1.ListElement.Scroller.Traverser as CheckedItemTraverser;
            this.radCheckedDropDownList1.ItemCheckedChanging += radCheckedDropDownList1_ItemCheckedChanging;
            traverser.CheckAllItem.Checked = false;
            this.radCheckedDropDownList1.ItemCheckedChanging -= radCheckedDropDownList1_ItemCheckedChanging;
        }

        private void radCheckedDropDownList1_ItemCheckedChanging(object sender, RadCheckedListDataItemCancelEventArgs e)
        {
            if (e.Item.Text != "Check All")
            {
                e.Cancel = true;
            }
        }
Completed
Last Updated: 28 Nov 2017 06:45 by ADMIN
If you try to change the MinimumSize at design time, the first entered value is serialized and it can't be changed further. 

Workaround: manipulate the size programmatically at run time.
Completed
Last Updated: 28 Nov 2017 06:45 by ADMIN
To reproduce: populate RadListView with data and enable editing. Allow multiline text for the editor

        private void radListView1_EditorInitialized(object sender, Telerik.WinControls.UI.ListViewItemEditorInitializedEventArgs e)
        {
            ListViewTextBoxEditor editor = e.Editor as ListViewTextBoxEditor;
            if (editor!=null)
            {
                editor.Multiline = true;
                editor.AcceptsReturn = true;
            }
        }

Workaround:
        private void radListView1_EditorRequired(object sender, ListViewItemEditorRequiredEventArgs e)
        {
             e.Editor = new CustomListViewTextBoxEditor();
        }


        public class CustomListViewTextBoxEditor : ListViewTextBoxEditor
        {
            protected override void OnKeyDown(KeyEventArgs e)
            {
                if (e.KeyCode== Keys.Enter && e.Modifiers== Keys.Shift)
                {
                    return;
                }
                base.OnKeyDown(e);
            }
        }
Completed
Last Updated: 28 Nov 2017 06:43 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Sr.
Comments: 0
Category:
Type: Bug Report
1
To reproduce: use the following code to populate RadCheckedListBox:
            for (int i = 0; i < 10; i++)
            {
                this.radCheckedListBox1.Items.Add("Item" + i); 
            }
             this.radCheckedListBox1.Items[3].Enabled = false;

Handle the SelectedIndexChanged event:
        private void radCheckedListBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            Console.WriteLine(this.radCheckedListBox1.SelectedIndex);
        }

If you run the application and navigate through the items by using the arrow keys you will notice that the SelectedIndexChanged event will be fired for the disabled item. Although it is not visually selected, the SelectedIndex of the control confirms that it is selected. Then, if you press the Space key you will notice that it is toggled.

Workaround: in order to prevent selecting a disabled item you can cancel the SelectedItemChanging event:

        private void radCheckedListBox1_SelectedItemChanging(object sender, Telerik.WinControls.UI.ListViewItemCancelEventArgs e)
        {
            if (e.Item.Enabled==false)
            {
                e.Cancel = true;
            }
        }
Completed
Last Updated: 12 Oct 2017 12:03 by ADMIN
The  end user should be able to resize this window when using HDPI for example.
Completed
Last Updated: 15 Aug 2017 10:54 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Sr.
Comments: 0
Category:
Type: Bug Report
2
Workaround:
 private void RadForm1_Load(object sender, EventArgs e)
        {
            RadImageShape hint = this.radListView1.ListViewElement.ViewElement.DragHint;
            ThemeResolutionService.ApplicationThemeName = "VisualStudio2012Light";
            this.radListView1.ListViewElement.ViewElement.DragHint = hint;
        }
Approved
Last Updated: 15 Aug 2017 10:08 by ADMIN
Add StartsWith  autocomplete mode as in the RadDropDownList.
Approved
Last Updated: 15 Aug 2017 10:08 by ADMIN
Approved
Last Updated: 15 Aug 2017 09:41 by ADMIN
Add the ability to resize all columns to fill the available space, same as the AutoSizeColumnsMode property of RadGridView
Approved
Last Updated: 15 Aug 2017 09:33 by ADMIN
Currently, when you edit the Columns collection of RadListView, you cannot change the Name of the newly added columns.
Completed
Last Updated: 15 Aug 2017 08:14 by ADMIN
Completed
Last Updated: 15 Aug 2017 08:13 by ADMIN
To reproduce:

public RadForm1()
{
    InitializeComponent();

    BindingList<Item> items = new BindingList<Item>();
    for (int i = 0; i < 10; i++)
    {
        items.Add(new Item(i,"Item" + i));
    }
    this.radListView1.DataSource = items;
    this.radListView1.ViewType = Telerik.WinControls.UI.ListViewType.DetailsView;
}

public class Item
{
    public int Id { get; set; }
    
   [DisplayName("MyName")]
    public string Name { get; set; }

    public Item(int id, string name)
    {
        this.Id = id;
        this.Name = name;
    }
}

Workaround: don't use the DisplayName attribute but change the column's header name in the ColumnCreating event:

private void radListView1_ColumnCreating(object sender, Telerik.WinControls.UI.ListViewColumnCreatingEventArgs e)
{
    if (e.Column.Name == "Name")
    {
        e.Column.HeaderText = "My Name";
    }
}
Completed
Last Updated: 03 Aug 2017 09:56 by ADMIN
Take the following case for example: 

A RadListView with AllowArbitraryItemHeight property set to true and using the following visual and data items:

public class TextBoxListDataItem : ListViewDataItem
{
    public DateTime Date { get; set; }


    public TextBoxListDataItem(DateTime date, string text)
        : base(text)
    {
        this.Date = date;
    }
}


public class TextBoxListItem : SimpleListViewVisualItem
{
    private DockLayoutPanel dockPanel;
    private LightVisualElement dateElement;
    private RadTextBoxControlElement textBox;


    protected override void CreateChildElements()
    {
        base.CreateChildElements();


        this.dockPanel = new DockLayoutPanel()
        {
            LastChildFill = true
        };


        this.Children.Add(this.dockPanel);


        this.dateElement = new LightVisualElement();
        this.dateElement.ForeColor = Color.Green;
        this.dateElement.ShouldHandleMouseInput = false;
        this.dateElement.NotifyParentOnMouseInput = true;
        DockLayoutPanel.SetDock(this.dateElement, Telerik.WinControls.Layouts.Dock.Left);
        this.dockPanel.Children.Add(this.dateElement);


        this.textBox = new RadTextBoxControlElement();
        this.textBox.IsReadOnly = true;
        this.textBox.ShouldHandleMouseInput = true;
        this.textBox.Multiline = true;
        this.textBox.Click += textBox_Click;
        this.dockPanel.Children.Add(this.textBox);
    }


    void textBox_Click(object sender, EventArgs e)
    {
        (this.ElementTree.Control as RadListView).SelectedItem = this.dataItem;
    }


    protected override void SynchronizeProperties()
    {
        base.SynchronizeProperties();


        base.Text = string.Empty;


        TextBoxListDataItem data = this.dataItem as TextBoxListDataItem;
        this.dateElement.Text = data.Date.ToShortDateString();
        this.textBox.Text = data.Text;
        this.textBox.BorderColor = Color.Transparent;
        this.textBox.BackColor = this.BackColor;
        this.textBox.BackColor2 = this.BackColor2;
        this.textBox.BackColor3 = this.BackColor3;
        this.textBox.BackColor4 = this.BackColor4;
    }


    protected override Type ThemeEffectiveType
    {
        get
        {
            return typeof(SimpleListViewVisualItem);
        }
    }
}



When you run the code you will notice that the TextBoxControlElement has more lines than needed. This can be workarounded by changing the ItemSize property manually when the Size of the ListView changes, however this should not be required.


Completed
Last Updated: 19 Jun 2017 12:12 by ADMIN
By default, when RadCheckedDropDownList has fewer items than the specified maximum items, the popup is sized considering the items count. However, when you set the ShowCheckAllItems property to true, this add one item more which is not calculated in the popup's size. Please refer to the attached sample project.

Workaround: set the DropDownHeight property:    this.radCheckedDropDownList1.DropDownHeight = this.radCheckedDropDownList1.ListElement.ItemHeight * (this.radCheckedDropDownList1.Items.Count + 1) + 1;
      

Completed
Last Updated: 30 Mar 2017 07:54 by ADMIN
To reproduce: use the following code:

public Form1()
{
    InitializeComponent();

    for (int i = 0; i < 200; i++)
    {
        this.radCheckedDropDownList1.Items.Add("Item" + i);
    }
}

private void radButton1_Click(object sender, EventArgs e)
{
    this.radCheckedDropDownList1.ListElement.BeginUpdate();
    foreach (RadCheckedListDataItem item in this.radCheckedDropDownList1.Items)
    {
        if (item.Index % 2 == 0)
        {
            item.Checked = true; 
        }
    }
    this.radCheckedDropDownList1.ListElement.EndUpdate();
}

private void radButton2_Click(object sender, EventArgs e)
{
    BindingList<RadCheckedListDataItem> checkedItems = new BindingList<RadCheckedListDataItem>();
    for (int i = 0; i < this.radCheckedDropDownList1.CheckedItems.Count; i++)
    {
        checkedItems.Add(this.radCheckedDropDownList1.CheckedItems[i]);
    }
    
    this.radCheckedDropDownList1.ListElement.BeginUpdate();
    while (checkedItems.Count > 0)
    {
        this.radCheckedDropDownList1.Items.Remove(checkedItems[0]);
        checkedItems.RemoveAt(0);
    }
 
    this.radCheckedDropDownList1.ListElement.EndUpdate();
}

Click the first button to check half of the items. Then click the second button to remove the checked items. In order to optimise performance, the items removing is put in a Begin/EndUpdate block. As a result the items are indeed removed fast, however, the editable part is not synced.
Approved
Last Updated: 06 Feb 2017 09:55 by ADMIN
Completed
Last Updated: 01 Nov 2016 10:36 by ADMIN
To reproduce:
- Use the details view and add some columns.
- Hide the first column and export the data.
- The header row still contains the hidden column and the data is not exported.

Workaround:
Remove the first header cell manually:

private void Renderer_WorkbookCreated(object sender, WorkbookCreatedEventArgs e)
{
    var sheet = e.Workbook.Worksheets[0] as Worksheet;
    CellIndex range = new CellIndex(0, 0);
    CellSelection selection = sheet.Cells[range];


    selection.Remove(RemoveShiftType.Left);

}