You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The biggest drawback on moving from VWG is ReportViewer control, any feedback when could this be available, or is there a way to make it work using ASP Wrapper control ?
The AspNetWrapper extension is ready and will be uploaded with source code in the extensions page on Tuesday. I will also upload a small sample Wisej application that defines a AspNetReportViewer wrapped control and uses it connecting with a test db we have using AdventureWorks.
The AspNetWrapper generic base class allows you to wrap most if not all AspNet controls quite easily:
public class AspNetReportViewer : AspNetWrapper<ReportViewer>
{
// Add properties and events specific to the control
protected override void OnInit(EventArgs e)
{
var viewer = this.WrappedControl; // <- it's already typed.
// Initialize the viewer.
}
}
This code limits what export formats you can use for a report. EG If you export a matrix report to csv format it deconstructs the matrix! (Bug with reporting services)
Stick the code in the OnInit section of the AspNetExtension.
Activity
itg-assistant commentedon Jun 12, 2026
Luca answered 2016-09-13 11:42:21 UTC
Hi Ewan,
I don't have an ETA yet. I will keep you updated as soon as there is any advance on that front.
Best
Luca
itg-assistant commentedon Jun 12, 2026
Dino Novak answered 2016-11-05 11:44:28 UTC
Hello all,
excellent work on the product so far.
The biggest drawback on moving from VWG is ReportViewer control, any feedback when could this be available, or is there a way to make it work using ASP Wrapper control ?
Thank you,
DiNo
itg-assistant commentedon Jun 12, 2026
Luca answered 2016-11-07 01:36:39 UTC
Hi Ewan and Dino,
The AspNetWrapper extension is ready and will be uploaded with source code in the extensions page on Tuesday. I will also upload a small sample Wisej application that defines a AspNetReportViewer wrapped control and uses it connecting with a test db we have using AdventureWorks.
The AspNetWrapper generic base class allows you to wrap most if not all AspNet controls quite easily:
Best,
Luca
itg-assistant commentedon Jun 12, 2026
Dino Novak answered 2017-02-14 18:55:08 UTC
Hello Luca,
can you please point me to the sample that is utilizing ReportViewer wrapped control, I am searching for it but no luck so far.
itg-assistant commentedon Jun 12, 2026
Ewan Walker answered 2018-01-05 14:52:44 UTC
You might find this useful.
This code limits what export formats you can use for a report. EG If you export a matrix report to csv format it deconstructs the matrix! (Bug with reporting services)
Stick the code in the OnInit section of the AspNetExtension.
//Restrict report export options
FieldInfo info;
foreach (RenderingExtension extension in viewer.ServerReport.ListRenderingExtensions())
{
info = extension.GetType().GetField("m_isVisible", BindingFlags.Instance | BindingFlags.NonPublic);
if (extension.Name == "EXCELOPENXML" || extension.Name == "PDF")
{
info.SetValue(extension, true);
}
else
{
info.SetValue(extension, false);
}
}
NB there are some hidden options if you enable EXCEL you get Excel 2003 output format, to see them all set everything to true.
Hope this helps
Ewan