Hi,
I am using the Webdatagrid version
Infragistics4.Web.v10.3, Version=10.3.20103.1013
and i am getting the problem when exporting the grid to excel
it gives me error about the font size should be set bet 20 to something
I can get ride of this error by setting the UseStyleSet property to false but that will export the grid without stype.I saw some of the post abt it and infragistic has given fix for it but i m not sure for my version can anybody help.one more thing we are using the styleset and the path is defined with "~".
iN The above post the error is "The font height must be between 20 and 8180"and THE PROPERTY TO GET RIDE OF THIS PROBLEM IS this.eExporter.EnableStylesExport = false;
Hi ashpawan,
Have you tried upgrading to the latest Service Release to see if the fix was done in the code? I have found an internal bug that matches what you describe. Its number is 60163. If you contact Developer Support, you can be notified when this bug is fixed. Looking at the resolved in build, it seems it should be fixed in the latest Service Releases.
regards,David Young
Hi David,
i am using 2011.1 version.
EnableStylesExport=true property work now. No error is there.
but there is one other issue. if there a link template column in my
grid. if i export the data. then link column data look like this
<a hrfy="Infragistics.com">Infragics</a> in excell cell.
how to show the data only in cell, not <a hrfy="Infragistics.com">?
When there is a template column, we attempt to output the template as rendered to a string. So this is the expected behavior. If you would like just the text of the link, you should handle cell exporting or grid record item exporting and cancel the action for that column and set the value of the worksheet cell to the text of the link.
-Dave