Telerik Forums
Reporting Forum
1 answer
124 views
Hello all,

i am getting the above error when working with master pages. I have created separate project reports and when i try to display the report on report viewer which is on my User Control i am getting the following error.

Report is unavailable or session has expired.
Please, refresh the page.

the same when iam trying without Master Pages iam getting the result.

This is how i set Session in my webConfig
<sessionState mode="InProc" timeout="60">
        </sessionState>

please reply me regarding this as soon as possible.

Thanks.
shahid Aleem
Top achievements
Rank 1
 answered on 09 Aug 2010
2 answers
174 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
129 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
102 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
383 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
131 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
101 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
86 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
69 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
166 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
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?