Unplanned
Last Updated: 06 Mar 2018 16:20 by ADMIN
ADMIN
Ivan Ivanov
Created on: 12 Apr 2017 08:44
Category: GridView
Type: Feature Request
2
GridView: Add a href parameter to GridViewExcelMLVisualExportParameters

		
2 comments
ADMIN
Yoan
Posted on: 06 Mar 2018 16:20
Hi Valentin,

Thank you for the feedback. We will consider both possibilities when planning this feature request.
Dietmar.2
Posted on: 12 Apr 2017 09:25
I think it would be a nice feature to be able to set the Href attribute in the ElementExporting event:

private static void GridView_ElementExporting(object sender, GridViewElementExportingEventArgs e)
{
    if (e.Element == ExportElement.Cell)
    {
       // Set a hyperlink, e.g.
       e.Href = "http://www.telerik.com/account/support-tickets/view-ticket?threadid=" + e.Value;
    }
}

Additionally, it would be even better to have a DependencyProperty Href in GridViewDataColumn, so I could Bind a Hyperlink directly in XAML or Code-Behind.