This is likely caused by localization. https://docs.wisej.com/docs/concepts/localization#localizing-the-system
By default, the culture is set to “auto”- it is detected based on the browser. You can change this by setting the culture in Default.json, like so:
"culture": "en"
See https://docs.wisej.com/docs/concepts/localization#detecting-switching-the-browser-language
-Julie
Hi again,
It looks like the deployment method makes the difference. It all works correctly if I publish the usual way with all the dlls included. And it does not if I publish as a single file (exe).
Have a look and see the difference in
https://win1-dev.mobics.gr/canvaswisejdll/ and
https://win1-dev.mobics.gr/canvaswisej/
It’s the same application deployed in the two different ways. just drag the mouse over tha canvas and then press the save to file button. In the second case you can see the missing widget error.
It looks like the Html2Canvas extension is missing from the single file deployment.
Regards,
Alex
Hi Carl,
glad you found the solution and thanks for sharing it in the forum.
Best regards
Frank
Of course, I found the solution right after posting (and after days of searching).
<httpRuntime … executionTimeout=”big enough number”/>
in web config, plus setting ScriptManager.AsyncPostBackTimeout fixes it. Both of these timeouts default to 90 seconds.
Hi Alaa,
I cannot install the application on a different server, since it has to access a local netwoark database to start. If this helps, it looks like the html2canvas widget does not get created, have a look at the screenshot. Could it be that its creation needs to access some internet resources?
Best,
Alex
Hi Tiziano,
Unfortunately, this would be impossible to implement.
The designer creates an instance of the base class and applies the designing class’s instructions (interpreted) in InitializeComponent(). Cannot create an instance of the generic class. You need a class in between, basically something along the lines of MyForm : FormInBetween: FormGeneric<FormTest>
Best,
Alaa
Hi Alaa,
Unfortunately it is deployed on a server not accessing the internet. I’ll try to deploy it to an internet facing one and let you know.
Thanks,
Alex
Hi Chris,
We don’t have plans to implement additional preview options at the moment.
I will add this as an enhancement request though, perhaps we can include it in our roadmap for Wisej.NET 4.
Best,
Alaa
Hi Alex,
Would it be possible to email us a link to the deployed application for us to debug?
Best,
Alaa
I have just had the same problem (the DragDrop event was not being called), I found that I had (in my DragStart method):
myDataGridView.DoDragDrop(SelectedLine, System.Windows.Forms.DragDropEffects.Move);
when I needed to have:
myDataGridView.DoDragDrop(SelectedLine, DragDropEffects.Move);
Note the absence of ‘System.Windows.Forms.’ in the second line. My program had been working with System.Windows.Forms.DragDropEffects.Move for the last few years but a recent update must have changed something. When I now hover over ‘DragDropEffects.Move’ it tells me it is ‘Wisej.Web.DragDropEffects’.
It should have been Wisej.Web.DragDropEffects’ all along but maybe I copied the code from a WinForms program, it worked so I never noticed.
Thought I would post this in case it helps someone else.
Any change to the third party fullcalendar component is outside of our free Wisej.NET support. My guess is that you’d have to modify their css or html.
It’s currently not supported. The source code is here:
https://github.com/iceteagroup/wisej-extensions
Refer to the fullcalendar web site and source code to see if there is a way to handle their drag & drop functionality. We welcome pull requests on our open source free extensions.
Hi Robert,
You can simulate the same process by using Cookies or LocalStorage.
You basically have to handle your session management, the best practice would be to use LocalStorage for persistence.
The APIs are documented in our API Docs, For LocalStorage please use Application.BrowserStorage and Application.Cookies for using Cookies.
Best,
Alaa
Hi Vincent,
what you are describing is correct: You can start several instances of an application on a Wisej.NET server. In this case the application is counted as 1.
See the last question in our FAQs here:
https://docs.wisej.com/license/examples/licensing-faq#wisej.net-server
Best
Thomas
Hi Frank,
Your code do not works.
It executes for the frozen filter row but still frozen filter rows goes last row as result of sorting. Frozen filter row should be always the top row. That is why it is “Frozen”.
Private Sub CDataGRid_FILL_SortCompare(sender As Object, e As DataGridViewSortCompareEventArgs) Handles Me.SortCompare
Dim odgridrow As DataGridViewRow = Me.Rows(e.RowIndex1)
If odgridrow.Frozen = True Then
e.SortResult = -1
e.Handled = True
End If
End Sub
Hi Gerhard,
Thanks for the suggestion! This wouldn’t work for me (I think) because I use a DNS record to point to a specific IP which does not support portnumbers. for example Prod.domain.com and QA.domain.com would both have a different IP adress. I also cannot modify the application to just ask which server to connect to at login for example, because im running multiple (same) applications for different clients for QA purposes. The DSN thing solves the seperation and makes it easy but if it comes at the cost of 1 license per instances this would be way to expensive. Perhaps I’ve yet to learn a few new tricks hahah but I hope an application can have infinite instances of the same application without breaking the lisence so long as the connection count doesn’t exceed the limit.
Anyway, thanks for taking the time to suggest it, appreciated! I hope WiseJ will give me a bit more clarity on my question/approach.
Vincent
Hi,
you can add code like this to exclude frozen columns from being sorted:
Best regards
Frank
Thanks for the hints!
I have checked / adapted everything I consider relevant from the working test app to my application:
all without success. Finlly, the reason for the error was simple: the web.config was missing! I copied it from the working app, now it starts!
You can use Call() or Eval() or the JavaScript extender. Or simply use a js file in default.hrml. You can also use Application.LoadPackages(). See api docs.
Use the PixelRatio property of the Application.Browser object. See api docs.