Changing Default Export Settings
-
Sishir Jain
- Posts: 3
- Joined: Fri Aug 17, 2007 4:34 am
- Location: India
Changing Default Export Settings
We want to export our report in Rtf format. In the export settings window, Table mode is the default, but we want Frame as the dafault mode.
Can we get instance of StiRtfExportSetupForm to change the dafault mode as Frame. So whenever user opens this dialog, he/she will see Frame radio button selected.
Can we get instance of StiRtfExportSetupForm to change the dafault mode as Frame. So whenever user opens this dialog, he/she will see Frame radio button selected.
Changing Default Export Settings
Hello,
Every time when you install option for exports, they are stored in the file(c:\Documents and Settings\%UserName%\Local Settings\Application Data\Stimulsoft\Stimulsoft.Report.settings) and become the default optionы. There is no need for additional steps to set the default option.
Thank you.
Every time when you install option for exports, they are stored in the file(c:\Documents and Settings\%UserName%\Local Settings\Application Data\Stimulsoft\Stimulsoft.Report.settings) and become the default optionы. There is no need for additional steps to set the default option.
Thank you.
-
Sishir Jain
- Posts: 3
- Joined: Fri Aug 17, 2007 4:34 am
- Location: India
Changing Default Export Settings
Thanks.
When is this config file created and how can we change its options ?
Can we do it just once during installation of our product ?
Regards,
When is this config file created and how can we change its options ?
Can we do it just once during installation of our product ?
Regards,
Changing Default Export Settings
This file is created when the StimulReport runs at the first time.
For your customers, you can set your options for this file and distribute it with your application.
But exists better way: you can set option from code of your application:
In this case if open rtf export settings window, Frame always will be have a true value.
Thank you.
For your customers, you can set your options for this file and distribute it with your application.
But exists better way: you can set option from code of your application:
Code: Select all
StiSettings.Set("StiRtfExportSetupForm", "Frame", true);
StiSettings.Save();
...
report.Show();In this case if open rtf export settings window, Frame always will be have a true value.
Thank you.
Changing Default Export Settings
There correct code is:
Thank you.
Code: Select all
StiSettings.Load();
StiSettings.Set("StiRtfExportSetupForm", "Frame", true);
StiSettings.Save();-
Christopher Lloyd
- Posts: 23
- Joined: Wed Apr 13, 2011 7:37 am
- Location: UK
Changing Default Export Settings
I am also experiencing difficulties in setting default options for exports. I simply want to to set of couple of default options like excel export - data only, csv export - comma as delimiter etc but I cannot find which properties I need to set. How do I find out what forms I need to reference in my code?
I have also noticed that when a user selects current page only for an export, they still get all pages.
Again I have tried to use the email button but my users cannot click on it as it is "hidden" behind the save button.
Chris L
I have also noticed that when a user selects current page only for an export, they still get all pages.
Again I have tried to use the email button but my users cannot click on it as it is "hidden" behind the save button.
Chris L