GridView Export Cell ToolTip

Chris Andrews

I am currently exporting a grid to ExcelML. Based on the columns UniqueName, I need to export the cells tool tip rather than the value itself.

I am already handling the ElementExporting event from the grid, but I am failing to see a property or method I can use to get the cell's tool tip. e.Context is the GridViewDataColumn, not the cell itself.

Has anyone had a need to support something like this or provide some quick hints?

Thanks,
Chris

Maya

You can try handling ElementExporting event and set the Value from the argument to the one you want. As for setting the ToolTip, it depends on how it is defined. If it is at column level, then you can find it easily and do the following:

Progress, Telerik, Ipswitch, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.