Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: Change the header programatically Post Reply Post New Topic
Author Message
Muralie
Newbie
Newbie


Joined: 12 May 2007
Location: United States
Online Status: Offline
Posts: 2
Quote Muralie Replybullet Topic: Change the header programatically
    Posted: 12 May 2007 at 4:52pm
How can i set the text of the report header and page header in ASP.Net  programatically?
IP IP Logged
EdwardQ
Newbie
Newbie
Avatar

Joined: 12 Apr 2007
Location: United States
Online Status: Offline
Posts: 14
Quote EdwardQ Replybullet Posted: 16 May 2007 at 6:33am
For the ASP Page title do.
Page.Title = "This is a Title.";
 
 
For the Report Title do.
(assumed you called your ReportDocument MainRpt)
 
MainRpt.SummaryInfo.ReportTitle = "This is a Title.";
 
 
YOu can also varible it.
 
strTitle = "This is a Title.";
 
Page.Title = strTitle;
 
MainRpt.SummaryInfo.ReportTitle =  strTitle;
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.015 seconds.