Hi all,
As you know, telerik reporting tool has some problems when the session state is persisted in ASP.NET StateServer.
Q3-SP2 (v2.9.8.1209) solved some issues about this, thank you, but I still have a problem and it is really weird.
I am creating a report object and setting the value of a private instance variable that I defined. The code snippet is;
I am creating the report using the second constructor and pass the value for someVariable value. But when I debug the code at rendering time, i see that my instance variable does not hold the value I set. The report object is being created again using parameterless constructor by the rendering engine. This happens only when the sessionState is not "InProc".
This problem has come with SP2. We have lots of reports already designed and cannot find any workarounds. When will we have a SP that completely solves this session state problem???
--ilker
As you know, telerik reporting tool has some problems when the session state is persisted in ASP.NET StateServer.
Q3-SP2 (v2.9.8.1209) solved some issues about this, thank you, but I still have a problem and it is really weird.
I am creating a report object and setting the value of a private instance variable that I defined. The code snippet is;
/// <summary> |
/// Summary description for Report1. |
/// </summary> |
[Serializable] |
public partial class Report1 : Telerik.Reporting.Report |
{ |
private int SomeVariable; |
public Report1() |
{ |
InitializeComponent(); |
} |
public Report1(int someVariable) |
: this() |
{ |
this.SomeVariable = someVariable; |
} |
private void Report1_NeedDataSource(object sender, System.EventArgs e) |
{ |
(sender as Telerik.Reporting.Processing.Report).DataSource = |
new SampleDataSourceItem[]{ |
new SampleDataSourceItem{ItemName="Item1", ItemValue=1}, |
new SampleDataSourceItem{ItemName="Item2", ItemValue=2}, |
new SampleDataSourceItem{ItemName="Item3", ItemValue=3}, |
new SampleDataSourceItem{ItemName="Item4", ItemValue=4}, |
new SampleDataSourceItem{ItemName="Item5", ItemValue=5} |
}; |
} |
This problem has come with SP2. We have lots of reports already designed and cannot find any workarounds. When will we have a SP that completely solves this session state problem???
--ilker