Page 1 of 1

how to change the language to control StiViewerControl

Posted: Tue May 31, 2011 12:23 pm
by miguels
hello, how to change the language to control StiViewerControl to leave me the legends of the buttons in Spanish instead of English?

I have this line but I just change the language in StiDisagnerControl

rutaidioma = System.AppDomain.CurrentDomain.BaseDirectory + "xml\\es.xml";
Stimulsoft.Report.StiConfig.LoadLocalization(rutaidioma);

I hope I can help

how to change the language to control StiViewerControl

Posted: Wed Jun 01, 2011 7:25 am
by Alex K.
Hello,

You can use the following code:

Code: Select all

Stimulsoft.Report.StiConfig.LoadLocalization("es.xml");
stiViewerControl1.Localize();
Thank you.