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);
}
Hi everyone,
If you happen to have PPJ installed, you’ll need to remove any reference to the Wisej.NET Designer from the GAC.
PPJ registers the designer directly in the GAC, so Visual Studio will load that version first.
Typically, Visual Studio looks out for any assembly in the GAC first, so it will prevent loading the Designer from the VSIX.
You can use GacUtils to remove the references, here’s a simple script below:
gacutil /u “Wisej.Framework.Design”
gacutil /u “Wisej.Framework.Design.2019”
gacutil /u “Wisej.Framework.Design.2022”
Once you remove the old references from the GAC, the Designer will now be loaded from the VSIX.
HTH,
Alaa
Hi,
is your issue that frozen rows are not sorted? If yes, you could handle the row compare event and customize your sorting.
For filtering we provide ColumnFilter extensions that can be used as a base implementation.
Or you could add an editable control to the Column headers.
Currently we do not have plans to add a filter row given the extensive integration with the server data that is implemented in our grid.
Third party grids with very little server integration are a great alternative in that case.
Best regards
Frank
Hi Robert,
Can you check out your Properties/launchSettings.json file? Compare it with the same one in any of the other Wisej.NET Templates and see if there’s anything off.
Also, make sure that both the Default.html and Default.json files exist, and that the Default.json file is configured correctly.
Best,
Alaa
Hi Luis,
Please read the pinned post here Important information regarding the recent update to Visual Studio 2022 17.7.0
It contains a link to new VSIX installer that fixes the issue.
Best,
Alaa
Hi Julie,
I think I found what the problem is. If in the windowFeatures I do not include dimensions ( width=600,height=400) the position settings are not respected. Try removing the “width=xxx, height=yyy” from your test app and you’ll see what I mean.
So, all well, I need to include dimensions, that is better anyway.
Best,
Alex
