Dyanamic Label creation

Posted by: marcelino.nohra on 27 August 2020, 4:47 am EST

  • Posted 27 August 2020, 4:47 am EST

    Hi,

    I am generating a report and to show the data am currently used designed labels in textbox to print them.

    The issue is that if the data count is higher than that of already designed labels we are not able to show it. so what should be done to create labels dynamically in the textbox according to the count of the data

    thank you

    Marcelino Nohra

  • Posted 27 August 2020, 9:11 am EST

    Hello Nohra,

    You can use the following code to add the label in the report dynamically:

                GrapeCity.ActiveReports.PageReport rpt = new PageReport();
                rpt.Report.Body.ReportItems.Add(new GrapeCity.ActiveReports.PageReportModel.TextBox() { Name="Label1"});
    

    If it does not fulfill your requirement, then could you please explain in detail.

    Thanks,

    Mohit

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels