How to create own template?

4 posts, 0 answers
  1. Erçi Candan
    Erçi Candan avatar
    2 posts
    Member since:
    Apr 2016

    Posted 27 May Link to this post

    Hello guys,

    I want to create my own template for the Telerik Reporting.Can we create a HMTL file (including own CSS etc.) to use it for every report? If yes, how? Can you explain it and give some examples please? 

    Thanks.

  2. Stef
    Admin
    Stef avatar
    3036 posts

    Posted 30 May Link to this post

    Hi,

    Telerik reports are .NET objects (Telerik.Reporting.Report) which can be also serialized in XML. The available Report Designers produce reports in different formats. You can create re-usable templates with the Sandalone Report Designer, which can be used for starting a new report - Report Templates.

    HTML input can be used only for text-formatting through the HtmlTextBox item. Please check the list of supported HTML tags and CSS attributes in the linked article.


    Let us know if you need further help.

    Regards,
    Stef
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
  4. Erçi Candan
    Erçi Candan avatar
    2 posts
    Member since:
    Apr 2016

    Posted 31 May in reply to Stef Link to this post

    Hi Stef,

    Firstly, thank you for the information. However, we want to put own HTML file to database and apply it to report directly. We don not want to change existing templates.  Is there a way to do it? Could you give more information please? 

    Best regards,

  5. Stef
    Admin
    Stef avatar
    3036 posts

    Posted 31 May Link to this post

    Hi,

    Existing HTML documents cannot be merged with the report rendered in HTML for the web viewer.

    If you want to export existing web pages content in image, PDF or other format, please check Telerik UI for AJAX ClientExportManager.


    If I am misunderstanding the scenario, please elaborate in more details about the HTML input, how and why it is saved in your database, and how it should be used in/for a report.

    Regards,
    Stef
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top