All Answers

0 votes

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

  • Julie(ITG) answered Sep 25, 2023 - 5:16 pm
  • last active Sep 25, 2023 - 5:16 pm
0 votes

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

 

0 votes

Hi Carl,

glad you found the solution and thanks for sharing it in the forum.

Best regards
Frank

0 votes

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.

 

  • Carl Daniel answered Sep 22, 2023 - 5:30 pm
  • last active Sep 22, 2023 - 6:19 pm
0 votes

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

0 votes

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

0 votes

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

0 votes

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

0 votes

Hi Alex,

Would it be possible to email us a link to the deployed application for us to debug?

Best,
Alaa

1 vote
In reply to: DataGridView DragDrop

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.

0 votes

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.

  • Luca answered Sep 12, 2023 - 7:32 pm
0 votes

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.

  • Luca answered Sep 12, 2023 - 7:31 pm
0 votes

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

0 votes

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

0 votes

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

  • mgmst answered Sep 9, 2023 - 1:47 pm
0 votes

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

 

0 votes

Hi,

you can add code like this to exclude frozen columns from being sorted:

dgv_sort_frozen

 

 

 

 

 

Best regards
Frank

0 votes

Thanks for the hints!

I have checked / adapted everything I consider relevant from the working test app to my application:

  • Default.html and Default.json
  • launchSettings.json
  • All .vbproj settings (via the XML file)

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!

0 votes

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.

  • Luca answered Sep 7, 2023 - 11:26 am
0 votes

Use the PixelRatio property of the Application.Browser object. See api docs.

  • Luca answered Sep 7, 2023 - 11:23 am
Showing 981 - 1000 of 11k results