One more question. Actually I tested my server license on development machine, with real Ip, now its activated and generated wisej-server.lic. Now, I cannot run this license on my Web Server. Seems it checking restricting due to change of machine. How release license from one machine and activate on another machine. Sometime development machine or server machine crash and hardware to be replaced. Pls also advise how to activate license on new machines.
Note: I am using “cookieless”: true in my .Json file
Does it work if you refresh” YES and the sid changed, Then you get the error right away? NO after about 5 minutes
Added validateClient: false, the error still occurs after about 5 minutes. Then I removed the Application.SessionTimeout += Application_SessionTimeout handler from Program and all worked fine for at least an hour.
Version 1.3.4.0
Thank you for your help Luca, I’ll keep testing it.
Alex
Hello Muhammad,
My apologies for not answering your second request.
Yes when running on http://localhost the license is not activated assuming it’s a debug environment.
To change the license simply change the license key in Web.config, Wisej will regenerate the wisej-server.lic file and activate the new license.
best,
Luca
Hi,
Ok, I found that wisej-server.lic , is generated when application is open on real ip… For Local ip, its not generating this file. Now my next question is that how to change the license from trial to actual on Web Server. As once license is activate, web server is no giving any option to change license or remove license…
The deferred call is handled internally. There is nothing different you need to do. It’s working fine with the detail view and the datagridview, but it still has problems with the item view probably because of the virtual rendering. You could try to add a timer and scroll on the first tick.
mmmm…
I have a background process in client side….
I have a listview with an items that i need to modify also in client side.
If I upload from the server side.. the application will stop (miliseconds) in this process, but when i make multiple changes in realtime this miliseconds are very annoying!.
Hi Cris,
I tried both MouseEnter and MouseHover on the header of a collapsed panel and get the events back in both cases. Are you attaching to the event or using OnMouseHover?
/Luca
Added ListView.HeaderStyle as bug WJ-7799.
Hi Andrew,
The ColumnHeader.Visible property is missing, we followed WinForms classes and properties more than VWG and then try to cover the VWG features that make sense and the ones that we used in our projects 🙂
I have added this as enhancement as WJ-7798. Will be in the next update, it’s quite easy to add.
Best,
Luca
It means that the app is trying to access a session that expired. Does it work if you refresh and then you get the error right away?
Try to add “validateClient”: false to Default.json and let me know if the problem is still there. Also let me know the Wisej version you are using.
Yes, I can reproduce that. The body scrolls up but all dom properties remain unchanged. It seems to be a bug in the browser(s), but I know what caused it pop up now and will be fixed in the upcoming update.
Not that easy. The ListView and DataGrid view use a remote data store that pulls pages of data from the server and cache them as you scroll (pull method, works for populating, scrolling and large data sets). They are also able to push changes (push method) works for small changes applied on the server and that don’t justify a full reload. However, the server keeps track of the number of “push” changes and after a certain threshold it issues a page reload instead of pushing the data.
Then the widget on the client, renders the data model. This is more or less how all javascript widget classes bound to data sets, from all vendors, work. So, any change has to be applied to the data model, not the widget.
For wisej.web.ListView you can do it like this (assuming “this” is the listview):
this.updateItems([{
action: 0. /*0=Update, 1=Delete, 2=Insert*/
index: # /*The index of the item*/,
rowData: {
data: {
icon: iconUrl, /*Can be a theme icon, a url, or a base64 image*/
stateIcon: "", /*Same as above*/
"0": "Item text",
"1": "Subitem 1 text",
....
}
}
}]);
You can pass more than 1 updates. The method will pass it to either the list view or datagrid view.
If you want to bypass the updateItems() method and go directly to the view, you have simpler methods:
this.itemView.deleteItem(index); this.itemView.updateItem(index, rowData); // rowData is the same map described above. this.itemView.insertItem(index, rowData); // rowData is the same map described above.
When you change the data model on the client only it will not change on the server, the next update, or scroll, will feed back the data from the server.
Also, we may change the javascript api without notice, since it’s not documented to be used directly.
HTH
Best,
Luca
Looks like we missed ListView.HeaderStyle. Will add.
Subitems cannot be images, they are only text or htmltext. Are you trying to use the ListView as if it was a DataGridView?
Hi Andrew,
The code in VWG to read chm files comes from here: http://www.codeproject.com/Articles/6765/HtmlHelp-library-and-example-viewer
It could be an interesting extension to add to Wisej. It should be fairly easy to build a view that uses the API linked above. I can add it to the list of extensions. If you are going to develop something like that let me know and we could publish the extension.
Best,
Luca
Only full row selection is supported at the moment.
Column and Row auto resizing in the DataGridView and ListView are not functional yet.
The DataGridView supports full row selection only at the moment. It will support column and cell selection modes in one of the next updates.
WJ-7742: The ListView.ItemSize property sets the overall size of the items while it should set the size of the label part and let the widget adapt the overall size according to the icon size.
WJ-7743: ListView.ItemDrag is not currently supported.
Hi Luca
The deferred call no, that you mentuion, how does it work?
Hi Frank
after watching the phenomen some time, I think the red warning sign most times is related with usercontrols, but only in projects with a number of designer windows open. In most cases it disappears after restarting vs
I suggest for the next build, that this field’s can be changed.
Is better idea a free text… we can personalize the App.
Hi John,
the release build (1.3.9) including fixes for WJ-7795 is online.
Can you please retry with it ?
Best regards
Frank
Hi Luca
Were changes made Wise.Web to support this as I get this error now in the Iframe
See attached
Ewan
