It’s an int:
“sessionTimeout”: 60
Gives you a timeout of 60 seconds (the minimum). If you set it to 0, it will still use 60.
Why do you need it at 0?
I wrote like that but give an error
“url”: “Default.html”,
“sessionTimeout” : “0”,
“startup”: “WebApplication25.Program.Main, WebApplication25”
Hi Luca,
Tried your sample and it works.
Build 1.2.62.0
Thanks.
All the configuration settings are read-only. Most of them are effective at startup and are used on the client side.
To change the configuration you have to set the properties in the json configuration file:
All the settings are here:
https://wisej.com/docs/html/Configuration.htm
Look at the default.json section.
HTH
Best,
Luca
Hi Alex,
both issues (WJ-7593 and WJ-7594) are fixed in the latest build (1.2.62).
Best regards
Frank
Hi Nic,
it´s fixed in Wisej beta build 1.2.62
Best regards
Frank
A new build (1.2.62) has just been uploaded.
Please note:
The build includes the following fixes/enhancements:
| Item | Type | Priority | Severity | Title | Resolution |
| WJ-7594 | Bug | Medium | Minor | TV BeforeCheck and AfterCheck are fired twice. | Complete |
| WJ-7595 | Bug | Medium | Minor | TV indent value is not read from the theme, it’s always loaded from the app. | Complete |
| WJ-7596 | Regression | Low | Major | Theme regression, combobox item may display white on white. | Complete |
| WJ-7597 | Bug | High | Show Stopper | DGV ComboBox cells bound to a simple string list or array fail to validate the value against the list. |
Complete |
| WJ-7599 | Bug | Low | Trivial | DGV ContextMenu pops up when right clicking (or long tapping) on a cell. | Complete |
| WJ-7600 | Task | Low | Trivial | DGV: Display cell/row error state and text. | Complete |
| WJ-7601 | Enhancement | Low | Trivial | Add support for transfering clipboard text to the browser’s clipboard. | Complete |
| WJ-7593 | Bug | Medium | Minor | TV NodeMouseClick and NodeMouseDoubleClick are not fired on the server. | Complete |
| WJ-7576 | Bug | Low | Trivial | Reordering tab pages in the designer raises exception | Complete |
| WJ-7588 | Bug | Low | Trivial | Themes issue: Setting ListBox.ForeColor in the application has not effect. | Complete |
| WJ-7589 | Bug | Medium | Major | Using List.SetSelected() on a single selection ListBox doesn’t change the SelectedIndex property. |
Complete |
| WJ-7590 | Bug | Low | Trivial | DGV SelectionChanged doesn’t fire when deselecting the last selected row. | Complete |
| WJ-7591 | Bug | Low | Trivial | Designer issue: Clearing a tab page collection doesn’t update the design view. | Complete |
Thanks Cris,
I´ve logged that issues as WJ-7604.
Best regards
Frank
Looks like it’s called too early when the column collection changes when adding the first auto column. Then it’s called a second time when the row collection changes. If you check the number of cells in e.Row you can prevent the error and process the new row only when it’s the good one.
I will log this issue and should be fixed by tomorrow.
Hi Luca,
Thanks and I’ll appreciate that.
Actually, I even tried to add all types of DataGridView columns (10), then repeatedly selecting each one of them. The Design category only showed up when I closed and reopened the form.
Honestly, I am not a fan of this editor as a always add/format dgv thru T4 template. But since we are trying to find bugs and enhance this product, we have to give some time to find what’s causing this.
Regards.
I don’t think it’s the machine. I can send you a test build with some debug info in key places later on. Also. what happens when you add more than one column and change the selected column without closing the editor? If the column is in design mode, the property grid should update its properties when re-selecting the column.
Hi Luca,
I pulled out my vintage machine with Windows 7 and VS 2013 Ultimate in it.
Installed Wisej 1.2.59.0 for the first time in this machine.
Create new project and dropped a DGV.
Got the same weird behaviour. And it seems, I am the only one experiencing this one. So lucky, isn’t it?
I am considering a new VM but not this time. It takes time to create one and install so many softwares.
Thanks.
Hi Cris,
See attached sample + video: http://www.screencast.com/t/76izqzD8F
The alert and general behavior is entirely up to your code. You need the latest build to make this work though – it will upload this evening.
Best,
Luca
Hi Luca,
Same weird behaviour. But yours looks OK.
I’ll try to test in other machine and let you know.
Thanks.
Same wrong or correct behavior?
To make sure I’m doing the same actions: http://www.screencast.com/t/GlaFg926t
Hi Luca,
I am using
Microsoft Visual Studio Enterprise 2015
Version 14.0.25425.01 Update 3
Microsoft .NET Framework
Version 4.6.01055
and 1.2.59.0 now. I first noticed this when I updated to 1.2.58 last Friday night
It’s strange. Just now, I again created a new project and got the same behaviour. I’ll keep you posted if I find something wrong on my side.
Thanks.
Hi Ewan,
I don’t have an ETA yet. I will keep you updated as soon as there is any advance on that front.
Best
Luca
Hi Cris,
I can’t reproduce. Tried with a new grid, and existing grid. With pre existing columns and blank. There must be something else different.
What VS version are you using?
Best
Luca
Hi Luca,
Thanks. I’ll appreciate it very much.
Regards.
Hi Cris,
You don’t need to handle OnTopLeftHeaderClick unless you want to disable the SelectAll().
Ctrl-C (or Ins) put the content in the wisej-managed clipboard on the server. You can handle it using the standard Clipboard object, on the server. It is impossible for ajax calls to put anything in the browser’s (client’s) clipboard.
There are two techniques to put content in the browser’s clipboard, one is to use a hidden (out of the viewport) textarea, put in the text, select it, and call execCommand(“copy”), another is not use a flash object. Both techniques fail if invoked from an ajax call. They work only if triggered by a user click – the user click may invoke an ajax action but it must be synchronous (which is deprecated in chrome) and a bad idea.
The only other approach I can think of is to add a method to the Clipboard class that allows you to programmatically move content to the client in a “temporary” clipboard, and then when Ctrl-C is processed on the client it can move it to the browser’s clipboard. That would mean that when a user selects rows your code has to decide if to immediately transfer the content to the client.
Another approach (widely used) is for your app to popup a box (or show/enable a copy button) asking the user to click to copy the content.
I’ll see if I can create a test case and share it here.
Best,
Luca
