With the new Q2 release Telerik Reports hyperlinks are now supported,
and I am trying to enable interactive sorting without tables. Table
performance seems very slow or even hangs when using table grouping.
With the fields in the detail section directly, and using the NeedDataSource, or ItemDataBinding(for the report details section) event I can grab my report params but in these events the sorting methods don't work. "Telerik.Reporting.Data.SortDirection.Asc"
The sorting does work under InitializeComponet() but
I can't get the params or at least don't know how at that stage of
report rendering. .
I am designing the reports in a class library
Thanks
private void Report3_NeedDataSource(object sender, EventArgs e)
{
Telerik.Reporting.Processing.Report report = (Telerik.Reporting.Processing.Report)sender;
if ((string)report.Parameters["SortDir"].Value == "Asc")
{
this.Sorting.Add(new Sorting("firstname", Telerik.Reporting.Data.SortDirection.Asc));
report.DataSource = this.sqlDataSource1;
}
//
// TODO: Add any constructor code after InitializeComponent call
//
}
private void Report3_NeedDataSource(object sender, EventArgs e)
{
Telerik.Reporting.Processing.Report report = (Telerik.Reporting.Processing.Report)sender;
if ((string)report.Parameters["SortDir"].Value == "Asc")
{
this.Sorting.Add(new Sorting("firstname", Telerik.Reporting.Data.SortDirection.Asc));
report.DataSource = this.sqlDataSource1;
}
//
// TODO: Add any constructor code after InitializeComponent call
//
private void Report3_NeedDataSource(object sender, EventArgs e)
{
report.DataSource = this.sqlDataSource1;
}
//
// TODO: Add any constructor code after InitializeComponent call
//
}
private void Report3_NeedDataSource(object sender, EventArgs e)
{
Telerik.Reporting.Processing.Report report = (Telerik.Reporting.Processing.Report)sender;
if ((string)report.Parameters["SortDir"].Value == "Asc")
{
this.Sorting.Add(new Sorting("firstname", Telerik.Reporting.Data.SortDirection.Asc));
report.DataSource = this.sqlDataSource1;
}
//
// TODO: Add any constructor code after InitializeComponent call
//
{
Telerik.Reporting.Processing.Report report = (Telerik.Reporting.Processing.Report)sender;
if ((string)report.Parameters["SortDir"].Value == "Asc")
{
this.Sorting.Add(new Sorting("firstname", Telerik.Reporting.Data.SortDirection.Asc));
report.DataSource = this.sqlDataSource1;
}
//
// TODO: Add any constructor code after InitializeComponent call
//
}
private void Report3_NeedDataSource(object sender, EventArgs e)
{
Telerik.Reporting.Processing.Report report = (Telerik.Reporting.Processing.Report)sender;
if ((string)report.Parameters["SortDir"].Value == "Asc")
{
this.Sorting.Add(new Sorting("firstname", Telerik.Reporting.Data.SortDirection.Asc));
report.DataSource = this.sqlDataSource1;
}
//
// TODO: Add any constructor code after InitializeComponent call
//
}