All Answers

0 votes

There is no CPU consumption unless the user and your app is doing something, Just being connected does nothing. The memory consumption depends on your application.

  • Luca answered Feb 15, 2019 - 10:46 pm
0 votes

Cracked it in the end. The control stays bound to the cell now.

However performance is really slow if when loading a single row table multicolumn (not filtered) for each cell and using a header click to load the full multi column box.

The slowness is just simply loading the grid and scrolling not actually editing. The multicolumn table replace on edit is fast.

2 votes

These are the steps to deploy with plesk on a windows machine (godaddy or any other) in a sub-directory.

I used /codeproject.

  • Using Plesk go to Virtual Directories, create a new virtual directory (i.e. /codeproject)
  • Using Plesk file manager, upload Default.html, Default.json and web.config to /codeproject
  • Using Plesk file manager, upload Wisej.Framework.dl and your app to /codeproject/bin. See this.
  • Using Plesk ASP.NET settings, set CAS trust level to “full”

That’s it. Launch your app and it works.

In our test I also created /codeproject/App_Data where the app clones the SQLite database file, so again using Plesk Virtual Directories manager I set the write permission to /App_Data. The app also downloads a pdf file from /Files.

http://plesktest.wisej.net/codeproject/

 

  • Luca answered Feb 15, 2019 - 12:39 am
  • last active Feb 15, 2019 - 3:36 pm
0 votes

I have a need to do the same thing, I was looking at this on CodeProject.com

https://www.codeproject.com/Articles/474142/Saving-and-loading-all-control-values-to-user-sett

 

and this other one:

https://www.c-sharpcorner.com/UploadFile/52c7f5/saving-the-user-grid-changes-and-restore-the-user-setting-by/

Although, I don’t want to store them in the regular AppSettings – the applications config file as we have hundreds of users. I would probably store the settings in a database along with the user’s other settings.

  • edmond girardi answered Feb 15, 2019 - 11:45 am
  • last active Feb 15, 2019 - 11:49 am
0 votes

Got it half working.

  1. Grant .NET access CAS access to full
  2. Create a virtual directory  — check box to also create a physical directory. check box for write access.
  3. Go into Virtual directory and set write access or full control for application pool
  4. Publish the app
  5. Move the web.config from the /bin folder up one level to the virtual directory folder

 

App loads but I have error “invalid theme” when loading.  Manually uploaded “Themes” folder

Manually uploaded missing .dll files from References to \bin

 

 

0 votes

Thanks Luca, CSS did it, one last issue to resolve and then I think my extension is ready. Is there somewhere for user contributed extensions?

TIA

Nic

0 votes

You need either a css file:

.qx-textbox-borderSolid {

overflow-y: auto !important;

}

Or if you have the Wisej widget:

widget.getContentElement().setStyle(“overflow-y”, “auto”);

 

  • Luca answered Feb 14, 2019 - 3:27 pm
1 vote

Could be the zooming and sub-pixel rendering. Try to change the zoom level up and down.

  • Luca answered Feb 14, 2019 - 3:24 pm
0 votes

Further investigation indicates that this issue is specific to Edge running on a Microsoft Surface Pro (4) Tablet

I have attached the Edge version details for info

Its actually related to the Surface Dock which I use at work.

If I disconnect from the dock the grid is rendered properly

  • Ewan Walker answered Feb 14, 2019 - 8:48 am
  • last active Feb 14, 2019 - 8:55 am
0 votes

Thanks Jeo,

the documentation is fixed.

Best regards
Frank

0 votes

Thank you!

It all works!

But I am still not able to get CELL CHANGE event. Would you help with this please?

 

  • mgmst answered Feb 13, 2019 - 6:00 pm
0 votes

Or if it’s js code you want to connect to a wisej widget, you can use the JavaScript component. Drop it on a page or form, set the source to the file. It will load when the form or page are shown.

If it’s a js library that you want to load dynamically instead of using the <script>tag use using Wisej.load or wisej.utils.Loader:

In javascript for dynamic loading:

Wisej.load(“myurl/myjs.js”);

Wisej.load(“myurl/myjs.js”, callbackWhenLoaded);

Wisej.load([“myurl/myjs1.js”, “myurl/myjs2.js”]);

Wisej.load([“myurl/myjs1.js”, “myurl/myjs2.js”], callbackWhenAllAreLoaded);

or

wisej.utils.Loader.load([

{id: “lib1″, url:”lib1.js”},

{id: “lib2″, url:”lib2.js”},

], callbackWhenAllLoaded);

Otherwise the plain dynamic loading in javascript is to create the <script> which you can also do with Wisej since it’s just a single html page.

 

HTH

 

  • Luca answered Feb 13, 2019 - 4:43 pm
0 votes

Wisej.Web.Widget is to integrate javascript widgets.

For a javascript file you can include in the Default.html like you’d do in a plain web page.

  • Luca answered Feb 13, 2019 - 4:36 pm
0 votes

Hi Arturo,

I can´t reproduce with out UploadFiles sample.
Can you please share a test case ?

Thanks in advance.

Best regards
Frank

0 votes

Hi Simone,

this bug is fixed in 1.5.49 and 2.0.12.

Best regards
Frank

2 votes
In reply to: Custom Authentication

Hi Jeo,

You don’t say if you are creating a web based version of your application for multiple users or repackaging an existing application using WiseJ’s desktop app.

Assuming you are creating a web based version of your application for multiple users then you can use global variables but these will be available to all sessions of your application.

What I think you want is session variables – these are only available to the Wisej session that created them.  WiseJ has a handy session variable collection which you can access as Application.Session.<your variable name>.

HTH

Nic

0 votes

Thanks Frank. I did suspect that was the answer. I’ll see if I can come up with a “nice” extension.

Nic

0 votes

Hi Nic,

AFAIK there is no out of the box solution for saving/restoring a layout of a DGV in Wisej yet.
Maybe you could make your code into a generic extension so that others can benefit and collaborate ?
Please let us know if you need any specific support.

Best regards
Frank

0 votes

Thanks Pavel,

merged your code into GitHub.

Best regards
Frank

  • Frank (ITG) answered Feb 13, 2019 - 1:35 pm
  • last active Feb 13, 2019 - 1:35 pm
Showing 6241 - 6260 of 11k results