I tried to find out but couldn’t handle it, is there anyone who can help me? I’m willing to pay the cost to do it
If you want each item to have the same text color and background color, you could try setting it in the theme. You can edit themes using the theme builder.
But if you want each item to be different the easiest way would to set AllowHTML to true. You can then use HTML and inline css to style each item. See attached sample.
Here are 2 screenshots from Web Browser console when error appears.
Also in the browser where this happens, if I disable cache, page reloads correctly.
Here is update as it is randomly popping up so hard to trace
Could it be that some web sockets are cached or re-used so browser still thinks that app is not working. This continues with problematic browser despite WWW Service on server restarted or app pool recycled.
After one client bumps on this error, it spreads to all clients currently using app.
KendoGrid is a third party control not created by Wisej.NET. You’ll need to refer to their documentation.
A quick google search suggests that the dataItem property might be what you need here.
https://www.telerik.com/forums/how-to-get-value-id-from-datasource-by-row
https://stackoverflow.com/questions/19458695/kendo-ui-grid-get-row-values
https://docs.telerik.com/kendo-ui/knowledge-base/checkbox-selection-dataitems-selected-rows
Ok, please don’t ask me how it was solved in details, because I really don’t know.
I uninstalled the extension, deleted .vs + obj + bin folders, installed the extension again and opened VS and the project again.
And Voila! The license activation window appeared while opening the designer, so I filled my license key and everything returned to work normally.
What is really bizarre is that the only remarkable difference with my previous trials was the license activation.
Anyway its alive again.
Thanks.
Yes. Make sure to add the font to the theme. https://docs.wisej.com/docs/controls/general/colors-and-fonts#custom-fonts
You can edit the theme using the theme builder https://wisej.com/theme-builder/
See also https://docs.wisej.com/theme-builder/concepts/tips-and-tricks
https://wisej.com/support/question/use-different-fonts
Hi Christian,
The fix for this bug will be released in the next update!
Best Regards,
Alaa
Thanks for letting us know, I’m fixing it now. We have to update it within the code documentation comments and then build it, so the changes won’t show up right away.
Julie
Here s what I see in Application log when errors start to happend
Category: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer
EventId: 2
SpanId: f8c5e4f5aa4314c1
TraceId: 718d4c1acc70e0ebb55480a27e6c46bf
ParentId: 0000000000000000
RequestId: 800021bf-0000-fb00-b63f-84710c7967bb
RequestPath: /xPortal/ws.wx
Connection ID “18086456105130533310”, Request ID “800021bf-0000-fb00-b63f-84710c7967bb”: An unhandled exception was thrown by the application.
Exception:
System.Net.WebSockets.WebSocketException (0x80004005): The remote party closed the WebSocket connection without completing the close handshake.
at System.Net.WebSockets.ManagedWebSocket.ThrowEOFUnexpected()
at System.Net.WebSockets.ManagedWebSocket.EnsureBufferContainsAsync(Int32 minimumRequiredBytes, CancellationToken cancellationToken)
at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.WebSockets.ManagedWebSocket.ReceiveAsyncPrivate[TResult](Memory`1 payloadBuffer, CancellationToken cancellationToken)
at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
at System.Threading.Tasks.ValueTask`1.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
— End of stack trace from previous location —
at Wisej.Core.HttpHandler.ProcessWebSocketRequest(HttpContext context)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync()
Never mind.
Tried everything without any success.
Until getting the possibility to reset my whole machine using Notepad ++ and cli to make changes in my project.
Thanks for your kind support and sorry for any disturbance.
Ok I havent seen
The community license is deprecated
with express license now it works !
thanks
It could be one of several common issues, read this: https://docs.wisej.com/docs/getting-started-1/license-troubleshooting
In response to “Can it, by any circumstances , be caused by the version of Dot Net Core? The solution is created with 9.”
I created a test project with C# and VB both using .Net9 and I can open the designer in both just fine. I have attached the projects so you can try to open the designer in them. If you can’t open the designer with them, it’s some issue with your machine.
Hello Francesco,
Sadly, using the upload control always requires user interaction.
In fact, if you attempt to use the console on FireFox you’ll be getting a warning that the action was blocked due to it not being a “user” action.
Best Regards,
Alaa
Hi Edmond,
We always recommend that you use the FillWeight property instead of setting the Dock to Fill.
Best Regards,
Alaa
Hi Rusty,
what you are seeing in the output window are Wisej.NET trace messages.
There is no way to omit them.
Best regards
Frank
Hi Christian,
As a workaround, you’ll need to extend the SplitContainer and add the following override:
public class MySplitterContainer : SplitContainer {
protected override void OnWebRender(dynamic config)
config.orientation =
this.Orientation == Orientation.Vertical
? Orientation.Horizontal
: Orientation.Vertical;
base.OnWebRender((object)config);
}
Best Regards,
Alaa
Hi Dino,
did you try Application.StartTask() as suggested by Luca? The code snippet you posted is incomplete.
We need a fully compilable test case to try to help you here.
Best regards
Frank
Hi Francesco,
there is no such thing as a Wisej WinForms application.
To query the startup parameters use this:
https://docs.wisej.com/api/wisej.web/general/application#querystring
Best regards
Frank