“I added a second button to the menubar to launch the second window manually and it does work.”- To me, this sounds as though there probably isn’t a bug in Wisej
Set a breakpoint-is your subroutine being called? My guess is that the code inside the subroutine works fine, there’s just some kind of bug where the subroutine isn’t being called.
If you can create a small runnable test case (use simpler windows so the file size is smaller, also make sure to delete the bin and obj folders) then we can investigate it. Otherwise, you’d need to pay for premium support in order for us to debug your larger application. See here: https://wisej.com/services-packages/
Julie
Hello, thank you for your support. The problem has been fixed through the article you shared. I share it in case others may need it for solution
—– Web.config —–
<handlers>
<!–<add name=‘json’ verb=‘*’ path=‘*.json’ type=‘System.Web.HttpForbiddenHandler’ />–>
<!– First we put the general JSON blocking –>
<add name=‘jsonBlockAll’ verb=‘*’ path=‘*.json’ type=‘System.Web.HttpForbiddenHandler’ />
<!– Now we only allow JSONs under /Resources/ –>
<add name=‘jsonAllowResources’ verb=‘GET’ path=‘Resources/*.json’ modules=‘StaticFileModule’ resourceType=‘File’ />
<add name=‘wisej’ verb=‘*’ path=‘*.wx’ type=‘Wisej.Core.HttpHandler, Wisej.Framework’/>
</handlers>
— dxDashboard Init Script —
this.init = function(options) { var self = this; // 'this' bağlamını saklıyoruz. $.when( $.getJSON("/Resources/dx-dashboard.tr.json").then(DevExpress.Dashboard.ResourceManager.setLocalizationMessages), $.getJSON("/Resources/dx-analytics-core.tr.json").then(DevExpress.Dashboard.ResourceManager.setLocalizationMessages) ) .then(function () { DevExpress.Dashboard.ResourceManager.setLocalizationMessages({ "DashboardStringId.ActionExportTo": "Custom Text for Export Button" }); DevExpress.localization.locale('tr'); const dashboardOptions = { ...options, localization: { locale: 'tr' }, cultureName: 'tr-TR', viewerSettings: { cultureName: 'tr-TR' }, designerSettings: { cultureName: 'tr-TR' } }; self.widget = new DevExpress.Dashboard.DashboardControl(self.container, dashboardOptions); if (self.widget) { self.widget.render(); } }) .fail(function(jqXHR, textStatus, errorThrown) { console.error("JSON dosyaları yüklenirken hata oluştu:", textStatus, errorThrown); }); }
The DevExpress Dashboard control is created by a third party (DevExpress) and not by Wisej- thus, you’ll need to refer to their documentation on this.
Looks like you’ll need to use their localization service.
Relevant documentation:
https://docs.devexpress.com/Dashboard/402540/web-dashboard/integrate-dashboard-component/dashboard-control-for-javascript-applications-jquery-knockout-etc/localization
https://supportcenter.devexpress.com/ticket/details/t337308/translation-of-dashboard
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