Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1220
serverside cell.Text not respecting column formatting
posted

hello. 

my column format is set to "MM/dd/yyyy" DataType is DateTime.

The date displays fine in the grid. 

When i export grid to PDF, i do a foreach (UltraGridRow) loop, and than export each cell.Text. 

For some reason, cell.Text (executed during OnPrerender event) does not respect column formatting.. 

so instead of "06/20/2009" i get "6/20/2009 12:00:00 AM".

when i call cell.Value.ToString() is also not formatted but that i understand.. cell.Text should be formatted.

furthermore, formatting seems to be working on other column types