All Answers

0 votes

Hi Edmond,

issue #1678 is fixed in our new release (1.5.36).

Best regards
Frank

1 vote
In reply to: Shared server memory

Web sessions don’t really exist in .NET (or Java, php, etc). A session is simply an instance of an object saved in a global cache and identified by a key, the session id. A static (which is a singleton, or a shared in VB.NET) is always a static and it’s only 1 (.NET isolates them by AppDomain – in IIS an AppDomain is a site within an App Pool which is a process). It’s the same in ASP.NET/MVC, and in JSP, PHP, …

Typically to convert local code that uses shared singletons (statics) for a user to a web based app you have to change the storage to a session variable:

Application.Session.myShared = "Test"; // this is possible because of Wisej dynamic objects.

or

Application.Session["myShared"] = "Test";

However, there are also cases where you want to share an instance among all users (sessions). In these cases you can use statics (which are singletons or shared in VB.NET). For example, you can share lookup data, data sets, configuration values, and anything else that makes sense for the app at hand.

HTH

 

 

  • Luca answered Nov 28, 2018 - 10:29 pm
1 vote

Hi Frank,

thanks my bad!

 

Wisej techsupport do a very great job,

thank you!

0 votes

Hi Simone,

you have to set the UserPaint property to true for columns where you want to handle the paint event.

Best regards
Frank

0 votes

Hi Edmond,

The settings in default.json are all preset to their default values as documented in the json itself and here: https://wisej.com/docs/html/Configuration.htm. You don’t need to change “enableWebSocket” unless you want to turn it off.

The spinning ajax loader is displayed after “loaderTimeout” milliseconds if the browser doesn’t receive a response from the server. I think the default is too short, it should be set to 3 or 5 seconds I think. If you have it “stuck” and you are in debug with VS attached to IIS, just push pause in VS and see if there is anything running in your app. It is also possible that there is a mismatch of responses or a javascript error that prevents Wisej from turning off the loader – especially since hitting F5 works fine it makes me thing the server is not busy at all.

The warnings you attached are all not from Wisej, they are coming from the mozilla pdfjs, which has an ajax spinning loader of its own. They all seem harmless warnings. When using Chrome console you get a lot of stuff logged that can be ignored – in fact most of the web pages around will give you a ton of javascript errors when you use the console.

Also try (as a test) to increase the session timeout to a higher value (which will reduce the keepalive messages) and see if the issue is resolved. In previous builds the keepalive message was session-synchronized and could have caused the spinner to show by itself (it has been changed to an async message).

HTH – Let me know.

 

  • Luca answered Nov 27, 2018 - 4:23 pm
0 votes

Hi Gareth,

How do you get the timeout error? Things to check:

  • If you created a new app pool, make sure it has full permissions on the app’s directory. (try with the default pool)
  • Make sure the app’s directory has full control for IIS_IUSRS (you can also try NETWORK_SERVICE)
  • Test this URL http://yourapp/wisej.wx (you have to get the loader code: http://demo.wisej.com/wisej.wx)
  • In Chrome with F12 look under Network to see what error you get, it’s possible that IIS is just not hitting the app.

Let me know.

  • Luca answered Nov 27, 2018 - 4:14 pm
0 votes

Hi John,

Since we are consolidating Wisej.Web.dll and Wisej.Core.dll into Wisej.Framework.dll
you will have to change your references (the namespaces remain as is) and recompile your application(s).
We don´t expect any further actions required.

Hope that helps.

Best regards
Frank

1 vote

Hi,

before reader further, please remove your Wisej.LicenseKey, asap :).

Best,

Jens

0 votes

Hi Edmond,

I cannot reproduce it or I missunderstood you. For me it looks like in attached image.

I’m using the latest dev build and testet it also with 1.5.23.

Best,

Jens

0 votes

Hi Edmond,

this Issue is logged as #1678.

Best,

Jens

0 votes

Hi Edmond,

all seems to be fine.

Next, you can try to add a trace listener and log the informations coming from Wisej.

You can use this web.config entry descibed here.

Best,

Jens

0 votes

Screenshot attached of Developer console in Chrome

0 votes
In reply to: MenuItem,Text problem

Thank you Jens!

It’s a bug in the themes. The main menu component doesn’t specify the font in the themes (the floating menus do) and it ends up inheriting the CSS from the container when it shouldn’t. In fact we even have a font defined names “menu” for the menus.

Will be fixed in the themes. I will also log an enhancement to add Font, ForColor and BackColor properties to MainMenu and MenuItem like the MenuBar already has.

As a workaround for Gareth, add a theme mixin file to the app under /Themes/Application.mixin.theme (Embedded Resource) and set to this:

 

{
  "name": "Application",
  "appearances": {
    "mainmenu": {
    "inherit": "mainmenu",
      "states": {
        "default": {
          "properties": {
            "font": {
              "size": 13,
              "family": [ "arial", "verdana", "sans-serif" ],
              "bold": false
            }
          }
        }
      }
    }
  }
}

 

  • Luca answered Nov 26, 2018 - 4:58 pm
  • last active Nov 26, 2018 - 4:59 pm
0 votes
In reply to: MenuItem,Text problem

Hi,

I can reproduce it with 1.5.33 when changing the Font of the Form (Window1) to “@defaultBold, 13px, Bold”.

Then the text is cut off at design- and runtime. Testcase attached.

Best,

Jens

0 votes
In reply to: Slow performance

Hi Arturo,

your qx.js is very big on the screens (1.1MB). This says me that you don’t have the minified version of your client sources.

Take a look at the documentation https://wisej.com/docs/html/Configuration.htm

You’ll see the compilation tag with the debug attribute, set it to false and Wisej will minify all sources. After that my qx.js is 300kb.

“<compilation debug=”true” targetFramework=”4.5″>

Wisej reads the “debug” value of the <compilation> to determine whether to minify the javascript libraries. When debug is set to false, Wisej automatically bundles and minifies all the javascript libraries that are required by the application, including Wisej’s core libraries, all extension libraries, and all custom libraries that may have been added by the application.”

 

Best,

Jens

  • Jens (fecher) answered Nov 26, 2018 - 12:29 pm
  • last active Nov 26, 2018 - 12:29 pm
0 votes

This issue should be fixed with the next release.

Best,

Jens

0 votes

Hi Edmond,

when you open the developer tools from your browser, are there any erros/exceptions displayed in the console?

Which Wisej Version are you using? You can also see it in developer tools:  Sources – … – resources.wx — Wisej.Web – wisej.js?v=1.5.xx

Are there any changes in default.json related to responseTimeout or showLoader?

Can you please specify more cases where this happens?

Best,

Jens

0 votes
In reply to: CloneMenu Example

Hi Gareth,

glad to hear that your other issues are resolved.

After the cloning the menu simply assign it to the menu property of your other form(s).

Find a sample here (it´s in C# but I think you get the picture):

https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.menu.clonemenu?view=netframework-4.7.2

Hope that helps.

Best regards
Frank

0 votes

Hi Luca,

i have to set 24 hour format for FullCalendar (AgendaView).

 

I found this (https://fullcalendar.io/docs/timeFormat), but right now i can’t set any options for this extension (see image).

 

Any suggestion ? Thanks

0 votes

For anyone with this issue, try going to Window -> Close all Documents in Visual Studio.

Then re-open your form(s) from Solution Explorer, and check that the theme is selected in dropdown box in the lower-left corner of the form designer.

 

 

 

Showing 6541 - 6560 of 11k results