Hi All,
I'm using the UltraWinPrintPreviewDialog to print the data from an UltraGrid. My UI is in Dutch, but the printpreview shows in English. Does anyone know how to change the culture for the preview screen of ultraPrintPreviewDialog?
Kind regards,
Sai.
Hi Sai,
I am glad that you find my suggestion helpful! Thank you for using Infragistics components.
Best regards, Bozhidara Pachilova
Hi, thanks so much exactly this is what I need.
Thank you for posting to Infragistics Community!
I believe you will find the Customizing Assembly Resource Strings topic of our documentation quite helpful on the matter along with WinPrintPreviewDialog Resource Strings Reference.
So, the PrintPreviewDialog resource strings could be customized as follows:
Infragistics.Shared.ResourceCustomizer rc = Infragistics.Win.Printing.Resources.Customizer; rc.SetCustomizedString("PrintPreview_Tool_File", "File [Localized]"); rc.SetCustomizedString("PrintPreview_Tool_View", "View [Localized]"); rc.SetCustomizedString("PrintPreview_Tool_Tools", "Tools [Localized]"); rc.SetCustomizedString("PrintPreview_DialogCaption", "Print Preview [Localized]");
,etc.
Below you will find a small sample demonstrating this. If you require any further assistance on the matter, please, let me know.
Best regards, Bozhidara Pachilova Associate Software Developer
UGPrintPreviewDialogDutch.zip