All Answers

0 votes
In reply to: Office 365 Viewer

Hi Arturio,

we have already created an extension using Microsoft’s Office 365 Live Viewers that can be used to view Office documents.
It´s available at https://wisej.com/extensions

Please also find a related discussion here:

https://wisej.com/support/question/office-document-viewer

Best regards
Frank

0 votes

It’s the identity for the app pool that cannot write to temp.

The .NET v4.5 seems to be using NetworkService by default. While the the DefaultAppPool uses ApplicationPoolIdentity. I always use DefaultAppPool or create a new one for the application.

  • Luca answered Dec 1, 2017 - 5:25 pm
0 votes
In reply to: Trial License Expired

Hi Felix,

Visual Studio 2017 is fully supported.
I extended your license till December 31st. Please note that this will be the last renewal.

Best regards
Frank

0 votes
In reply to: Trial License Expired

Hi Frank,

Would you mind helping me to renew the trial license again ? I am sorry that I was busy recently and have no time to continue to try converting a VWG application into WiseJ. I hope I can have some free time to try it in the coming long holiday.

Another quick question, can I use Visual Studio 2017 (using .NET 4.6 or .NET 4.7) ?

Thanks,

Felix

0 votes
In reply to: Ribbon Bar Update

The estimate we had before has already been blown 🙁 The main reason is that the first approach didn’t work well. I’ll send a better update next week.

 

  • Luca answered Dec 1, 2017 - 1:13 am
0 votes

Like a toolbar where you can move buttons around?

  • Luca answered Dec 1, 2017 - 1:10 am
0 votes

Hi Orel, see attached.

Some issues:

  • The opentooltip.js class was derived from control, it’s not a control anymore, it’s an extender (or a plain javascript object) that manages properties for other widgets. See the declaration of the tooltip.js extender.
  • Opentooltips (like all jquery) operates directly on element, it cannot handle delayed dom created (or fastdom). Wisej widgets are not created in the dom until later when all properties can be rendered in one go. I added some code that checks if the dom is created, and if not it simply listens for the “appear” event.
  • You don’t need to manage the property values. When you declare a property the qooxdoo framework takes care of everything.
  • The apply methods are useful only if you need to do something on the widget/object when the property changes.
  • The alignment property will not work. You need an enumeration that matches the values used by the opentooltip librarys. The Placement enumeration in wisej has many more combinations than the ones supported in the opentooltip lib.

HTH

 

  • Luca answered Dec 1, 2017 - 1:02 am
0 votes

Sorry I didn’t reply sooner. Just requesting the HTML page will not work. All you get back is the HTML page. The requester (which is usually the browser) has to execute javascript. It’s the same for all javascript web apps. If you request a page with angular or jquery all you get back is the page with the links.

It’s a lot better to start the process using server code and don’t rely on an external timer or requester. You build a simple monitor app in Wisej and launch threads or processes and manage them. The third party IIS allows you launch threads.

The only issue is that when IIS recycles it will kill the threads in the same app pool. I believe it can be turned off for a specific app pool.

Best,

Luca

  • Luca answered Nov 30, 2017 - 4:40 pm
0 votes

Hi Luca!
thank you very much for your great answer!
I’ve tried your solution and its works.

I’ve used the ToolTip class that you attached and used the wisej js source code.

right now I’ve succeeded make it work only for the first app running.

when i press F5 and the app is reloading the _applyOpenTipValue method is called before the screen is done rendering and i’m getting an error..

how i can solve this problem?
Thanks you again!

Orel

0 votes

Why not just call a url on your WiseJ site from Python with a URL parameter – different values for the different tasks

Read the parameter – there were a few examples in the posts, and depending on tthe value of the parameter – do different things.

  • edmond girardi answered Nov 29, 2017 - 10:01 pm
  • last active Nov 29, 2017 - 10:01 pm
1 vote

Crystal has a Web Viewer – Used it extensively with Visual Web Gui,

