Yes but you have to do it using a css class.
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
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.
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.
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.
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.
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.
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”.
It gets re-registered automatically.
For now I calculate more o less with Form.Location, Form.With and extimated negative left.
bye
Cristian
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
Thank you very much for your feedback and experiences. I’m glad to hear there are no cons for using WiseJ for internet applications…
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.
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
Just tried with FireFox 60.0.1 (64-bit) and it works fine.
Hi Luca
perfect!
thank you
Cristian
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.
For theme colors use Application.Theme.GetColor(“buttonFace”). System.Drawing doesn’t know how to handle theme named colors.
Thank you very much Frank,
In fact my custom theme is very old.
I follow your advice and work with the mixins thema.
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
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
