Stefan Stefanov
Team Member

ADD. New Control - Spreadsheet UI control

Feature Request by Stefan Stefanov Status: Approved Comments: 8 Category: New Controls Scheduled for: Not Scheduled Last update: 2017-02-28T06:45:51 by Trenton Lawrence
0
Desislava Yordanova
Team Member

FIX. RadForm - the form is clipped when maximized on Windows 7 with a disabled Aero and Windows Classic Theme

To reproduce: Please refer to the attached screenshots and sample project:

1. Disable Aero
2. Change to Windows Classic
3. Run the provided project

Workaround: change to Windows 7 aero Theme with disabled transparency.
Bug Report by Desislava Yordanova Status: New Comments: 0 Attachments: 4 Category: RadForm Scheduled for: Not Scheduled Last update: 2017-02-27T14:14:38 by Desislava Yordanova
0
Hristo Merdjanov
Team Member

IMPROVE.RadRichTextEditor - mechanism for clearing the loaded custom dictionaries

Workaround:
private void ClearDictionaries(RadRichTextEditor editor)
{
var dictionaries = typeof(DocumentSpellChecker).GetField("dictionaries", BindingFlags.Instance | BindingFlags.NonPublic).GetValue(editor.SpellChecker) as Dictionary<CultureInfo, Lazy<IWordDictionary>>;
dictionaries.Clear();
var customDictionaries = typeof(DocumentSpellChecker).GetField("customDictionaries", BindingFlags.Instance | BindingFlags.NonPublic).GetValue(editor.SpellChecker) as Dictionary<CultureInfo, ICustomWordDictionary>;
customDictionaries.Clear();
}
Feature Request by Hristo Merdjanov Status: New Comments: 0 Category: RadRichTextEditor Scheduled for: Not Scheduled Last update: 2017-02-27T13:12:47 by Hristo Merdjanov
0
Dimitar Karamfilov
Team Member

FIX. CommandBarDropDownButton - when used with RightToLeft layout the popup position is wrong.

To reproduce:
- Run the attached project, maximize the form and click the drop-down buttons.

Workaround:
commandBarDropDownButton3.DropDownMenu.PopupOpening += DropDownMenu_PopupOpening;


private void DropDownMenu_PopupOpening(object sender, CancelEventArgs args)
{
var e = args as RadPopupOpeningEventArgs;
var ownerElement = (sender as RadDropDownMenu).OwnerElement;
var loc = ownerElement.ElementTree.Control.PointToScreen(ownerElement.ControlBoundingRectangle.Location);
loc.Y += ownerElement.ControlBoundingRectangle.Height;
loc.X -= ((sender as RadDropDownMenu).Width - ownerElement.ControlBoundingRectangle.Width);
e.CustomLocation = loc;

}
Feedback by Dimitar Karamfilov Status: New Comments: 0 Category: RadCommandBar Scheduled for: Not Scheduled Last update: 2017-02-27T13:09:18 by Dimitar Karamfilov
0
Stefan Stefanov
Team Member

FIX. RadDropDownList - setting the DropDownStyle to DropDown, would set the inner text box TabStop to false, hence one cannot tab through the control

Add a control to the form and set its DropDownStyle to DropDown. Afterwards, you will not be able to tab through this control
Bug Report by Stefan Stefanov Status: Completed Comments: 2 Category: RadDropDownList Scheduled for: Q2 2016 SP1 Last update: 2017-02-27T09:27:54 by Ralitsa Kumanova
0
Nikolay Diyanov

FIX. RadForm - MDI control box does not appear when MDI child forms are hidden instead of closed

MDI control box does not appear when MDI child forms are hidden istead of closed. This happens the second time you are trying to open a previously hidden form right after hiding another MDI child form.

Workaround:
First, you should add the RadMDIControlsItemExtended class to your real solution and then add the following code snippet in the constructor of the parent MDI form:
this.rbMain.RibbonBarElement.ButtonsContainer.Children.RemoveAt(2);
RadMDIControlsItemExtended MDIBox = new RadMDIControlsItemExtended();
this.rbMain.RibbonBarElement.ButtonsContainer.Children.Add(MDIBox);
MDIBox.LayoutPropertyChanged();

