Desislava Yordanova
Team Member

FIX. RadLabel - blurred text in disabled state when the UseCompatibleTextRendering property is set to false

Workaround: set UseCompatibleTextRendering to true.
Bug Report by Desislava Yordanova Status: New Comments: 0 Attachments: 2 Category: Label Scheduled for: Not Scheduled Last update: 2017-04-24T11:08:56 by Desislava Yordanova
0
Dimitar Karamfilov
Team Member

ADD. RadRichTextEditor - add support for shapes.

Add support for shapes.

Note that text content in shapes (represented with <wps:txbx>, <w:txbxContent> tags in OOXML) are also part of this request. In MS Word, text content could be inserted using Insert -> Text -> Text Box drop down, or through a shape's context menu -> Add Text.
Feature Request by Dimitar Karamfilov Status: Approved Comments: 0 Category: RadRichTextEditor Scheduled for: Not Scheduled Last update: 2017-04-24T10:40:26 by Borislav Ivanov
0
Dimitar Karamfilov
Team Member

FIX. RadRichTextEditor - the comments buttons in the RibbonUI are not working properly.

To reproduce:
- Add some comments and try to navigate through them.
- Try add or show/hide the comments while the cursor is in one of the comments.

Workaround:
Create a custom RichTextEditorRibbonBar
and override the following methods:

Public Class MyRichTextEditorRibbonBar
Inherits RichTextEditorRibbonBar

Protected Overrides Sub ButtonNewComment_Click(sender As Object, e As EventArgs)
Dim command As New InsertCommentCommand(Me.AssociatedRichTextEditor.RichTextBoxElement)
Me.ExecuteCommand(command)

End Sub

Protected Overrides Sub ButtonDeleteComment_Click(sender As Object, e As EventArgs)
Dim command As New DeleteCommentCommand(Me.AssociatedRichTextEditor.RichTextBoxElement)
Me.ExecuteCommand(command)
End Sub

Protected Overrides Sub ButtonPreviousComment_Click(sender As Object, e As EventArgs)
Dim command As New GoToPreviousCommentCommand(Me.AssociatedRichTextEditor.RichTextBoxElement)
Me.ExecuteCommand(command)
End Sub

Protected Overrides Sub ButtonNextComment_Click(sender As Object, e As EventArgs)
Dim command As New GoToNextCommentCommand(Me.AssociatedRichTextEditor.RichTextBoxElement)
Me.ExecuteCommand(command)
End Sub

Protected Overrides Sub ToggleButtonShowHideComments_ToggleStateChanged(sender As Object, args As StateChangedEventArgs)

Dim command As New ToggleCommentsCommand(Me.AssociatedRichTextEditor.RichTextBoxElement)
Me.ExecuteCommand(command)
End Sub

Protected Overrides Sub ButtonDeleteAllComments_Click(sender As Object, e As EventArgs)
Dim command As New DeleteAllCommentsCommand(Me.AssociatedRichTextEditor.RichTextBoxElement)
Me.ExecuteCommand(command)
End Sub

Protected Overrides Sub HandleDocumentCommandExecuted(document As RadDocument)
MyBase.HandleDocumentCommandExecuted(document)

Dim hasComments As Boolean = Me.AssociatedRichTextEditor.Document.EnumerateChildrenOfType(Of CommentRangeStart)().Count() > 0

Me.buttonPreviousComment.Enabled = hasComments
Me.buttonNextComment.Enabled = hasComments
Me.buttonDeleteComment.Enabled = hasComments
Me.buttonDeleteAllComments.Enabled = hasComments
End Sub

End Class
Bug Report by Dimitar Karamfilov Status: Approved Comments: 0 Category: RadRichTextEditor Scheduled for: Not Scheduled Last update: 2017-04-24T07:44:44 by Hristo Merdjanov
0
Ralitsa Kumanova
Team Member

ADD. RadTreeView - binding the check-boxes to support TriStateMode

Currently we do not support binding to the ToggleState.Indeterminate state automatically because it would require a change in the bbehaviorof the Checked property. If you use the CheckedMember, the ToggleState.Indeterminate state is represent like ToggleState.On.

Workaround:
Subscribe to the NodeFormatting and NodeCheckedChanged events:
void radTreeView1_NodeFormatting(object sender, Telerik.WinControls.UI.TreeNodeFormattingEventArgs e)
{
Child child = e.Node.DataBoundItem as Child;
if (child != null)
{
e.Node.CheckState = child.Status;
}
}

