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
220
Exporting data containing PasswordChar.
posted

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

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    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. :)

Children