Hi Nello,
Do you use a proxy ?
Do you have a long SessionTimeout value?
The issue can be due to several things, for example some antivirus apps block https requests that come in to fast, or throttle them, sometimes the quarantine the packet for a long time, sometimes they simply don’t route the traffic without even closing the connection. It happens with both http and websocket.
Sometimes, Session expires on the server or the server cannot restore the session.
You can try setting validateClient:false in Default.json.
Best,
Alaa
Hi Juan,
Wisej.NET has the ability to give you information about connected Clients, however, it is not possible to disconnect them remotely!
For that, you can check out the Application.Clients and the Application.Clients.Browsers properties.
HTH,
Alaa
Hi Christian,
Would you mind attaching the sample you’re referring to?
In any case, we had a bug with the Drag&Drop feature in buttons a few releases back, and the InitScript you’re referring to was a quick workaround to the issue!
You won’t need to implement any kind of custom InitScript scripts into your controls to implement the Drag&Drop feature!
HTH,
Alaa
Hi Gabriele,
This type of change can be done on a Theme level.
Currently, all “disabled” states are set to a value that is less than 1, you will need to change them to have the value “1”.
It’s relatively easy too, you can open up the Theme Builder application, then look for any disabled states, an example of how states are represented can be seen on the attached screenshot.
Then, simply replace the value you have to 1, and save the theme as a new theme in your Application’s /Themes directory.
After that, you can change the theme used in the application by adding the “theme” property in your Default.json file, it should look like this:
"url": "Default.html",
"startup": "Wisej.CustomEnabledState.Program.Main, Wisej.CustomEnabledState",
"theme": "customThemeName"
HTH,
Alaa
Hi Lefyapı,
To attach a client-side JavaScript WidgetFunction to the configuration of a control like the dxDataGrid, you can use the lambda syntax in C#,
i.e.
this.dxDataGrid.Options.someFunc = "()=>nameOfWidgetFunction"
There are multiple variations of this syntax:
"(cellInfo)=>customizeText"
-> assigns the WidgetFunction, “customizeText” with one argument passed in, “cellInfo”
"()=>customizeText()"
-> immediately executes the WidgetFunction, “customizeText” and assigns the result of the function to the member.
"()=>customizeText(1)
” -> immediately executes the WidgetFunction with the given arguments.
You can apply this syntax to the cellTemplate of the dxDataGrid. If you can’t figure it out, please attach a small runnable sample and we’ll be happy to take a look.
Regards,
Levie
My error is as below:
Hi,
How did you resolve it? Am stuck here.
root@NexusVM:~# whereis libgdiplus
libgdiplus: /usr/lib/libgdiplus.so
root@NexusVM:~# whereis dtnet
dtnet:
root@NexusVM:~# whereis dotnet
dotnet: /usr/bin/dotnet /usr/share/dotnet /usr/share/man/man1/dotnet.1.gz
root@NexusVM:~#
Hi team
I have tried installing the Libgdiplus after many attempts but still not working.
Is there a specific location that it should be installed? Or any specific permissions?
root@NexusVM:~# whereis libgdiplus
libgdiplus: /usr/lib/libgdiplus.so
root@NexusVM:~# whereis dtnet
dtnet:
root@NexusVM:~# whereis dotnet
dotnet: /usr/bin/dotnet /usr/share/dotnet /usr/share/man/man1/dotnet.1.gz
root@NexusVM:~#
I’ve fixed the problem adding this tag on the vbproj file:
<Target Name="AddAdditionalReferences" BeforeTargets="ResolveAssemblyReferences">
<ItemGroup Condition=" '$(NoStdLib)' != 'true' ">
<_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" />
</ItemGroup>
</Target>
Best regards
Upgrade to 3.2.2 fixed it.
Hi Gabriele,
See attached sample:
Basically, you can use 2 different methods:
You might see the Cannot read properties of undefined (reading ‘split’) in the designer, but if you run it, the sample would work.
Window1 file showcases the first method, and Window2 shows the second.
HTH,
Alaa
Hi Carl,
Are you perhaps using a version older than 3.1.9?
This issue was fixed in that version (3.1.9), and I have also tried to reproduce using the latest 3.2.2 version and I couldn’t reproduce it!
HTH,
Alaa
A working sample htm attached
I need to apply the CSS style and the Html content (only the DIV sections) to an HtmlPanel (or Label with AllowHtml=true)
Hi Gabriele,
Can you wrap a small sample that showcases what you exactly want to achieve ?
Best,
Alaa
Hi Sam,
please send your web.config to supportATwisej.com
Best regards
Frank
Hi Dino,
yes, the reference to .NET 4.8 is required for the Designer.
You can use a couple of approaches to deal with this and they are covered here:
https://docs.wisej.com/docs/releases/whats-new-in-3.0/multi-targeting
Best regards
Frank
Yes it’s installed…
Hi Giorgia,
can you please verify if .NET Framework 4.8 is installed on your machine?
You might want to follow the instructions in this link:
Best regards
Frank
Hi Sergio,
how are these images being set up? As Embedded Resources?
Any chance to share a test case for us?
Best regards
Frank
3.2.2