void radTreeView1_NodeCheckedChanged(object sender, Telerik.WinControls.UI.TreeNodeCheckedEventArgs e)
{
Child child = e.Node.DataBoundItem as Child;
if (child != null)
{
child.Status = e.Node.CheckState;
}
}
Feature Request by Ralitsa Kumanova Status: Approved Comments: 2 Category: RadTreeView Scheduled for: Not Scheduled Last update: 2017-04-24T06:22:24 by Desislava Yordanova
0
Desislava Yordanova
Team Member

FIX. RadGridView - RadShortcut for the relevant grid is not executed in a MDI child

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

1. Open two MDI child forms.
2. Activate the first form and right click on the grid in order to show the context menu and add a shortcut to the menu item. Press Ctrl+N in order to add some new rows to the first grid.
3. Activate the second form and right click on the grid in order to show the context menu and add a shortcut to the menu item. Press Ctrl+N in order to add some new rows to the second grid. However, you will notice that the first several shortcuts combinations are executed for the first grid and then for the active second grid.

Workaround: clear the shortcut when the form is deactivated:
this.Deactivate += GridForm_Deactivate;

private void GridForm_Deactivate(object sender, EventArgs e)
{
item.Shortcuts.Clear();
}

private void GridForm_Activated(object sender, EventArgs e)
{
this.ActiveControl = this.radGridView1;
}
RadMenuItem item = new RadMenuItem();
private void radGridView1_ContextMenuOpening(object sender, Telerik.WinControls.UI.ContextMenuOpeningEventArgs e)
{

item.Text = "insert row";
item.Shortcuts.Add(new RadShortcut(Keys.Control, Keys.N));
item.Click += item_Click;
e.ContextMenu.Items.Add(item);
}
Bug Report by Desislava Yordanova Status: New Comments: 0 Attachments: 2 Category: RadGridView Scheduled for: Not Scheduled Last update: 2017-04-21T06:08:35 by Desislava Yordanova
0
Desislava Yordanova
Team Member

FIX. RadGridView - editor is not closed when the user clicks the row header

To reproduce: please refer to the attached gif file.

Workaround:

public RadForm1()
{
InitializeComponent();

this.radGridView1.CellClick+=radGridView1_CellClick;
}

private void radGridView1_CellClick(object sender, Telerik.WinControls.UI.GridViewCellEventArgs e)
{
if (e.Column is Telerik.WinControls.UI.GridViewRowHeaderColumn)
{
this.radGridView1.CloseEditor();
}
}
Bug Report by Desislava Yordanova Status: Completed Comments: 0 Attachments: 1 Category: RadGridView Scheduled for: R2 2017 Last update: 2017-04-20T14:33:11 by Ralitsa Kumanova
0
Ivan Petrov
Team Member

FIX. RadRangeSelector - when associating RadChartView to a RadRangeSelector and then binding the chart the range selector does not render the inner chart.

If a RadChartView is set as the associated object of a RadRangeSelector and then is data bound the range selector does not render the chart in its inner element.

How to reproduce:
public partial class Form2 : Form
{
public Form2()
{
InitializeComponent();

this.radRangeSelector1.AssociatedControl = this.radChartView1;
}

BindingList<MyCustomObject> myList;
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);

myList = new BindingList<MyCustomObject>();
myList = new BindingList<MyCustomObject>();
myList.Add(new MyCustomObject(1, "Outdoor"));
myList.Add(new MyCustomObject(8, "Hardware"));
myList.Add(new MyCustomObject(3, "Tools"));
myList.Add(new MyCustomObject(6, "Books"));
myList.Add(new MyCustomObject(2, "Appliances"));
BarSeries barSeria = new BarSeries();
radChartView1.Series.Add(barSeria);
barSeria.DataSource = myList;
barSeria.ValueMember = "MyInt";
barSeria.CategoryMember = "MyString";
}

