This is a migrated thread and some comments may be shown as answers.

Export doesn't capture dropdown column values

1 Answer 51 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sunggoo Im
Top achievements
Rank 1
Sunggoo Im asked on 04 Aug 2010, 12:48 AM
Hi,

I'm using the latest build of Telerik's Silverlight Controls and found Gridview.ToExcelML() and Gridview.Export(...) aren't capturing dropdown column values.

Neither keys nor displayed members are found in GridViewElementExportingEventArgs and GridViewElementExportedEventArgs.

Also, values were on the excel file that was created.

Please help me out.

Thank you,

Sunggoo

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 09 Aug 2010, 09:15 AM
Hello Sunggoo Im,

I was not able to reproduce the problem with the latest official binaries.

In the ElementExporting event the e.Value contains the proper value of the cell, while the e.Context is a reference to the GridViewComboBoxColumn and you can access its properties with no problem.

Please find attached a sample project and let me know if I am missing something.

Kind regards,
Veselin Vasilev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Sunggoo Im
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or