Change page header band text in Runtime

Stimulsoft Reports.WPF discussion
Post Reply
mojsa2000
Posts: 1
Joined: Sun Aug 08, 2021 12:12 pm

Change page header band text in Runtime

Post by mojsa2000 »

Hi
I'm using stimulsoft in Runtime (C# language script). So I need to change Page header band on every page in a FOR Loop . But Text of each page header bands is different with others.How to change Text for each page header band. this code did not work for me.

Code: Select all

 for(int i=0;i<10;i++)
 {
      StiText new_txt=  ((StiText)headerBand.Components["report_title_text"]);
      new_txt.Text= Page_title[i];
 }


i'll be appreciated for Helping me.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Change page header band text in Runtime

Post by HighAley »

Hello,

You have a very specific issue.
Could you write us by email and we will try to find a solution for you.

Thank you.
Post Reply