Stefan Stefanov
Team Member

ADD. RadRichTextEditor - add support for importing .doc documents

Feature Request by Stefan Stefanov Status: Approved Comments: 1 Category: RadRichTextEditor Scheduled for: Not Scheduled Last update: 2018-05-25T19:03:06 by Bruce Burge
0
Desislava Yordanova
Team Member

FIX. RadPropertyGrid - title in the help element is hidden when you set the HelpElement.MinSize property

To reproduce:

this.radPropertyGrid1.SelectedObject = this;
this.radPropertyGrid1.PropertyGridElement.SplitElement.HelpElement.MinSize = new Size(0, 60);

Please refer to the attached gif file.

Workaround:

this.radPropertyGrid1.SelectedObject = this;
this.radPropertyGrid1.PropertyGridElement.SplitElement.HelpElement.MinSize = new Size(0, 60);
this.radPropertyGrid1.PropertyGridElement.SplitElement.HelpElement.HelpTitleElement.MinSize = new Size(0,20);

this.radPropertyGrid1.PropertyGridElement.SplitElement.HelpElement.HelpTitleElement.PropertyChanged += HelpTitleElement_PropertyChanged;

private void HelpTitleElement_PropertyChanged(object sender, PropertyChangedEventArgs e)
{
if (e.PropertyName == "Bounds")
{
if (this.radPropertyGrid1.PropertyGridElement.SplitElement.HelpElement.HelpContentElement.Location.Y != 20)
{
this.radPropertyGrid1.PropertyGridElement.SplitElement.HelpElement.HelpContentElement.Location = new Point(0, 20);
}
}
}

Note: the description element may be floating but it doesn't overlap the title.
Bug Report by Desislava Yordanova Status: Approved Comments: 0 Attachments: 1 Category: RadPropertyGrid Scheduled for: R2 2018 SP1 Last update: 2018-05-25T15:26:48 by Peter Petrov
0
Dimitar Karamfilov
Team Member

ADD. RadMap - add support for OGC web map service.

In WPF this is possible with custom provider: https://www.telerik.com/forums/map-control-and-web-map-service
Feature Request by Dimitar Karamfilov Status: Approved Comments: 0 Category: RadMap Scheduled for: Not Scheduled Last update: 2018-05-25T15:20:32 by Peter Petrov
0
Dimitar Karamfilov
Team Member

FIX. RadPdfViewer - the PdfPrintPreviewDialog controls cannot be changed in an inherited form at design time.

Bug Report by Dimitar Karamfilov Status: Approved Comments: 0 Category: RadPdfViewer Scheduled for: Not Scheduled Last update: 2018-05-25T15:07:30 by Peter Petrov
0
Hristo Merdjanov
Team Member

FIX. RadGridView - the GridViewSpreadStreamExport class and its RunExportAsync method may result in incorrect exported cells of a decimal column with a custom ExcelExportType

How to reproduce:

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

this.radGridView1.DataSource = this.GetData();
this.radGridView1.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;

GridViewDecimalColumn decimalColumn = this.radGridView1.Columns[0] as GridViewDecimalColumn;
decimalColumn.DecimalPlaces = 2;
decimalColumn.FormatString = "{0:N2}";
decimalColumn.ExcelExportType = DisplayFormatType.Custom;
decimalColumn.ExcelExportFormatString = "0.000";
}

public object GridViewSpreaExport { get; private set; }

private object GetData()
{
DataTable dt = new DataTable();
dt.Columns.Add("Id", typeof(double));
dt.Columns.Add("Name", typeof(string));
dt.Columns.Add("Bool", typeof(bool));
dt.Columns.Add("Date", typeof(DateTime));

for (int i = 0; i < 100; i++)
{
dt.Rows.Add(1.10 + i, "Name " + i, i % 2 == 0, DateTime.Now.AddDays(i));
}

return dt;
}

private void radButton1_Click(object sender, EventArgs e)
{
GridViewSpreadStreamExport spreadExporter = new GridViewSpreadStreamExport(this.radGridView1);
spreadExporter.FileExportMode = FileExportMode.CreateOrOverrideFile;
SpreadStreamExportRenderer renderer1 = new SpreadStreamExportRenderer();
spreadExporter.RunExportAsync(@"..\..\exported-stream.xlsx", renderer1);

}
}

Workaround: Create a custom SpreadStreamExportRenderer

public class CustomSpreadStreamExportRenderer : SpreadStreamExportRenderer
{
public override void SetCellValue(DataType dataType, object value)
{
switch (dataType)
{
case DataType.Number:
this.SetNumberValue(value);
break;
case DataType.DateTime:
this.SetDateTimeValue(value);
break;
case DataType.Boolean:
this.SetBooleanValue(value);
break;
case DataType.Other:
if (this.SetNumberValue(value))
{
break;
}
if (this.SetDateTimeValue(value))
{
break;
}
if (this.SetBooleanValue(value))
{
break;
}

this.SetStringValue(value);
break;
case DataType.String:
default:
this.SetStringValue(value);
break;
}
}
}
Bug Report by Hristo Merdjanov Status: Approved Comments: 0 Category: RadGridView Scheduled for: Not Scheduled Last update: 2018-05-25T14:38:05 by Peter Petrov
0
Desislava Yordanova
Team Member

ADD. RadChat - emoticons support

Feature Request by Desislava Yordanova Status: Approved Comments: 1 Category: None Scheduled for: Not Scheduled Last update: 2018-05-25T14:25:34 by Peter Petrov
0
Dimitar Karamfilov
Team Member

ADD. RadPropertyGrid - add AutoSizeRows functionality.

This should work similar to RadGridView. Once should be able to manually set the height of on individual rows as well.
Feature Request by Dimitar Karamfilov Status: Approved Comments: 0 Category: RadPropertyGrid Scheduled for: Not Scheduled Last update: 2018-05-25T14:24:04 by Peter Petrov
0
Desislava Yordanova
Team Member

ADD. RadTreeView - add the option to add a root node via the context menu

Workaround:

class CustomTreeView : RadTreeView
{
//Replace the default element with the custom one
protected override RadTreeViewElement CreateTreeViewElement()
{
return new CustomTreeViewElement();
}

//Enable theming for the control
public override string ThemeClassName
{
get
{
return typeof(RadTreeView).FullName;
}
}
}

class CustomTreeViewElement : RadTreeViewElement
{
//Enable themeing for the element
protected override Type ThemeEffectiveType
{
get
{
return typeof(RadTreeViewElement);
}
}

protected override bool ProcessContextMenu(Point location)
{
RadTreeNode node = this.GetNodeAt(location);
if (node == null)
{
RadContextMenu menu = new RadContextMenu();
RadMenuItem item = new RadMenuItem();
item.Text = "Add a root node";
menu.Items.Add(item);
item.Click += item_Click;
TreeViewContextMenuOpeningEventArgs args = new TreeViewContextMenuOpeningEventArgs(node, menu);
OnContextMenuOpening(args);

if (!args.Cancel)
{
menu.Show(this.ElementTree.Control, location);
return true;
}
}
return base.ProcessContextMenu(location);
}

private void item_Click(object sender, EventArgs e)
{
this.Nodes.Add(new RadTreeNode("New root"));
}
}
Feature Request by Desislava Yordanova Status: New Comments: 1 Category: RadTreeView Scheduled for: Not Scheduled Last update: 2018-05-25T14:17:37 by Patrick Chapman
0
Desislava Yordanova
Team Member

FIX. RadTreeView - application hangs when showing a MS MessageBox in the DragEnding event

To reproduce: add some nodes to the tree view at design time

public RadForm1()
{
InitializeComponent();

this.radTreeView1.AllowDragDrop = true;
this.radTreeView1.DragEnding += radTreeView1_DragEnding;
}

private void radTreeView1_DragEnding(object sender, Telerik.WinControls.UI.RadTreeViewDragCancelEventArgs e)
{
if (MessageBox.Show("Are you sure you want to move?", "Question", MessageBoxButtons.YesNo) == System.Windows.Forms.DialogResult.No)
{
e.Cancel = true;
}
}

Then try to drag and drop a node. You will notice that the application hangs

Workaround: use RadMessageBox
Bug Report by Desislava Yordanova Status: New Comments: 1 Attachments: 1 Category: RadTreeView Scheduled for: Not Scheduled Last update: 2018-05-25T14:14:26 by Patrick Chapman
0
Dimitar Karamfilov
Team Member

FIX. RadGridView - the AlternatingRowColor is wrong when some rows are styled.

Use attached to reproduce.

Workaround:

Use CellFormatting instead of RowFormating.
Bug Report by Dimitar Karamfilov Status: In Development Comments: 0 Attachments: 2 Category: RadGridView Scheduled for: R2 2018 SP1 Last update: 2018-05-25T13:33:31 by Todor Vyagov
0
Displaying items 1 - 10 of 1214