All Answers

0 votes

Hi Jorge

I’ve attached a sample that hopefully would suite your needs.

You have to make sure to set the “Copy To Output Directory” property of the XML file to copy always.

Also, the Application class has the StartupPath Property that returns the full path to your application’s project folder.

Best regards,
Alaa

0 votes

Hi Crisitan,

The issue is related to SameSite support.

SameSite is a relatively new change in browsers: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite

Wisej incorrectly sets the default to None which requires the cookie to also have the Secure attribute.

Currently we’re working on a fix for it and It will be included in the next build.

Best regards,
Alaa

0 votes

Hi Praveena,

In the PictureBox’s InitScript property you can add this line

this.getContentElement().removeStyle(“zIndex”);

Removing the z-index style makes the pseudo elements display below the main element (it may depend on the browser).

I’ve attached a sample too.

Hope this helps!

Best regards,
Alaa

0 votes

There is no change required to support .NET or Visual Studio features. In this case it seems to be available from .NET 6. Wisej 2.x uses .NET Framework. Wisej 3 will be on .NET 5,6,7, etc.

  • Luca answered May 26, 2021 - 7:49 pm
0 votes
In reply to: Applications

Application.Navigate() to navigate to the app url. Use a target name to open a new tab or use “_blank” to always open a new tab, etc. See https://developer.mozilla.org/en-US/docs/Web/API/Window/open and search for _blank etc. It’s all standard browser behavior.

 

  • Luca answered May 26, 2021 - 7:19 pm
0 votes

Hi Luca,
my intention is to free the server session & and its resources if the users leaves the application without closing the browser-tab.
Up to know I’ve managed to implement the display of a client side javascript box informing the user about the timeout  (based on Kevin’s suggestions if the timeout happened) but as I understood the session on the server  keeps alive then?
So I thought about something like “WiseJ.Exit()” to call on the client side to exit/kill the session sooner or later on the server too but without the need to close the browser tab…

  • Tobias answered May 26, 2021 - 7:18 pm
0 votes

Wisej.Core.exit() but the result is the same.

It’s unclear what you need to do.

  • If you want to suppress the built-in form, use e.Handled = true and terminate the session using Application.Exit()
  • If you want to display a javascript dialog on the client, add this to Default.html:
<body>
 <script>
   Wisej.onExit = function () {
      var box = new wisej.web.MessageBox().set({
          title: "Test",
          message: "Message",
          image:"information"
      });
     box.show();
 }
 </script>
</body>

There is no other option. It’s either client only code or server code with a session.

You can use all Wisej widgets in javascript or use any other widget from any javascript library. See how to display a message box above. All the widgets are available here:

https://github.com/iceteagroup/Wisej-qx
https://github.com/iceteagroup/Wisej-js
https://github.com/iceteagroup/wisej-js/blob/master/wisej.web.MessageBox.js

The code is all self documented. The syntax is the standard config json syntax of all libraries.

HTH

 

 

 

  • Luca answered May 26, 2021 - 7:06 pm
0 votes

So is there a possibility to “kill” the session (and free server resources) from client side ?

  • Tobias answered May 26, 2021 - 6:54 pm
0 votes
In reply to: ContextMenu

Meanwhile, I attached a sample that can handle items hidden or disabled in a popup menu

Regards and happy codding

 

  • Paul answered May 26, 2021 - 5:01 pm
0 votes
In reply to: ContextMenu

Hi Nello

Wich version of Wisej are you using ?

Regards

  • Paul answered May 26, 2021 - 3:24 pm
0 votes

Hi Jan

What version of Wisej are you using?

The version of FF that present the issues are the same or diferent ?

Could be possible that you send us a minimun sample that present the issue

For the moment whe dont have others clients with this problem

Regards.

  • Paul answered May 26, 2021 - 3:21 pm
0 votes

Hi Edmond,

Please make sure that you install the .ttf files of Poppins on your server and on your development machine.

You can download the font files from here: Poppins – Google Fonts

The reason for that is that Web Fonts aren’t usable by windows and that’s why you were experiencing these issues.

Best regards,
Alaa

0 votes

Hi Tobias,

No it’ll be free when Application.Exit(), it terminate session and all data stored are terminated,

But Application.Reload(); continue to persist session data

Best,

Kevin (ITG)

  • Kevin answered May 25, 2021 - 9:11 pm
0 votes

Hi Frank.

Thank you for the update. I was on my way creating a sample, since I tested your first idea and still complained about the function setting.
Since the second option you mentioned now might take a while, if it gets done, would you mind to give me a small direction on where I find this “Init” function? 🙂
I will worry about what to code in it after this.

0 votes

Ivan,

checking more closely, it´s currently not possible to enter a function the way you did.
You might want to implement the function by yourself in the Init function or
we could extend the dxDataGrid to convert that property from a function name to an actual function.

I have logged an enhancement request for the 2nd option but cannot tell you now if and when it will be implemented.

Best regards
Frank

0 votes

Hi Edmond,

Have you applied the right theme file to the designer? I’ve tried using Poppins as a default font and it’s working fine in designer (no issues rendering the font).

If that’s the case, then can you please specify what version of Wisej you’re using?

Thank you,
Alaa

 

0 votes

Hi Frank.

Thank you so much for the reply!

I get this error in the Console:
dx.all.js?v=637575566018061750:52 Uncaught TypeError: n.customLoad is not a function
at t._loadState (dx.all.js?v=637575566018061750:52)
at t.load (dx.all.js?v=637575566018061750:52)
at dx.all.js?v=637575566018061750:52

The WebMethods are defined in the window where the dxDataGrid exists.

0 votes

Ivan,

what error do you get? What´s the scope of your WebMethods?

Best regards
Frank

0 votes

Hi, thanks for comment Us

it´s possible that you upgrade to last wisej build 2.2.48 or test it with these new version?

Builds

regards and happy coding

  • Paul answered May 25, 2021 - 7:25 pm
0 votes

Hi Alaa

Thanks for the response.

Just wanted to check if any updates on this.

I noticed that both properties Image and BackGroundImage are being set. But I guess Image is displayed behind the BackGroundImage. Is it possible to display it the other way around(BackGroundImage behind Image)?

Thanks

Praveena

Showing 3701 - 3720 of 11k results