RadMDIControlsItemExtended.cs:

using System;
using System.Collections.Generic;
using System.Text;
using Telerik.WinControls.UI;
using System.Windows.Forms;
using Telerik.WinControls;
using System.Reflection;

namespace StandardMdiApplication
{
class RadMDIControlsItemExtended : RadMDIControlsItem
{
protected override void OnHostFormLayout()
{
base.OnHostFormLayout();

FieldInfo fi = typeof(RadMDIControlsItem).GetField("hostForm", BindingFlags.NonPublic | BindingFlags.Instance);
object o = fi.GetValue(this);
Form hostForm = (Form)o;

if (hostForm != null && hostForm.IsMdiContainer)
{
Form maximizedForm = null;
foreach (Form form in hostForm.MdiChildren)
{
if (form is ShapedForm)
{
foreach (Control mdiFormControls in form.Controls)
{
if (mdiFormControls is RadTitleBar)
{
mdiFormControls.Visible = form.WindowState != FormWindowState.Maximized;
}
}
}

if (form.WindowState == FormWindowState.Maximized && form.Visible && (maximizedForm == null || hostForm.ActiveMdiChild == form))
{
maximizedForm = form;
break;
}
}

if (maximizedForm == null)
{
this.Visibility = ElementVisibility.Collapsed;
this.InvalidateMeasure();
return;
}

FormBorderStyle borderStyle = (maximizedForm is RadFormControlBase) ? ((RadFormControlBase)maximizedForm).FormBorderStyle : maximizedForm.FormBorderStyle;

if (maximizedForm != null && maximizedForm.Visible && maximizedForm.ControlBox &&
borderStyle != FormBorderStyle.None &&
borderStyle != FormBorderStyle.SizableToolWindow &&
borderStyle != FormBorderStyle.FixedToolWindow)
{
this.Visibility = ElementVisibility.Visible;
this.InvalidateMeasure();
}
else
{
this.Visibility = ElementVisibility.Collapsed;
this.InvalidateMeasure();
}
}
}
}
}
Bug Report by Nikolay Diyanov Status: Approved Comments: 0 Category: RadForm Scheduled for: Not Scheduled Last update: 2017-02-27T06:58:35 by Ralitsa Kumanova
0
Hristo Merdjanov
Team Member

FIX. RadRibbonBar - prevent the popup of the gallery element to exceed the bounds of the screen