public class MyCustomObject : INotifyPropertyChanged
{
private int _myInt;
private string _myString;
public MyCustomObject(int myInt, string myString)
{
_myInt = myInt;
_myString = myString;
}
public int MyInt
{
get { return _myInt; }
set
{
_myInt = value;
OnPropertyChanged("MyInt");
}
}
public string MyString
{
get { return _myString; }
set
{
_myString = value;
OnPropertyChanged("MyString");
}
}
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanged(string propertyName)
{
if (PropertyChanged != null)
{
PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
}
}

Workaround:

Set the AssociatedControl property of the range selector after binding the chart
public partial class Form2 : Form
{
public Form2()
{
InitializeComponent();
}

BindingList<MyCustomObject> myList;
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);

myList = new BindingList<MyCustomObject>();
myList = new BindingList<MyCustomObject>();
myList.Add(new MyCustomObject(1, "Outdoor"));
myList.Add(new MyCustomObject(8, "Hardware"));
myList.Add(new MyCustomObject(3, "Tools"));
myList.Add(new MyCustomObject(6, "Books"));
myList.Add(new MyCustomObject(2, "Appliances"));
BarSeries barSeria = new BarSeries();
radChartView1.Series.Add(barSeria);
barSeria.DataSource = myList;
barSeria.ValueMember = "MyInt";
barSeria.CategoryMember = "MyString";

this.radRangeSelector1.AssociatedControl = this.radChartView1;
}

public class MyCustomObject : INotifyPropertyChanged
{
private int _myInt;
private string _myString;
public MyCustomObject(int myInt, string myString)
{
_myInt = myInt;
_myString = myString;
}
public int MyInt
{
get { return _myInt; }
set
{
_myInt = value;
OnPropertyChanged("MyInt");
}
}
public string MyString
{
get { return _myString; }
set
{
_myString = value;
OnPropertyChanged("MyString");
}
}
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanged(string propertyName)
{
if (PropertyChanged != null)
{
PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
}
}
Bug Report by Ivan Petrov Status: Completed Comments: 0 Category: RadRangeSelector Scheduled for: R2 2017 Last update: 2017-04-20T14:31:50 by Ralitsa Kumanova
0
Svetlin Ralchev

FIX. RadGridView - GridViewSpreadExport does not export correctly more than one child templates from second level.

GridViewSpreadExport does not export correctly more than one child templates from second level.
Bug Report by Svetlin Ralchev Status: Completed Comments: 0 Category: RadGridView Scheduled for: Q2 2015 SP1 Last update: 2017-04-20T13:05:09 by Dimitar Karamfilov
0
Desislava Yordanova
Team Member

FIX. RadCheckBox - incorrect text rendering when the UseCompatibleTextRendering property is set to true in disabled stated

Please refer to the attached sample project and gif file. The text gets clipped sometimes when resizing the form. It may become even blurry. This problem is observed with the MS Form, but it is not reproducible with RadForm.

Workaround: use a RadForm

UPDATED: a second project is attached (00393359CheckBoxDisabledUPDATED.zip). The MissingCheckBoxesText.gif illustrates the incorrect behavior. In this case, the UseCompatibleTextRendering property is set to false.
Workaround for the second case: instead of setting the RadCheckBox.Enabled property to false, disabled the check primitive and make the text gray as follows:

private void radButton1_Click(object sender, EventArgs e)
{
for (int i = 0; i < 30; i++)
{
RadCheckBox cb = new RadCheckBox();
cb.Text = "RadCheckBox " + i;
cb.Location = new Point(10, i * 30);
cb.ButtonElement.CheckMarkPrimitive .Enabled = false;
cb.ButtonElement.TextElement.ForeColor = Color.Gray;
cb.ButtonElement.ShouldHandleMouseInput = false;
cb.UseCompatibleTextRendering = false;

this.Controls.Add(cb);
}
}
Bug Report by Desislava Yordanova Status: New Comments: 0 Attachments: 4 Category: Buttons Scheduled for: Not Scheduled Last update: 2017-04-20T11:34:20 by Desislava Yordanova
0
Desislava Yordanova
Team Member

FIX. RadScheduler - changes are not stored to database

To reproduce: please refer to the attached sample project. Edit some appointment by changing its name or time slot. In the AppointmentChanged event the changes are stored to database. However, if you restart the application you will notice that the changes are not saved at all.

Workaround: call the IEditableObject.EndEdit method for the affected record before saving the changes to the database.

private void RadScheduler1_AppointmentChanged(object sender, AppointmentChangedEventArgs e)
{
IEditableObject editableObject = e.Appointment.DataItem as IEditableObject;
if (editableObject!=null)
{
editableObject.EndEdit();
}
SaveChanges();
}
Bug Report by Desislava Yordanova Status: New Comments: 0 Attachments: 1 Category: RadScheduler Scheduled for: Not Scheduled Last update: 2017-04-20T08:14:58 by Desislava Yordanova
0
Displaying items 1 - 10 of 5480