In this afternoon i realized that I lost some of my reports design files (.mrt) and I just found the source code
of these reports. I googled trying to find some solution for that - Get my C# report code and generate a MRT
file that I could work on, and change it, in stimulsoft report design tool. I did not have success.
After this I tried to open the report design tool and put the code at the Code TAB and save the report, but without
success again - the tool just roll back any alteration i did.
I'd like to know if there is a way to generate a report file (.mrt) from the code of that report.
Thx in advance.
Sorry for my "bad english"
Danillo Corvalan
Get MRT from code
Get MRT from code
Hi Danilo,
Unfortunately there is no way to re-create report using only code from code tab. You always need to keep mrt file to be able to modify report template later.
Thank you.
Unfortunately there is no way to re-create report using only code from code tab. You always need to keep mrt file to be able to modify report template later.
Thank you.
Get MRT from code

I tried now to instantiate the class that represents the report i want to edit and called the Design() Method,
running in a windows forms application. The Designer.exe openned with my report there, with data-sources,
variables, etc. The problem was just that the labels with Binding text to the datasources fields was all blanks.
Tried to save but it raised an error:
Method: GetPropertyImpl
Ambiguous match found.
I can't believe I will need to create the report again :brick:
So. Thx for the attention!
Sorry for my"bad english"
Danillo Corvalan
Get MRT from code
Hello,
Sorry, but report saved as class contain information which required only for report rendering.
Thank you.
Sorry, but report saved as class contain information which required only for report rendering.
Thank you.