Solved: Stuck wrapping an asp.net control (Stimulsoft Reports) - Designer

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
Answered
0
0

I’m stuck trying to get this to work. I’ve tried even using the same sort of logic that the Microsoft Report Viewer has and I can’t get it to work. Any help would be appreciated.

Here is a link to the project

https://ufile.io/xgl95

  • You must to post comments
Best Answer
0
0

Hi Mark,

we extended your code so that the designer now loads as expected. See attached sample.
You’ll need a new version of our ASP.NET wrapper control from which the Stimulsoft implementation for Wisej is derived. Watch the builds page on our website, it will be part of the next devbuild we publish.

Best wishes
Thomas

  • You must to post comments
Good Answer
0
0

Hi Frank, found the solution for this.
i forgot to add this in the web.config

<assemblies>
<add assembly=”Stimulsoft.Report.MobileDesign, Version=2017.2.2.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a”/>
</assemblies>

<modules>
<add name=”Wisej” type=”Wisej.Core.HttpModule, Wisej.Core”/>
<add name=”WisejAspNetControl” type=”Wisej.Web.Ext.AspNetControl.HttpModule, Wisej.Web.Ext.AspNetControl” />
</modules>

Thanks!!

Orel

  • Thomas (ITG)
    Thanks for posting the hint. Good luck with your project!
  • You must to post comments
Good Answer
0
0

  • You must to post comments
0
0

Hi Orel,

just checked and the events are firing ok here.
Can you please share some more details ? What Wisej version are you using ?
Which events did you try ?

Thanks in advance.

Best regards
Frank

  • Orel Gabay
    Hi Frank, found the solution for this. i forgot to add this in the web.config Thanks!! Orel
  • You must to post comments
0
0

Hi Thomas,

I’ve checked your example and its working very nice.

there is a problem while firing Events  , its seems not working..

in the OnInit method there are some events attach , but they are not firing..

any Idea?

 

Thanks

Orel

  • You must to post comments
0
0

It is working now. The wrapper for the report viewer actually works now without having to do anything other then creating this class

 

public partial class WebReportViewer : Wisej.Web.Ext.AspNetControl.AspNetWrapper<Stimulsoft.Report.Web.StiWebViewer>

  • Thomas (ITG)
    Good to hear that it’s working, thanks for your feedback. The event/delegates were meant as placeholders in case you want to do some extended stuff. ;-)
  • You must to post comments
0
0

Hi Mark,

the new Wisej build (1.3.65) is online.

We are definitely interested in learning more about your applications and the viewer source code you offered. Thanks in advance !

Best regards
Frank

  • You must to post comments
0
0

Awesome will check it out once the new version is published and we are also going to wrap the report viewer as well. We’ll post the source once to the viewer once we have it working for anyone else.

  • You must to post comments
0
0

And this is the same running as a desktop application (standalone and self-hosted in a single exe) using the upcoming Wisej.Application.exe (IE or Chromium) 🙂

 

 

  • You must to post comments
0
0

Hi Mark,

I’m going to take a look later on today.
Just out of curiosity: Have you considered using the JavaScript designer component from Stimulsoft in favor of the ASP.NET control?

Best wishes
Thomas

  • Mark Reed
    I’ve thought about it. I figured there would be several different ways to do it. I could have also tried to wrapping it in an iframe. I was just hoping the easiest thing would be the aspnet control. Especially since it is partially working and it seems it is really more of getting their code to run at the right time.
  • Thomas (ITG)
    Hi Mark, we’ve worked on putting together a sample but stumbled across an issue that needs a little further investigation. We’ll post some sample code as soon as it is ready.
  • Mark Reed
    Awesome thanks you guys for all the hard work. We are porting a VWG app over and being able to use these existing aspnet controls with help us save time :) At some point we will have to show you what we’ve done. It is a very Azure portal look and feel
  • You must to post comments
Showing 10 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json