Telerik Forums
Reporting Forum
2 answers
231 views
Hello all,

I am getting the above error when working with Master Pages. I have created separate dll project for Reports. and given reference of it in my Application. but when i am trying to display the report in report viewer control which is in my User control. I am getting the following message
Report is unavailable or session has expired. Please, refresh the page.

i have checked all the given solutions but i am not getting the result.

i have set session as follows.

<sessionState mode="InProc" timeout="60">
        </sessionState>

please reply as soon as possible.
shahid Aleem
Top achievements
Rank 1
 answered on 09 Aug 2010
1 answer
159 views
Hi
I am using Report Telerik, when i run in local it runs ok.But when i host it i got problem
Line 243:            report.RefreshReport();
Line 244:            ReportProcessor reportProcessor = new ReportProcessor();
Line 245:            RenderingResult result = reportProcessor.RenderReport("XLS", report.Report, deviceInfo);
Line 246:            FileStream fs = new FileStream(tmpFileName, FileMode.Create);
Line 247:            fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length);
[NullReferenceException: Object reference not set to an instance of an object.]
   Telerik.Reporting.Excel97.BoundSheet..ctor(String workSheetName) +31
   Telerik.Reporting.Excel97.Workbook.AddBoundSheetRecords(Stream stream, ICollection`1 boundSheetAddresses) +66
   Telerik.Reporting.Excel97.Workbook.WriteWorkBookRecords(Stream stream, ICollection`1 boundSheetAddresses) +1174
   Telerik.Reporting.Excel97.Workbook.Save(Stream stream) +252
..................
Please help me.
Thank you.
Chavdar
Telerik team
 answered on 09 Aug 2010
1 answer
130 views
hello,
i create a telerik report using telerik report table follow the wizard, but when i export data to excel or any format a error occur like the attached files
Chavdar
Telerik team
 answered on 09 Aug 2010
4 answers
436 views
I cannot get the Designer to work anytime I have report logic that references an external DLL.  This includes using the Enterprise Library DLLs for data access and also using user-defined functions that reference external dlls for formatting.

Here's a sample _NeedDataSource event.  It works fine at run time in the viewer, but the designer does not work at all.  (just like with external format functions I reference). 

 

 

private void rptCaseLoad_NeedDataSource( object sender, EventArgs e )   
{  
    DataSet ds = new DataSet( );   
    Database db = DatabaseFactory.CreateDatabase( );   
    using ( DbCommand cmd = db.GetStoredProcCommand( "spCaseDetail" ) )   
    {  
        cmd.CommandType = CommandType.StoredProcedure;   
        db.AddInParameter( cmd, "@caseID", DbType.Int32, iCaseID );   
        ds = db.ExecuteDataSet( cmd );   
    }  
    ( sender as Telerik.Reporting.Processing.Report ).DataSource = ds;   
   
}  
 
 
 

 


Any suggestions?
Joanna LaForte
Top achievements
Rank 1
 answered on 06 Aug 2010
1 answer
175 views
Hi,

Is there a way to retain the printer settings?

I generate and print a report.  I change the printer settings in the printer properties dialog box for example select a colour print.
When I generate another report I must then make changes to the printer properties again.

Is there a way to keep the changes I made the first time?

Cheers,
Gary
Ivan
Telerik team
 answered on 06 Aug 2010
1 answer
140 views
I'm trying to pass a report a parameter value using the code below:

Report report = new Report();
report.ReportParameters["ContactID"].Value = 4437;

But I get the error below on ReportParameter:

Error   24  'eMember.Report' does not contain a definition for 'ReportParameters' and no extension method 'ReportParameters' accepting a first argument of type 'eMember.Report' could be found (are you missing a using directive or an assembly reference?)

Is there something I need to add?
Peter
Telerik team
 answered on 06 Aug 2010
1 answer
103 views
Hi,

I would like to place 4 textboxes vertical next to each other.
The data in them can variate in length. It would be nice if the textboxes resize to the max lenght of the text in them.
The data is, name company, street + number, postalcode, city.
You see company name and street can variate much in lenght.
How it display's now looks a bit wierd from a styling point of view, because somethimes you have much white space between company name and street.
When i go through the forums i notice vertical grow does not work.
Is there a solution to this styling problem?
Peter
Telerik team
 answered on 06 Aug 2010
1 answer
82 views
VERY impressed with this new feature!

The UI was very intuitive in setting up the parameter linkages

Keep up the good work
Vassil Petev
Telerik team
 answered on 06 Aug 2010
1 answer
204 views
hello, after install latest internal build 729 i have no empty reporting template in class library when i add a new element.
please can you check this issue?
thanks ...
Peter
Telerik team
 answered on 06 Aug 2010
1 answer
229 views
hi,

this happens to me all the time when i upgrade to a newer version of telerik reporting.
i enter visual studio (2008) and an upgrade wizard is opening up,
i follow it and it updated the references in the solution (Telerik.Reporting and Telerik.Reporting.XamlRendering)
but it doesn't upgrade "Telerik.ReportViewer.Wpf", doesn't really bother me much to remove and add it but the wizard supposed to do that for me.

thanks.
Ivan
Telerik team
 answered on 06 Aug 2010
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?