RT Viewer
RT Viewer
Hi!
I can't seem to get the viewer look shown in documentation:
I can only see this one:
Is it because I'm using the trial version? (I'm experimenting to determine if my company will buy it).
Another issue: is there a way to localize the viewer button labels?
If not, can I hide the button labels?
or, alternatively, can I hide the entire top bar ?
Thanks,
Aline
I can't seem to get the viewer look shown in documentation:
I can only see this one:
Is it because I'm using the trial version? (I'm experimenting to determine if my company will buy it).
Another issue: is there a way to localize the viewer button labels?
If not, can I hide the button labels?
or, alternatively, can I hide the entire top bar ?
Thanks,
Aline
Re: RT Viewer
Hello,
Thank you.
Thank you for the information. We will update our documentation.aline wrote:Is it because I'm using the trial version? (I'm experimenting to determine if my company will buy it).
We have about 30 localization languages which it can use. They can be easily connected and used. What specific buttons and in what language they need to localize? Please describe in details and we could prepare a simple example.aline wrote:Another issue: is there a way to localize the viewer button labels?
If not, can I hide the button labels?
You can use the StiOptions.Viewer.Elements class which need sets before viewer initialization.aline wrote:or, alternatively, can I hide the entire top bar ?
Thank you.
Re: RT Viewer
Hi!
Thank you for your quick answer.
The languages I would need would be, PT, ES, FR, FI (finnish) and of course EN .
Thanks
Aline
Thank you for your quick answer.
The languages I would need would be, PT, ES, FR, FI (finnish) and of course EN .
I've tried using the options you referred, but I still get a blank panel. I wanted to simply "delete" it, ie, it wouldn't show al all.Aleksey wrote:You can use the StiOptions.Viewer.Elements class which need sets before viewer initialization.
Thanks
Aline
Re: RT Viewer
Hello,
You can use the following code for load localization from code:
Thank you.
You can use the following code for load localization from code:
Code: Select all
var storageFile = await Windows.ApplicationModel.Package.Current.InstalledLocation.GetFileAsync(StiLocalizationHelper.LocalizationsPath + "pt.xml");
await StiLocalizationHelper.LoadLocalizationAsync(storageFile);
Please check the following code:I've tried using the options you referred, but I still get a blank panel. I wanted to simply "delete" it, ie, it wouldn't show al all.
Code: Select all
StiOptions.Viewer.Elements.MainToolBarVisibility = Visibility.Collapsed;
Re: RT Viewer
Hi!
The code for the xml didn't work at first, it raised the error "File not found".
I've managed to get the file from your app installation and copied it to my app folder and loaded it from there. Worked
As for hiding the toolbar, the code
only works at first. As soon as I right click anywhere on the screen, it shows again.
Thank you,
Aline
The code for the xml didn't work at first, it raised the error "File not found".
I've managed to get the file from your app installation and copied it to my app folder and loaded it from there. Worked
As for hiding the toolbar, the code
Code: Select all
StiOptions.Viewer.Elements.MainToolBarVisibility = Visibility.Collapsed;
Thank you,
Aline
Re: RT Viewer
Hello,
We couldn't reproduce this bug.
Can you please send us a sample project which reproduce the issue for anlalysis.
Thank you.
We couldn't reproduce this bug.
Can you please send us a sample project which reproduce the issue for anlalysis.
Thank you.
Re: RT Viewer
Hello!
I send you a small sample.
You will see that the toolbar appears, once you right click.
Is shows empty, but it shouldn't appear at all.
Thank you
Aline
I send you a small sample.
You will see that the toolbar appears, once you right click.
Is shows empty, but it shouldn't appear at all.
Thank you
Aline
- Attachments
-
- STReportsToolbar.zip
- (10.82 MiB) Downloaded 326 times
Re: RT Viewer
Hello, Aline.
You should set this option before Initialization.
Thank you.
You should set this option before Initialization.
Code: Select all
public MainPage()
{
StiOptions.Viewer.Elements.MainToolBarVisibility = Visibility.Collapsed;
this.InitializeComponent();
Re: RT Viewer
Hello!
It worked just fine, thank you!
Aline
It worked just fine, thank you!
Aline
Re: RT Viewer
Hello,
Thank you for letting us know about this.
Have a nice day!
Thank you for letting us know about this.
Have a nice day!