Unplanned
Last Updated: 18 Mar 2020 08:22 by ADMIN

To reproduce this:

  1. Set the GroupRenderMode of RadGridView to Flat.
  2. Page RadGridView using RadDataPager.
  3. Scroll to the last row in the view. Or scroll to any row so that few of the rows above are not longer visible.
  4. Expand the row details and scroll down more until only the parent row is visible.
  5. Collapse the row details. At this point, the vertical scrollbar disappears and the upper rows are not brought into the view as expected when the row details gets collapsed.

To work this around call the Rebind() method of RadGridView on RowDetailsVisibilityChanged event.

 

private void RadGridView_RowDetailsVisibilityChanged(object sender, Telerik.Windows.Controls.GridView.GridViewRowDetailsEventArgs e)
{
	if (e.Visibility == Visibility.Collapsed)
	{
		this.gridView.Rebind();
	}        
}

 

Unplanned
Last Updated: 06 Feb 2020 13:45 by ADMIN
The stroke is not rendered when the text is in XForm
Unplanned
Last Updated: 05 Feb 2020 15:06 by ADMIN
In some cases the string values in the XML attributes are not colored with the expected color, but default to black.
 
This was reproduced when there is only single quotation mark on visible on the line. And also if the count of the visible quotation marks on the line is an odd number (not always reproducible). 

Unplanned
Last Updated: 05 Feb 2020 13:51 by ADMIN
DataContext of rows is sometimes null when UI virtualization is enabled in the Flat group render mode.
Unplanned
Last Updated: 04 Feb 2020 12:38 by ADMIN

The used cell range is expanded when styles to all columns are applied and one copies an entire row.

Workaround:

private void RadSpreadsheet_WorkbookChanged(object sender, EventArgs e)
{
    var range = this.radSpreadsheet.Workbook.ActiveWorksheet.UsedCellRange;
    this.radSpreadsheet.ActiveWorksheet.Columns[range.ColumnCount + 1, SpreadsheetDefaultValues.ColumnCount - 1].Clear(ClearType.All);
}

Unplanned
Last Updated: 03 Feb 2020 11:15 by ADMIN

To reproduce:

- Select several words by holding the control key. 

- Paste some text. 

Result: the first word is replaced, the other are deleted

Expected: the text should be pasted in all selected places

Workaround:

