Skip to content

Report Viewer #253

Closed
Closed

Description

@itg-assistant

Ewan Walker asked 2016-09-13 10:34:17 UTC

Is there an ETA for when this will be available?

I can start converting my VWG projects then

Thanks

Ewan

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    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

  2. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    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

  3. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    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:

    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.
        }
    }
    

    Best,

    Luca

  4. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    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.

  5. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    New FeatureA capability that does not exist yet.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions