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
Please see attached.
Hi Glenn,
I see the screenshot, can you attach the project as well?
Thanks!
Levie
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
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
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
Hi Levie,
now works properly.
Thank you for your precious advice.
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
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
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
You could try profiling the application using something like codetrack.
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
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
Thanks Jens.
I will try …
Best Regards
Marcelo Blank
Question already answered here.
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
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
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
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
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