private void RadRichTextBox_CommandExecuting(object sender, Telerik.Windows.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
{
    if (e.Command is PasteCommand)
    {
        var ranges = radRichTextBox.Document.Selection.Ranges.ToList();
        if (ranges.Count > 1)
        {
            e.Cancel = true;

            foreach (var range in ranges)
            {
                radRichTextBox.Document.Selection.Clear();
                radRichTextBox.Document.Selection.AddSelectionStart(range.StartPosition);
                radRichTextBox.Document.Selection.AddSelectionEnd(range.EndPosition);
                PasteNewText();
            }      
        }
    }
}
public void PasteNewText()
{
    DocumentFragment clipboardDocument = null;
    string clipboardText = null;
    bool clipboardContainsData = false;

    if (ClipboardEx.ContainsText(null))
    {
        clipboardText = ClipboardEx.GetText(null);
        clipboardContainsData = true;
    }

    if (!clipboardContainsData)
    {
        return;
    }

    if (clipboardDocument != null)
    {
        this.radRichTextBox.ActiveDocumentEditor.InsertFragment(clipboardDocument);
    }
    else if (!string.IsNullOrEmpty(clipboardText))
    {
        this.radRichTextBox.ActiveDocumentEditor.Insert(clipboardText);
    }
}

Unplanned
Last Updated: 03 Feb 2020 10:42 by ADMIN

To reproduce:

- Search for a specific word until the last occurrence is found and a message appears. 

- Click the FindPrevious button

Result: A message appears.

Expected: The previous entry is selected. 

Unplanned
Last Updated: 03 Feb 2020 09:00 by ADMIN

To reproduce:

- Hold the control key and double click a word

Actual: the entire paragraph is selected

Expected: the current word should be selected, the existing selection should be extended.

Unplanned
Last Updated: 15 Jan 2020 14:50 by ADMIN
Document with invalid cross-reference stream is not loaded correctly
Unplanned
Last Updated: 15 Jan 2020 09:21 by ADMIN
The caret position does not move at the end of the line with continuous text (see attached).
Unplanned
Last Updated: 17 Jan 2020 08:26 by ADMIN
The compass is misplaced on the second monitor when launching *.exe on monitors with higher DPI. The tool window also is not positioned correctly. 

  <application xmlns="urn:schemas-microsoft-com:asm.v3">
    <windowsSettings>
      <dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitor</dpiAwareness>
      <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
    </windowsSettings>
  </application>
Unplanned
Last Updated: 13 Jan 2020 09:37 by ADMIN

To reproduce:

- Add a multilevel list to a document and export it to HTML

- Import the document again the list is changed and the values are not correct.

Unplanned
Last Updated: 04 Feb 2020 18:36 by ADMIN

The document styles are not respected because of wrongly imported custom style name after copy-paste from MS Word and exported to HTML.

Workaround: avoid using styles with braces in their name.

Unplanned
Last Updated: 09 Jan 2020 14:49 by ADMIN
When a hyperlink uri contains a symbol that needs to be escaped (e.g. ')'), the exported document is corrupted.
Unplanned
Last Updated: 08 Jan 2020 16:22 by ADMIN
Typing characters with Korean IME does not highlight the matching items.
Unplanned
Last Updated: 17 Jan 2020 15:27 by ADMIN

We noticed that RadGridView does not get garbagecollected sometimes.
So i fired up  a memory analyzer to see what is going on.

This is the graph that shows that the RadGridView is causing a leak. The only references that keep the GridView from getting collected are those two WeakEventListeners

To further investigate i decompiled GridViewDataControl and could identify the culprit.

private void SubscribeToDispatcherShutdown()
    {
      if (this.dispatcherShutdownListener != null)
        this.dispatcherShutdownListener.Detach();
      this.dispatcherShutdownListener = new WeakEventListener<GridViewDataControl, object, EventArgs>(this);
      this.dispatcherShutdownListener.OnEventAction = (Action<GridViewDataControl, object, EventArgs>) ((grid, source, eventArgs) => grid.OnDispatcherShutdownFinished(source, eventArgs));
      this.dispatcherShutdownListener.OnDetachAction = (Action<WeakEventListener<GridViewDataControl, object, EventArgs>>) (weakEventListener => this.Dispatcher.ShutdownFinished -= new EventHandler(this.dispatcherShutdownListener.OnEvent));
      this.Dispatcher.ShutdownFinished += new EventHandler(this.dispatcherShutdownListener.OnEvent);
    }

In the second line from the botton

... weakEventListener => this.Dispatcher.ShutdownFinished -
... you are using 'this.Dispatcher...' which causes the leak since the Action will implicitly capture the 'this' reference.
Which kind of defeats the prupose of having a WeakReference inside your WeakEventListener.

Sadly i cannot figure out how it happens, but i think its only when Detach (FrameworkElement.Unloaded ultimately) is not called.
While this is the actual issue, i thought I'd share this with you so you.

Unplanned
Last Updated: 08 Jan 2020 09:52 by ADMIN
Selection is not updated when using the arrow keys if the current selected item is outside the viewport.
Unplanned
Last Updated: 06 Jan 2020 12:22 by ADMIN
Use Destination styles does not appear in the paste options popup control. It only appears in the RadRibbonDropDownButton.
Unplanned
Last Updated: 06 Jan 2020 12:18 by ADMIN
Invoking the same Paste Options command for a second time does not close the popup. It is closed when another Paste Options command is executed.
Unplanned
Last Updated: 03 Jan 2020 09:54 by ADMIN

1. When the RibbonWindow is maximized the draggable area ends below the WindowTitle

2. In Normal state - the draggable area could be expanded in Material, Fluent and Crystal themes


A possible workaround is to change the WindowCaptionHeight property:

 var parameters = SystemParameters2.Current;
 parameters.GetType().GetProperty("WindowCaptionHeight").SetValue(parameters, SystemParameters2.Current.WindowCaptionHeight + 26, null);