Hi Pedro,
There’s a forum post about a similar question that you can find here: Wisej.NET | Forum
HTH,
Alaa
Hi Gerhard,
This issue is fixed now in our latest release.
Please download the latest VSIX installer from here:
Visual Studio 2022: Wisej.NET 3 VS 2022
Visual Studio 2019: Wisej.NET 3 VS 2019
This is required for the new templates to be installed.
Best,
Alaa
Hi Ruben,
It looks like WebSocket is disabled in your environment,
You can check its state in Wisej using “Application.IsWebSocket”, in a click event, if you’re doing it in the Main call you’ll always get False!
If it’s indeed disabled, then you’ll have to enable it and check the results!
HTH,
Alaa
Hi Ruben,
please provide us with a full compilable test case showing what you try to achieve.
Best regards
Frank
Hi Jesus,
I have attached the same project with the workaround.
The “unexpected tocken” error you got is due to the different quote marks when you copy/paste code from the forum.
HTH,
Alaa
Hi Edmundo,
I have removed the attachment due to privacy reasons. Please contact us at SalesATWisej.com and we will follow up on this.
Best regards
Frank
Hi Alex,
can you please send your web.config to supportATwisej.com and we´ll take a closer look?
Thanks in advance,
Frank
Hi Alaa!
Thanks for your quick reply.
I have inserted the code you have sent me in the program, but when I run it, it returns the following error: Invalid or unexpected token
Any more suggestions?
Regards
Hi Andrew,
is the function declared as public static? Please also note the last paragraph in our docs about RemoteMethods
https://docs.wisej.com/docs/concepts/javascript-object-model#remote-methods
If it still fails after using the mechanism described there, please wrap up a small repro case that we can use to inspect that issue.
Thanks in advance.
Best regards
Frank
Hi Jesus,
Thank you for reporting this issue.
As a workaround, you can add these few lines of code:
Private Sub DataRepeater1_ItemCloned(sender As Object, e As DataRepeaterItemEventArgs) Handles DataRepeater1.ItemCloned
e.DataRepeaterItem.Eval(“this.removeListener(‘click’, this._onItemClick);this.addListener(‘pointerdown’, this._onItemClick);”)
End Sub
We will notify you when a fix is issued in a future build!
HTH,
Alaa
Hi Gerhard,
to give you a quick update:
This is currently being worked on and in QA. If it´s okay, it will be included in the next release.
Best regards
Frank
Hi Vincent,
maybe that’s what you want:
Search here https://docs.wisej.com/docs/controls/lists/combobox for “Custom Item Filtering”.
Works for me.
Cheers, Gerhard
Thanks, Alaa. It works.
Alex
Hi Tiziano,,
There’s many many ways of dealing with Pagination, or caching in this case.
Wisej.NET’s DataGridView is already in full virtual scroll mode,
You can go with the legacy route, and that is basically specifying what page to look for.
Or, you can go with the “Caching approach”.
The client-side can manage its own cache and paging whereas the server side can implement any caching system.
I have attached a sample to showcase this behavior!
For more info, you can check out Microsoft’s documentation about implementing VirtualMode from here: Microsoft | Implementing Virtual Mode in the Windows Forms DataGridView Control
In Wisej.NET, to virtualize the server side you’ll need to use VirtualMode and CellValueNeeded and DataRead event to manage the paginated cache.
You can check out our documentation for that here: Wisej.NET Documentation | DataGridView.DataRead
HTH,
Alaa
Hi Alex,
The suitable replacement for the EnsureVisible method for a ListBox is the ListBox.TopIndex parameter.
The basic APIin Wisej is modeled after WinForms and there is no EnsureVisible() in Winforms, it’s done this way to make it compatible with Pre-existing WinForms code for migration purposes!
So depending on how many items you have in a ListBox, you’ll just have to assign the TopIndex parameter to the index you’ll want to scroll into!
HTH,
Alaa
Hi Ruben,
Background tasks are completely separated from the session and the user that started them. They are simply threads running on their own without any knowledge of the session that started them.
This is why you’ll need to update the application to reflect any changes or updates done in a background task.
For this, Wisej has the “Application.Update()” method.
However, in order for it to work correctly, you’ll have to add the method INSIDE the Application.StartTask() method.
Otherwise, when the task is finished doing its thing, it won’t get reflected back to the client.
You can find out more info in our documentation : Wisej Documentation | Updating UI Using Background Tasks
HTH,
Alaa
Hi Marcelo,
Thank you for reporting this issue.
A fix will be included in the next release!
I’ll update you when it ships.
Best,
Alaa
Hi Ruben,
please take a look at this older discussion:
https://wisej.com/support/question/get-the-open-forms
Once you get the form you can call whatever is public there. (call a method to set the value or directly set a property/control value).
Best regards
Frank
Hi Sascha,
There are two separate issues here:
1. The CDN url
– You can’t use Wisej.Web.Ext.Syncfusion2.json in a class library. You must add it to the main project directly. We have the usage in a class library logged as an enhancement but either way it still needs to be set as an embedded resource within that project.
Since it wasn’t loading the version from your class library, it loaded the default version from CDN that’s packed with the extension.
2. The license issue
– If the EJ2 distribution requires a license key you can apply it like mentioned in another post using Application.Eval after a Syncfusion widget is shown for the first time.
– Alternatively, you can add a JavaScript file reference in the Wisej.Web.Ext.Syncfusion2.json that loads the Syncfusion license there. The packages are loaded synchronously so whatever order you keep the packages in there will be the order they load in.
We’ve logged an enhancement to apply the license key using ej2Base.License = “some key”. This enhancement will be available in the next release.
HTH,
Levie
Hello Frank,
Here you go. I attached the two projects in a zip file. The code changed since the last upload, since I’m actively testing things.
Greetings
