Page 1 of 3
Problems with Designer (the installed executable)
Posted: Mon Nov 18, 2013 10:16 am
by kgb2013
I have noticed two problems in the deisgner exe:
It doesn't save the following properties:
1) When I try to put a custom format (e.g. "dd.MM.yyyy HH:mm:ss") in a standard report grid that has a DataTime column, it doesn't save this property of the DataText. (It remembers it untill I close the EXE but it is lost if I reopen the MRT file)
2) The same happens with the table cell borders if I try to add all borders on a cell.
Also, I would like to ask if and how I could control the culture (english, greek, etc) e.g. of a displayed date in my report.
Also, another question: can I select columns in an MVC report like you do here
http://forum.stimulsoft.com/viewtopic.php?&t=3411 or this is only for WinForm apps?
If I can't do this in MVC, is it possible to pass a variable in the report an select columns in an event (and which event would be most fitted for this - I see some like "Begin Render", etc but I was expecting sth like an "Initialize" event)?
Thanks.
Re: Problems with Designer (the installed executable)
Posted: Mon Nov 18, 2013 1:02 pm
by HighAley
Hello.
We have added Culture property of the report. If you set this property you will get date and currency in the appropriate format.
Please, download our latest prerelease build that is available on our site.
Thank you.
Re: Problems with Designer (the installed executable)
Posted: Mon Nov 18, 2013 1:26 pm
by kgb2013
I have downloaded the last (pre-release) version of your library (SW_2013.11.15_Trial.zip).
The two problems of the Designer.exe are still there (the cell borders are not being saved and the custom format of a date is not applied to the report).
Also, I can't see any property with a name "Culture" on the report.

There is only "Name, Alias, Author, Description".

(I don't know if I should do sth, like install the new assemblies to the GAC before runnign the EXE...)
Question: Why is this
http://web.stimulsoft.com/default.aspx
..different from the display (of the menus and buttons) that I get on my site?
Is it because it is trial?
Re: Problems with Designer (the installed executable)
Posted: Mon Nov 18, 2013 1:37 pm
by kgb2013
Also, another question:
If I want do make a tree view like yours here
http://web.stimulsoft.com/default.aspx on the left (outside of the report) so that the user can choose the report type, can I use some feature of your library or I will have to make the tree by myself?.
Re: Problems with Designer (the installed executable)
Posted: Tue Nov 19, 2013 12:38 pm
by kgb2013
As far as I see now, the Designer.exe doesn't save the font settings too (font height, bold, etc).

Re: Problems with Designer (the installed executable)
Posted: Tue Nov 19, 2013 12:48 pm
by HighAley
Hello.
kgb2013 wrote:The two problems of the Designer.exe are still there (the cell borders are not being saved and the custom format of a date is not applied to the report).
Please, describe more detailed with examples how to reproduce this issues.
kgb2013 wrote:Also, I can't see any property with a name "Culture" on the report.

There is only "Name, Alias, Author, Description".

(I don't know if I should do sth, like install the new assemblies to the GAC before runnign the EXE...)
Please, set the View mode of property grid to Professional. You could do it in the context menu.

- PropertyGridProfessional.png (20.83 KiB) Viewed 3542 times
This is Demo site. Here is it's source code:
Thank you.
Re: Problems with Designer (the installed executable)
Posted: Tue Nov 19, 2013 1:55 pm
by kgb2013
Thanks. I have found the Culture setting now.
I will check it out.
Aleksey Andreyanov wrote:
Please, describe more detailed with examples how to reproduce this issues.
1) Make a "standard report" and then select a DataText element (e.g. DataText1) from within the "Data" element of the report.
2) Go to "Properties"->"Borders" and click on the button with text "..." (see image).
3) Set all the borders (all the sides of the element).
4) Save the report.
5) Close Designer.exe
6) Reopen the MRT file with the Designer and the borders for that DataText element will not be saved.
Note that, like the borders, the font size in the report title is not saved too:
1) Make a "standard report" and then select the report title.
2) Go to "Properties"->"Font"->".." and change the font size.
3) Save the report.
4) Close Designer.exe
5) Reopen the MRT file with the Designer and the font size for the report title element will not be saved.
Re: Problems with Designer (the installed executable)
Posted: Tue Nov 19, 2013 2:27 pm
by kgb2013
I have tried the Culture setting but I don't see any difference by changing it.
In a "standard report" I have a report title with text :
But, changing the Culture to "en-US", "el-GR", etc. changes nothing.
It seems like it still uses the system's default culture for {Time} taken from here:
Code: Select all
System.Threading.Thread.CurrentThread.CurrentCulture
I have also tried setting this by code:
Code: Select all
StiReport report = ....;
report.GlobalizationManager.Culture = new CultureInfo("en-US");
..but I saw no change.
I don't know if I am missing sth.
Re: Problems with Designer (the installed executable)
Posted: Wed Nov 20, 2013 7:33 am
by HighAley
Hello.
Sorry but we couldn't reproduce your issue with borders and font size. Maybe we miss something. Could you send us video where we could see how you reproduce this issue.
The Culture property works right. On en-US culture we get next string:
Created At : 11/20/2013 10:28:34 AM
and using el-GR culture next one:
Created At : 20/11/2013 10:32:03 πμ
They are different.
Thank you.
Re: Problems with Designer (the installed executable)
Posted: Wed Nov 20, 2013 8:22 am
by kgb2013
As far as I see, the preview on the Designer.exe is correct, but in my site it's not correct.
Did you try it with the MVC viewer on a simple web site?
(I have re-checked this in one of your demo projects)
I also attach a video for you.