StiWebViewer

Stimulsoft Reports.WEB discussion
Post Reply
reham
Posts: 5
Joined: Wed Jun 26, 2013 8:49 am

StiWebViewer

Post by reham »

Hello,
Can you hep me please?
I have a report with dynamic number of columns it may reach to 60 column.
put when set the 'Report' property of 'StiWebViewer' it give me an error ......
error CS1010: Newline in constant
error CS1012: Too many characters in character literal

the max number of columns accepted is 33 column and when save it to excel file it works well.

Note: i set the report page property to custom width=64
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: StiWebViewer

Post by Alex K. »

Hello,

Can you please send us a sample project with test data which reproduce the issue for analysis.

Thank you.
reham
Posts: 5
Joined: Wed Jun 26, 2013 8:49 am

Re: StiWebViewer

Post by reham »

The problem wasn't the column numbers. it was because of special character in column name.
thanks a lot, but i have another issue now:
when the website published, Report viewer not displays the report data directly after i set the report property. I should refresh it several times.
Note: it only display that it has n pages and i can save it, but i need the viewer to display the data.

Regards,
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: StiWebViewer

Post by HighAley »

Hello.
reham wrote:The problem wasn't the column numbers. it was because of special character in column name.
thanks a lot, but i have another issue now:
when the website published, Report viewer not displays the report data directly after i set the report property. I should refresh it several times.
Note: it only display that it has n pages and i can save it, but i need the viewer to display the data.
How and when do you set the report property of the Web Viewer?
Please, try to use next code:

Code: Select all

StiWebViewer1.ResetReport();
StiWebViewer1.Report = report;
Thank you.
reham
Posts: 5
Joined: Wed Jun 26, 2013 8:49 am

Re: StiWebViewer

Post by reham »

Hello Aleksey,
thanks for your reply ...
I wasn't use: StiWebViewer1.ResetReport();
but when i tried it now, it isn't work.

you can check your private messages.. i sent to you an account to test it online in my website.

Regards,
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: StiWebViewer

Post by HighAley »

Hello.

Login or password is invalid. Please, send more details on your issue to support@stimulsoft.com
We need to see also the code that you use.

Thank you.
Post Reply