Hristo Merdjanov
Team Member

ADD. RadPageView - setting in the NavigationView allowing selection of the page view items when there is not enough space and the items container cannot fit the available space

At the moment the items in a similar setup can be navigated using the arrow keys
Feature Request by Hristo Merdjanov Status: Approved Comments: 0 Attachments: 1 Category: RadPageView Scheduled for: Not Scheduled Last update: 2018-11-16T08:26:37 by Desislava Yordanova
0
Desislava Yordanova
Team Member

FIX. TPF - pixelated Cursors.Hand should be improved

To reproduce: add a RadLabel and change its cursor to Hand.

this.radLabel1.Cursor = Cursors.Hand;

The PixelatedHandCursor.png shows the poor quality of the cursor which should be improved.

Workaround: https://stackoverflow.com/questions/6016995/un-antialiased-hand-cursor-in-windows-forms-apps/6017174#6017174

public class LinkLabelEx : RadLabel
{
private const int WM_SETCURSOR = 0x0020;
private const int IDC_HAND = 32649;

[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
private static extern IntPtr LoadCursor(IntPtr hInstance, int lpCursorName);

[DllImport("user32.dll", CharSet = CharSet.Auto)]
private static extern IntPtr SetCursor(IntPtr hCursor);

protected override void WndProc(ref Message m)
{
if (m.Msg == WM_SETCURSOR)
{
// Set the cursor to use the system hand cursor
SetCursor(LoadCursor(IntPtr.Zero, IDC_HAND));

// Indicate that the message has been handled
m.Result = IntPtr.Zero;
return;
}

base.WndProc(ref m);
}
}

The ImprovedCursorRendering.png shows the improved cursor.
Bug Report by Desislava Yordanova Status: New Comments: 0 Attachments: 2 Category: None Scheduled for: Not Scheduled Last update: 2018-11-16T07:15:20 by Desislava Yordanova
0
Desislava Yordanova
Team Member

FIX. RadGridView - missing filter results in Excel-like filtering when the decimal separator is set to ","

To reproduce: change the decimal separator to ",".

Please refer to the attached sample project and follow the steps from the attached gif file.

Workaround: change the CurrentCulture in your application in order to affect the decimal separator:
Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("en-GB");

Bug Report by Desislava Yordanova Status: Approved Comments: 0 Attachments: 3 Category: RadGridView Scheduled for: Not Scheduled Last update: 2018-11-15T13:14:09 by Peter Petrov
0
Dimitar Karamfilov
Team Member

FIX. RadTreeView - the Action parameter passed to NodeCheckedChanging/ed or AfterCheck is not correct.

To reproduce:
private void RadTreeView1_NodeCheckedChanging(object sender, Telerik.WinControls.UI.RadTreeViewCancelEventArgs e)
{
Console.WriteLine(e.Action);
}

The action is always unknown.
Bug Report by Dimitar Karamfilov Status: Approved Comments: 0 Category: RadTreeView Scheduled for: Not Scheduled Last update: 2018-11-15T11:37:16 by Desislava Yordanova
0
Hristo Merdjanov
Team Member

FIX. RadDateTimePicker - ArgumentOutOfRangeException while initializing the control with custom Mask and on Australian Windows

The issue can be reproduced with custom regional settings and the following mask: dd/MM/yyyy

Workaround: if possible please reset the DateTime region settings
Bug Report by Hristo Merdjanov Status: New Comments: 0 Category: RadDateTimePicker Scheduled for: Not Scheduled Last update: 2018-11-15T09:00:15 by Hristo Merdjanov
0
Desislava Yordanova
Team Member

FIX. RadGridView - cursor lagging while typing in the filter cell (improve filtering performance)

To reproduce: please refer to the attached sample project and follow the steps from the attached gif file.

1. Run the project and type "hana" in the second filter cell. You will notice that after a few seconds the input is handled and the grid is filtered.

Workaround: use RadVirtualGrid instead.
https://docs.telerik.com/devtools/winforms/virtualgrid/overview
https://docs.telerik.com/devtools/winforms/virtualgrid/filtering/filtering

Second workaround: https://docs.telerik.com/devtools/winforms/gridview/filtering/how-to/filter-on-enter
Bug Report by Desislava Yordanova Status: Under Review Comments: 1 Attachments: 2 Category: RadGridView Scheduled for: Not Scheduled Last update: 2018-11-15T06:38:56 by Peter Petrov
0
Desislava Yordanova
Team Member

FIX. RadGridView - broken layout of the ColumnGroupsViewDefinition when exporting with GridViewSpreadExport and some columns are hidden

To reproduce: use the following code snippet:

Sub New()

InitializeComponent()

Dim view As New ColumnGroupsViewDefinition()
view.ColumnGroups.Add(New GridViewColumnGroup("Customer Contact"))
view.ColumnGroups.Add(New GridViewColumnGroup("Details"))
view.ColumnGroups(1).Groups.Add(New GridViewColumnGroup("Address"))
view.ColumnGroups(1).Groups.Add(New GridViewColumnGroup("Contact"))
view.ColumnGroups(0).Rows.Add(New GridViewColumnGroupRow())
view.ColumnGroups(0).Rows(0).ColumnNames.Add("CompanyName")
view.ColumnGroups(0).Rows(0).ColumnNames.Add("ContactName")
view.ColumnGroups(0).Rows(0).ColumnNames.Add("ContactTitle")
view.ColumnGroups(1).Groups(0).Rows.Add(New GridViewColumnGroupRow())
view.ColumnGroups(1).Groups(0).Rows(0).ColumnNames.Add("Address")
view.ColumnGroups(1).Groups(0).Rows(0).ColumnNames.Add("City")
view.ColumnGroups(1).Groups(0).Rows(0).ColumnNames.Add("Country")
view.ColumnGroups(1).Groups(1).Rows.Add(New GridViewColumnGroupRow())
view.ColumnGroups(1).Groups(1).Rows(0).ColumnNames.Add("Phone")
view.ColumnGroups(1).Groups(1).Rows(0).ColumnNames.Add("Fax")
RadGridView1.ViewDefinition = view


End Sub

Private Sub RadForm1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Me.CustomersTableAdapter.Fill(Me.NwindDataSet.Customers)
Me.RadGridView1.BestFitColumns(BestFitColumnMode.AllCells)

RadGridView1.Columns("Fax").IsVisible = False
RadGridView1.Columns("Phone").IsVisible = False

Dim spreadExporter As GridViewSpreadExport = New GridViewSpreadExport(Me.RadGridView1)
Dim exportRenderer As New SpreadExportRenderer()
spreadExporter.HiddenColumnOption = Export.HiddenOption.ExportAsHidden
spreadExporter.FreezeHeaderRow = True
spreadExporter.ExportGroupedColumns = True
spreadExporter.ExportChildRowsGrouped = True
spreadExporter.ExportVisualSettings = True
spreadExporter.ExportHierarchy = True
spreadExporter.ExportViewDefinition = True
spreadExporter.ExportFormat = SpreadExportFormat.Xlsx
Dim fileName = "..\..\export" & DateTime.Now.ToLongTimeString().Replace(":", "_") & ".xlsx"

spreadExporter.RunExport(fileName, exportRenderer)
Process.Start(fileName)
End Sub

Workaround: instead of hiding all the columns inside a group, hide the entire group:

Sub New()

InitializeComponent()

Dim view As New ColumnGroupsViewDefinition()
view.ColumnGroups.Add(New GridViewColumnGroup("Customer Contact"))
view.ColumnGroups.Add(New GridViewColumnGroup("Details"))
view.ColumnGroups(1).Groups.Add(New GridViewColumnGroup("Address"))
view.ColumnGroups(1).Groups.Add(New GridViewColumnGroup("Contact"))
view.ColumnGroups(0).Rows.Add(New GridViewColumnGroupRow())
view.ColumnGroups(0).Rows(0).ColumnNames.Add("CompanyName")
view.ColumnGroups(0).Rows(0).ColumnNames.Add("ContactName")
view.ColumnGroups(0).Rows(0).ColumnNames.Add("ContactTitle")
view.ColumnGroups(1).Groups(0).Rows.Add(New GridViewColumnGroupRow())
view.ColumnGroups(1).Groups(0).Rows(0).ColumnNames.Add("Address")
view.ColumnGroups(1).Groups(0).Rows(0).ColumnNames.Add("City")
view.ColumnGroups(1).Groups(0).Rows(0).ColumnNames.Add("Country")
view.ColumnGroups(1).Groups(1).Rows.Add(New GridViewColumnGroupRow())
view.ColumnGroups(1).Groups(1).Rows(0).ColumnNames.Add("Phone")
view.ColumnGroups(1).Groups(1).Rows(0).ColumnNames.Add("Fax")
RadGridView1.ViewDefinition = view


view.ColumnGroups(1).Groups.Last().IsVisible=False


End Sub
Bug Report by Desislava Yordanova Status: Approved Comments: 0 Attachments: 2 Category: RadGridView Scheduled for: Not Scheduled Last update: 2018-11-14T13:05:48 by Todor Vyagov
0
Dimitar Karamfilov
Team Member

FIX. RadGridView - exception when clicking on a hidden cell

To reproduce:
- Add a checkbox column and hide some of the cells.
- Change some values and then click on empty cell.
- Exception occurs in OnMouseDownLeft method (GridRowBeahvior class)

Workaround:

Hide the checkbox only.
Bug Report by Dimitar Karamfilov Status: New Comments: 0 Category: RadGridView Scheduled for: Not Scheduled Last update: 2018-11-14T06:08:34 by Dimitar Karamfilov
0
Desislava Yordanova
Team Member

FIX. RadTreeView/RadBreadCrumb - the font of the selected menu item is with smaller font size in Material theme

To reproduce: add a RadTreeView and a RadBreadCrumb and apply the MaterialTeal theme. Refer to the attached screenshot illustrating the wrong font of the selected item.

Workaround:

public partial class RadForm1 : Telerik.WinControls.UI.RadForm
{
public RadForm1()
{
InitializeComponent();

ThemeResolutionService.ApplicationThemeName = "MaterialTeal";

this.radTreeView1.NodeFormatting += radTreeView1_NodeFormatting;
this.radTreeView1.SelectedNodeChanged += radTreeView1_SelectedNodeChanged;
}

private void UpdateFont()
{
foreach (RadSplitButtonElement item in this.radBreadCrumb1.BreadCrumbElement.Items)
{
foreach (RadMenuItem menuItem in item.Items)
{
if (this.radTreeView1.SelectedNode != null && menuItem.Text == this.radTreeView1.SelectedNode.Text)
{
menuItem.Font = new Font(f.FontFamily,f.Size, FontStyle.Bold);
}
}
}
}

private void radTreeView1_SelectedNodeChanged(object sender, Telerik.WinControls.UI.RadTreeViewEventArgs e)
{
UpdateFont();
}

Font f = null;

private void radTreeView1_NodeFormatting(object sender, Telerik.WinControls.UI.TreeNodeFormattingEventArgs e)
{
f = e.NodeElement.ContentElement.Font;
}
Bug Report by Desislava Yordanova Status: New Comments: 0 Attachments: 1 Category: RadTreeView Scheduled for: Not Scheduled Last update: 2018-11-13T13:40:43 by Desislava Yordanova
0
Dimitar Karamfilov
Team Member

FIX. RadGridView - setting the DataType of the column does not affect the sorting

To reproduce:
- Use a columns with numbers stored as string.
- Set the data type to decimal
- The columns should be sorted according to the number value not alphabetically.

Workaround:
var col = new GridViewTextBoxColumn();
col.DataTypeConverter = new DecimalConverter();
col.FieldName = "Dosage";
col.UseDataTypeConverterWhenSorting = true;
col.DataType = typeof(decimal);
radGridView1.Columns.Add(col);

public class DecimalConverter : TypeConverter
{
public override bool CanConvertTo(ITypeDescriptorContext context, Type destination_type)
{

if (destination_type == typeof(decimal))
{
return true;
}

return base.CanConvertTo(context, destination_type);
}
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destination_type)
{
if (destination_type == typeof(decimal))
{
return decimal.Parse(value.ToString());
}

return base.ConvertTo(context, culture, value, destination_type);
}
}
Bug Report by Dimitar Karamfilov Status: New Comments: 0 Category: RadGridView Scheduled for: Not Scheduled Last update: 2018-11-13T13:40:01 by Dimitar Karamfilov
0
Displaying items 1 - 10 of 1252