Generate report by report template
mohanaraj
600001
Dear all,
I have a requirement of displaying report by the user defined report templates.
The template with left block, Right block and Middle block eg. left block contains user name, Address etc, the middle block contains Report heading and the right block contains logo if the user can also alter this ie if he wants the image in center or left he can define and generate the report. This input are get from the user and the report generated using this template.
How can i achieve it?
How can i define this block is display in center or right or left.
I have a requirement of displaying report by the user defined report templates.
The template with left block, Right block and Middle block eg. left block contains user name, Address etc, the middle block contains Report heading and the right block contains logo if the user can also alter this ie if he wants the image in center or left he can define and generate the report. This input are get from the user and the report generated using this template.
How can i achieve it?
How can i define this block is display in center or right or left.
Comments
You have to build your report in code. Please look at the Demos\C#\ReportFromCode project.
Dear AlexTZ,
The demo is in window.form application i need it for ASP.NET application i want the user defined Report header please advice.
Thanks
Dear AlexTZ
Can i add only title band and footer band from code others like page header, data, Report summary are design by using Designer.
How can i achieve it.
Thanks for the above i can able to create the the report title band and others by dynamic.
Now i want to display the the Date and Time separately in dynamic in a separate textobject Now i can able to display the Date with time by giving text as [Date] to textobject. In some situation with the date i will also display page number with the same text object as test [Date][Page#] when i give this as text to the text object it will display both date with time and the page number hear we can't format the [Date] to display only date or time because it having [Page#].
How can i able to display the Date and Time separately with addition to other field like page number?
Thanks in advance.
The Text object has a property called Formats. It's a collection of FormatBase objects. If your text has several items to format, you need to add several formats using that property.