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.
Hi Vincent,
just use different ports. I use this approach to distinguish between a “Live” and a “Test” mode in a single deployment.
Cheers, Gerhard
Hi Frank,
My issue is visible on the screenshot I attached. My issue is that when some column is sorted, my frozen filter row (in yellow) loses its position as the first row and goes last row in the grid’s rows list.
I want my filter row to be the first row in the grid in all possible sorting scenarios.
Hi Tuan,
Currently, the Validation extender doesn’t work with the DataGridView cells, but we are indeed working on an enhancement for it.
Best,
Alaa
As a workaround, in case someone faces the same problem, I made a simple function that centers the form automatically and called it within the Load event handler
private void center()
{
this.Location = new System.Drawing.Point((Application.Browser.Size.Width – this.Width) / 2, (Application.Browser.Size.Height – this.Height) / 2);
}