This is a migrated thread and some comments may be shown as answers.

Report Page

1 Answer 56 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Azees
Top achievements
Rank 1
Azees asked on 19 Jun 2009, 11:37 AM

hi

  i created one report in my web application.

  I have to show 12 fields in report so when i was show that filed the report is expanded.I cant show all the value sin report viewr
  if i generate as pdf some fiedls missing

 

string

 

mimeType = string.Empty;

 

 

string ext = string.Empty;

 

 

Encoding encoding = Encoding.Default;

 

 

byte[] reportBytes = Telerik.Reporting.Processing.ReportProcessor.Render(

 

 

"PDF"

 

 

 

 

, reportToExport

,

null

 

 

 

 

,

out mimeType

 

,

out ext

 

,

out encoding);

 

 

 

string fileName = reportName + ".pdf";

 

Response.Clear();

Response.ContentType = mimeType;

Response.Cache.SetCacheability(

HttpCacheability.Private);

 

Response.Expires = -1;

Response.Buffer =

false;

 

Response.AddHeader(

"Content-Disposition",

 

 

string.Format("{0};FileName=\"{1}\"",

 

 

"attachment",

 

fileName));

Response.OutputStream.Write(reportBytes, 0, reportBytes.Length);

Response.End();


PDF is generated but Recodr is not coming fully
how to solv this prob

Regards

Abdul Ajees

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 22 Jun 2009, 11:30 AM
Hi Azees,

We were not able to understand what is the problem you've encountered. Please elaborate and provide us with screenshots showing the issue if necessary.

Greetings,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Azees
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or