Unplanned
Last Updated: 11 Dec 2019 15:26 by ADMIN
Dimitar
Created on: 11 Dec 2019 15:26
Category: Spreadsheet
Type: Bug Report
1
Spreadsheet: Exception when exporting document that contains links with an empty address

 Exception when exporting document that contains links with an empty address.

Workaround:

private void Button_Click_1(object sender, RoutedEventArgs e)
{
    foreach (SpreadsheetHyperlink item in this.radSpreadsheet.Workbook.ActiveWorksheet.Hyperlinks.ToList())
    {
        if (string.IsNullOrEmpty(item.HyperlinkInfo.Address))
        {
            this.radSpreadsheet.Workbook.ActiveWorksheet.Hyperlinks.Remove(item);

        }
    }
    
}

0 comments