All Answers

0 votes

Yes but you have to do it using a css class.

  • Drop a StyleSheet extender on your page/form.
  • Add a css class with the gradient background color you like
  • Set the CssClass on the ChartJs widget.

Example of css class text to set on the StyleSheet:

“.gradient {background: linear-gradient(red, yellow);}”

Then set the CssClass property to “gradient” (without the dot).

https://www.w3schools.com/css/css3_gradients.asp

 

 

  • Luca answered Jun 9, 2018 - 12:19 am
0 votes

We have all the open source projects here: https://github.com/iceteagroup/wisej-extensions

If you put in the changes we can merge them in the shipped dlls.

  • Luca answered Jun 8, 2018 - 5:55 pm
  • last active Jun 8, 2018 - 5:55 pm
0 votes

15-20 minutes sounds like IIS default 20 minute shutdown of the app domain. https://docs.microsoft.com/en-us/iis/get-started/whats-new-in-iis-85/idle-worker-process-page-out-in-iis85 But the 3 minute interval should be enough to keep IIS alive.

Are you connected using websocket? I suspect that IIS doesn’t consider websocket traffic to keep the process alive. Try to simply disable the idle timeout – it really doesn’t serve any purpose for wisej apps.

  • Luca answered Jun 8, 2018 - 5:31 pm
0 votes
In reply to: Session time Out

Hi Godwin,

 

Please edit Default.json and you will find an commented entry sessionTimeout.

Just add it to the un-commented section and set the number of seconds you want. That’s the way to decrase or increase the timeout.

[EDIT]

Forgot to say I re-tested it with 60 secs and 240 secs (default is 120 secs). Both work all right.

 

If you want to disable the session timeout altogether, you must add an event handler

Snippet

Wisej.Web.Application.SessionTimeout += Application_SessionTimeout;

and the respective method

Snippet

private static void Application_SessionTimeout(object sender, HandledEventArgs e)
{
    // disable timeout
    e.Handled = true;
}

Hope that helps.

  • Tiago (ITG) answered Jun 8, 2018 - 12:49 pm
  • last active Jun 8, 2018 - 1:06 pm
0 votes

There are several ways. One is to attach to DataGridView.EditingControlShowing and attach to e.Control.KeyDown. You should also detach, otherwise when the editor is reused you may attach more than once. This is what I used:

private void dataGridView1_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e)
{
e.Control.KeyDown -= Control_KeyDown;
e.Control.KeyDown += Control_KeyDown;
}

In other cases you may use a custom editing control, or you can handle the CellBeginEdit/CellEndEdit events.

  • Luca answered Jun 7, 2018 - 11:33 pm
0 votes

Logged as WJ-8980. It is a regression together with an existing issue that we have finally addressed. Basically modal should be terminated in the same order they are created (dialog box 1, message box 2, message box 3, etc.) In some cases  a previous modal dialog may become active and closed which pops (terminates) the last modal frame which is wrong one. It’s like in Windows when multiple message boxes get mixed up.

It is fixed now and Wisej can handle modal dialogs in the wrong order as well, in case it ever happens. And the Desktop now is not able to activate the modal dialog.

  • Luca answered Jun 7, 2018 - 11:28 pm
0 votes

I haven’t tried this specific one (if you want to attach a small test case I can try) but several Syncfusion widgets have a problem/feature with containers with an id because internally some of their jquery code references the container using the id. In our synfusion samples we usually add it like this:

this.container.id = this.getId() + “_ejSpreadsheet”;

this.getId() returns the id generated by Wisej for the Widget component. This way the inner div gets, for example, “id_12_ejSpreadsheet”.

  • Luca answered Jun 7, 2018 - 10:33 pm
0 votes

It gets re-registered automatically.

  • Luca answered Jun 7, 2018 - 10:29 pm
0 votes
In reply to: ContextMenu on Tools

For now I calculate more o less with Form.Location, Form.With and extimated negative left.

bye

Cristian

0 votes

Hi,

Public Class CDataGridView
Inherits Wisej.Web.DataGridView

Private Sub CDataGridView_EditingControlShowing(sender As Object, e As Wisej.Web.DataGridViewEditingControlShowingEventArgs) Handles Me.EditingControlShowing
MsgBox(Me.CurrentCell.Value)
End Sub

End Class

It does not work. Event does not fire during the typing into the grid cell.

Best regards!

Mario

  • mgmst answered Jun 7, 2018 - 2:04 pm
0 votes

Thank you very much for your feedback and experiences. I’m glad to hear there are no cons for using WiseJ for internet applications…

  • Tobias answered Jun 7, 2018 - 7:56 am
0 votes

We have developed several WiseJ applications and I can HIGHLY recommend it for Intranet & Internet applications. It’s the fastest most consistent way to go!

Memory use really depends on how efficiently you code your application as well as your hardware architecture.

  • edmond girardi answered Jun 6, 2018 - 10:28 pm
  • last active Jun 6, 2018 - 10:29 pm
0 votes

Hi Tobias,

I think that Wisej is very well suited for such a demand. In fact, we are in contact with customers that have put Wisej applications behind nginx load balancers with excellenct results. Memory consumption is low and the deployment is very easy to accomplish and very easy to scale up.

Memory usage depends a lot on how the app is written. If you are interested, we can setup a call or support you with individual consulting services to help with finding the right setup. If you are interested, please contact us directly.

Thanks
Thomas

0 votes

Just tried with FireFox 60.0.1 (64-bit) and it works fine.

  • Luca answered Jun 4, 2018 - 3:32 pm
0 votes

Hi Luca

perfect!

thank you

Cristian

0 votes

Looks like a firefox bug. There was something similar with chrome on mobiles. Wisej doesn’t manage the upload, it’s built in the browser.

  • Luca answered Jun 4, 2018 - 1:03 pm
0 votes

For theme colors use Application.Theme.GetColor(“buttonFace”). System.Drawing doesn’t know how to handle theme named colors.

  • Luca answered Jun 4, 2018 - 12:58 pm
0 votes
In reply to: ListView checkBox

Thank you very much Frank,
In fact my custom theme is very old.
I follow your advice and work with the mixins thema.

 

0 votes
In reply to: Deep Linking Error

Hi Puloy,

thanks for your message. We noticed a problem with the HashChanged event where it is also fired when the Hash is changed in the application code.

This issue is logged as WJ-8969 and will be fixed in the next Wisej build.
We´ll also update the DeepLinking sample then.

Best regards
Frank

0 votes

Hi,

you can achieve this with the following sample code:

private void dataGridView1_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e)
{
e.Control.KeyDown -= Control_KeyDown;
e.Control.KeyDown += Control_KeyDown;
}

Key events on the datagrid handle datagrid keys (up, down, etc). Keyevents on the editor handle the keyboard on the cell editor.

Hope that helps.

Best regards
Frank

Showing 7321 - 7340 of 11k results