How to reproduce: the issue is only reproducible in client`s environment, Windows 10 build 1607
Public Class Form1

Sub New()
InitializeComponent()

End Sub

Protected Overrides Sub OnLoad(e As EventArgs)
MyBase.OnLoad(e)

Me.RadGalleryElement1.MaxRows = 1

For i As Integer = 0 To 149
Dim blueItem1 As New RadGalleryItem("", My.Resources.RibbonBar_GettingStarted_CreatingAGallery001)
Me.RadGalleryElement1.Items.Add(blueItem1)
Next
End Sub

End Class

Workaround:
Public Class Form1

Sub New()
InitializeComponent()

AddHandler Me.RadGalleryElement1.DropDownOpening, AddressOf RadGalleryElement1_DropDownOpening

End Sub

Protected Overrides Sub OnLoad(e As EventArgs)
MyBase.OnLoad(e)

Me.RadGalleryElement1.MaxRows = 1

For i As Integer = 0 To 149
Dim blueItem1 As New RadGalleryItem("", My.Resources.RibbonBar_GettingStarted_CreatingAGallery001)
Me.RadGalleryElement1.Items.Add(blueItem1)
Next
End Sub

Private Sub RadGalleryElement1_DropDownOpening(sender As Object, e As System.ComponentModel.CancelEventArgs)
Dim gallery = DirectCast(sender, RadGalleryElement)
Dim popup = gallery.GalleryDropDown.PopupElement
Dim wa = Screen.PrimaryScreen
popup.Children(0).MaxSize = New Size(0, wa.Bounds.Height)

End Sub

End Class

Bug Report by Hristo Merdjanov Status: Approved Comments: 0 Category: RadRibbonBar Scheduled for: Not Scheduled Last update: 2017-02-24T15:43:57 by Peter Petrov
0
Desislava Yordanova
Team Member

FIX. RadMultiColumnComboBox - FilterExpressionException when entering numeric field in the editable part

To reproduce: please refer to the attached sample project and try to enter some numeric value or clear the existing one. Then open the popup.

Workaround: use the custom filtering that RadGridView offers http://docs.telerik.com/devtools/winforms/gridview/filtering/custom-filtering

this.radMultiColumnComboBox1.AutoFilter = true;
FilterDescriptor filter = new FilterDescriptor();
filter.PropertyName = this.radMultiColumnComboBox1.DisplayMember;
filter.Operator = FilterOperator.Contains;
this.radMultiColumnComboBox1.EditorControl.MasterTemplate.FilterDescriptors.Add(filter);
this.radMultiColumnComboBox1.EditorControl.EnableCustomFiltering = true;
this.radMultiColumnComboBox1.EditorControl.CustomFiltering += EditorControl_CustomFiltering;

string search = string.Empty;

private void EditorControl_CustomFiltering(object sender, Telerik.WinControls.UI.GridViewCustomFilteringEventArgs e)
{
search = this.radMultiColumnComboBox1.MultiColumnComboBoxElement.EditorElement.Text;
if (search != string.Empty)
{
e.Handled = true;
e.Visible = e.Row.Cells[this.radMultiColumnComboBox1.DisplayMember].Value.ToString().Contains(search);
}
else
{
e.Handled = false;
}
}
Bug Report by Desislava Yordanova Status: Approved Comments: 0 Attachments: 1 Category: RadMultiColumnComboBox Scheduled for: R2 2017 Last update: 2017-02-24T15:24:10 by Peter Petrov
0
Hristo Merdjanov
Team Member

ADD. RadRichTextEditor - Implement Mail Merge for producing labels

Feature Request by Hristo Merdjanov Status: Approved Comments: 0 Category: RadRichTextEditor Scheduled for: Not Scheduled Last update: 2017-02-24T14:59:08 by Borislav Ivanov
0
Desislava Yordanova
Team Member

FIX. RadGridView - visual glitch when hiding the group headers of the ColumnGroupsViewDefinition

Please refer to the attached sample project and gif file illustrating the behavior.
ColumnGroupsViewDefinition view = this.radGridView1.ViewDefinition as ColumnGroupsViewDefinition;

foreach (GridViewColumnGroup group in view.ColumnGroups)
{
group.ShowHeader = false;
}

Workaround: use the ViewCellFormatting and enable the back color for the header cells that are over the hidden group headers

public RadForm1()
{
InitializeComponent();

ColumnGroupsViewDefinition view = this.radGridView1.ViewDefinition as ColumnGroupsViewDefinition ;
foreach (GridViewColumnGroup group in view.ColumnGroups)
{
group.ShowHeader = false;
}
}

private void radGridView1_ViewCellFormatting(object sender, CellFormattingEventArgs e)
{
if (e.Row is GridViewTableHeaderRowInfo && !(e.CellElement is GridColumnGroupCellElement))
{
e.CellElement.DrawFill = true;
e.CellElement.BackColor = Color.FromArgb(234, 242, 252);
e.CellElement.GradientStyle = GradientStyles.Solid;
}
else
{
e.CellElement.ResetValue(LightVisualElement.DrawFillProperty, ValueResetFlags.Local);
e.CellElement.ResetValue(LightVisualElement.BackColorProperty, ValueResetFlags.Local);
e.CellElement.ResetValue(LightVisualElement.GradientStyleProperty, ValueResetFlags.Local);
}
}
Bug Report by Desislava Yordanova Status: New Comments: 0 Attachments: 2 Category: RadGridView Scheduled for: Not Scheduled Last update: 2017-02-24T08:53:32 by Desislava Yordanova
0
Displaying items 1 - 10 of 5391