What we use to do is store an object in the session with all the parameters we needed to pass to the report. Then, in an ASP box – we loaded a ASPX page that read the session object, assigned the parameters to the Crystal Report Object -and presto – displays in the ASPX box, or launches as a separate page – however you want to handle it.

  • edmond girardi answered Nov 29, 2017 - 9:57 pm
  • last active Nov 29, 2017 - 9:58 pm
0 votes

Hi Edmond,

as you might guess, there a couple of ways to achieve that with Wisej.
Here is a rather simple straight forward approach using css with the StyleSheet extender.

I have added a StyleSheetExtender to the page and created some simple css:

stylesheet

Now a CssClass property is added to all controls on that page. So you can now pick the class “highlight” and directly assign it using the designer.
(could also be done by code).

label

I have created a simple sample that shows you the result and helps you getting started:

http://wisej.s3.amazonaws.com/support/attachments/LabelHover.zip

Best regards
Frank

0 votes

Hi Edmond,

just to make sure that I got it right:

Your custom menu is composed of standard labels ?

Will create a mixin and get back to you.

Best regards
Frank

1 vote

You can create a pdf and show it using the PdfViewer control. I don’t know if Crystal Reports has a web viewer.

  • Luca answered Nov 28, 2017 - 7:06 pm
0 votes

Hi Orel, here are the issues (easy to fix):

  • the missing “wrap” property is caused by Multiline=true in WebApplication1 because your OpenTip class overrides the className and sets it to “wisej.web.ext.TextBoxOpenTip” which is derived from wisej.web.TextBox. Multiline textboxes are implemented in wisej.web.TextArea since in the browser they are different things. See wisej js source code here: https://github.com/iceteagroup/wisej-qx/tree/master/wisej The TextBox class in Wisej changes the className when Multiline is true.
  • _applyValue is not called because of the wrap error which occurs at runtime too (in console).
  • You changed the appearance key making the textbox lose the theme values.

 

I would remove the IWisejControl interface from the class definition and remove the AppearanceKey change. Change the name of “_applyValue” to “_applyOpenTipValue” to avoid conflicts. Remove Multiline=true to see your extension work (it works).

Another problem is that if you want to add the opentip everywhere you can’t override all wisej controls. It should be done as an extender, so you can drop it on  the container and it works for all controls. You can find the js source code using the link above, look for wisej.web.extender.ToolTip.js.

I have attached the C# source code of the ToolTip extender implementation in Wisej that you can use as a reference.

 

 

  • Luca answered Nov 28, 2017 - 7:02 pm
  • last active Nov 28, 2017 - 7:03 pm
0 votes

Hi Andrew,

I think a scheduled task will do as long as it runs a batch file like

“\Program Files (x86)\Google\Chrome\Application\chrome.exe” wisej.com

  • Tiago (ITG) answered Nov 28, 2017 - 9:28 am
  • last active Nov 28, 2017 - 9:29 am
0 votes

Hi,

I don’t know of any event (I’m sure Frank or Luca will come along and correct me) but I use the colour dialog like this:

using (ColorDialog dlg = new ColorDialog())
{
dlg.Color = Color;
if(dlg.ShowDialog() == DialogResult.OK)
{
Color = dlg.Color;
}
}

HTH

Nic
 

0 votes

Hi Ben,

thanks we tracked it down, logged as WJ-8581 and fixed it.
It will be included in the next Wisej build.

Please let me know if you need a prerelease upfront.

Best regards
Frank

0 votes

Hi Frank,

Thanks for help, I miss some information in last message,

  1. I drag a image file from file explorer and drop into the picturebox.
  2. please try to run in second display (my notebook connect a 1920×1080 display) and see can it reproduce, I found it’s not always happen, attached please found the code for your reference, thanks a lot.

Best regards,

Ben

  • Ben answered Nov 25, 2017 - 2:22 am
0 votes

Hi Ben,

tried to reproduce but failed. Can you please share the code that you are executing on dragdrop (if any) ?

Thanks in advance.

Best regards
Frank

Showing 8121 - 8140 of 11k results