All Answers

0 votes
In reply to: PdfViewer Quick print

Hi Huỳnh,

The PdfViewer control is tied to the browser’s controls, so it might be challenging to tie to the print preview event through the PdfViewer control.

I would suggest integrating Print.JS with your project: https://printjs.crabbly.com/

This library allows you to pass it the URL of a PDF and send it to print preview.

Does this library work for you?

 

Alternatively, if you’re using Mozilla pdf.js you can try the solution provided in this StackOverflow post:

https://stackoverflow.com/questions/14401965/printing-pdf-using-pdf-js

Best regards,

Levie

 

  • Levie (ITG) answered Sep 13, 2019 - 3:44 pm
  • last active Sep 13, 2019 - 6:13 pm
0 votes

Please see attached.

0 votes

Hi Glenn,

I see the screenshot, can you attach the project as well?

Thanks!

Levie

0 votes
In reply to: TabPage multiline text

Hi Angelo,

you might want to follow this guide and try with HTML in the the tab page header:

https://wisej.com/support/question/tabpage-with-html-text

However I am not sure if the button size will work accordingly.

Best regards
Frank

0 votes

Hi Ricardo,

There is no visibility property for events, but you can “hide” them by removing them from the fullCalendar.Events list. I recommend keeping a separate list of all events. Then you can add/remove them from fullCalendar.Events to show/hide them as needed.

Best regards,

Nick

  • Guest answered Sep 10, 2019 - 9:46 pm
0 votes
In reply to: DataGridView ForeColor

I was able to get the cells’ ForeColor to change in your demo by changing the ForeColor property of DataGridView1.DefaultCellStyle (rather than DataGridView1.RowTemplate.DefaultCellStyle), and then by calling Refresh() on the data grid view to update its appearance.

So in your demo the line
Me.DataGridView1.RowTemplate.DefaultCellStyle.ForeColor = dlg.Color
Gets replaced with
Me.DataGridView1.DefaultCellStyle.ForeColor = dlg.Color 'changes the color
Me.DataGridView1.Refresh() 'update appearance

 

  • Guest answered Sep 7, 2019 - 7:42 pm
  • last active Sep 7, 2019 - 7:43 pm
0 votes

Hi Levie,

now works properly.
Thank you for your precious advice.

 

0 votes

Hi Angelo,

VS automatically renames your root namespace when you create a project with a dash in its name.  When using custom qx classes with Wisej, they need the root namespace of the project, but if it’s not the same as your assembly name, which is what Wisej uses to guess your root namespace, compilation won’t return that it found any custom classes.

The way to fix this is to modify your project’s AssemblyInfo.vb file:

<Assembly: WisejResources(, "AL_eMAN")>

This overrides the name for the default root namespace used for compilation.

Please let me know if this works for you!

Best regards,

Levie

0 votes

Hi Frank – are you using version 2.0.40 to run the test code?

I can reproduce it on Chrome, Edge, and Internet explorer.  Attached are a couple pics of it being reproduced…

Thanks in advance,

 

Matthew

0 votes

Hi Matthew,

I tried to reproduce the problem using your test case but failed so far.

Does the problem occur on any browser or just a particular one ?

Thanks in advance !

Best regards
Frank

0 votes

You could try profiling the application using something like codetrack.

0 votes

Thanks for you answer.

Where can I find the wisej License version?

The application is not totally not responding but, as I said, the “loading wheel” appears and the user have to wait until it disappears…

I tried to use IE console on my pc… nothing happened… I wonder if it could be some network issue, but, in this case (i set enableWebSocket to false) how can I handle the problem

Thanks in advance for any suggestion

0 votes

Hi Ewan,

2.0.41 has been dropped as the testings were not completed yet.
While I don´t expect a problem, please revert to release 2.0.40 to be on the safe side.

Thanks,
Frank

0 votes

Thanks Jens.

I will try …

Best Regards

Marcelo Blank

 

 

 

0 votes

Question already answered here.

1 vote

Hi Marcelo,

here is the LocalStorage example working with Wisej 2.

I had to delete the Window1.resx and let it re-create from VS. It got a compiler error some, which said there are “web restrictions” on this file.

I also set the Build Action of the JS-file to Embedded Resource and activate the line

[assembly: Wisej.Core.WisejResources(ExcludeList: "")]

in AssemblyInfo.cs.

After these steps the example is now working.

Best,

Jens

 

0 votes

Hi Luca

I just get this example above (in WiseJ 1.5) and create it in WiseJ 2 … copying the JS and Component …

I got an initialize error… (Inspector/console).

Could you help me.

Follow a project.

Regards,

Marcelo Blank

 

 

 

0 votes
In reply to: Wisej OWIN on linux

Linux support will be added with the release of Wisej 3, which is planned to be in 2020. However, running Wisej apps as standalone executables will also require additional versions of the Wisej.Application extensions that support Linux, which will not be included with the initial release of Wisej 3.

So using OWIN to run Wisej apps as standalone executables on Linux is not currently supported, and won’t be with Wisej 3. However, it is likely to supported in the future.

Best regards,

Nick

  • Guest answered Sep 4, 2019 - 2:19 pm
0 votes

I used EPPlus when I worked with VWG so I am sure it will work with Wise J

https://github.com/JanKallman/EPPlus

Does not require Microsoft Interop to work

Hope this helps

Ewan

0 votes

Hi David,

what version of Wisej are you using ?
Does the application recover from not responding ?
Can you try using the console in IE 11 to track down the areas where this happens ?

Best regards
Frank

Showing 5541 - 5560 of 11k results