Hello,I have problem when showing data with PasswordChar in the grid (NetAdvantage 8.2.2008.2160).I have a column containing password data. In order to hide the password I created an UltraTextEditor, set the PasswordChar property to 0x25cf '●', and assigned the UltraTextEditor to the column's EditorControl property. So the passwords are shown with the PasswordChar.
Now, when I export the grid to PDF or XSP using the UltraGridDocumentExporter then the passwords are exported as plaintext.The same problem when I copy cells in the clipboard.
Is there a way to export and copy the passwords as they are shown in the grid (with PasswordChar or in any other way, but not as plaintext)?
Thanks
Enrico
Hi Enrico,
This seems like a bug to me. The UltraGridDocumentExporter should probably be handling this for you.I wil report this issue to Infragistics Developer Support so they can check it out.
In the mean time, the easiest thing to do would be to handle the BeginExport event of the UltraGridDocumentExporter event and simply hide the column. The event will pass you in a clone of the grid's DisplayLayout. Since it's a clone, you can modify it however you want and it will only affect the export, not the on-screen grid. So you can hide the password column in the cloned layout and same your users some printer ink. :)
Thanks Mike.But what about the clipboard? When I copy a selected row in the clipboard and then paste it anywhere the password is also pasted as plaintext. So maybe it's an issue of the grid or the UltraTextEditor.