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
Hi, have you set the PdfViewer.ViewerType?
I got the same problem with Edge Browser and PdfViewerType.Auto can help.
Can you attach a test case that shows the windowsFeature string not having an effect on the position of the window? It’s working fine for me.
Here’s a simple test case I made where you can change the left and right values of the window position.
I have a question regarding the explanation for concurrent clients. It’s says the browser count is what is limited so does that mean if a computer(user) only has 1 browser(tab) open this counts as 1?
For example:
I have made a little program which emails a list of items that need attention, each item has a link associated with it and when a user clicks it, a new browser window (or tab) opens up doing what is required. Now imagine the list being 30 items and the user opens each link and closes the window after they’ve reviewed the item and clicks on the next link in the mail (opening a new window/tab). The session time-out is 30 minutes. Will this impact this license restriction? (so, if a session has not yet been expired, does this count as a concurrent client even though the browser was closed?)
I feel like this concurrent client limit is a weird restriction to have, or atleast it is not very clear how this is implemented from my point of view. It feels like I cannot create a website using WiseJ for the general public because I could easily hit those limitations if I were to have a good enough website haha. Obviously WiseJ isn’t meant to be for general websites but still, it made me wonder.
Hello,
Without knowing your code or how you generate your reports, we can’t pinpoint exactly what the issue is.
We need a small, runnable test case that showcases or a detailed description to showcase exactly what happens so that we reproduce.
On our end, the PDF Viewer works as expected in both DEV and Production environments.
Best,
Alaa
I tested with Visual Studio 2019-16.11.26 and the Wisej NuGet package 3.2.4, and I cannot reproduce.
Your error message says “Disabling the extension Wisej.NET 3.1 3.1.8 might help”. I believe this is referring to the version of the Wisej VSIX that you have installed-looks like you’re using an older version. I am using the most recent version, so perhaps that’s why it works for me?
Try updating the VSIX (Uninstall it and install the most recent version) and see if that fixes it.
-Julie
Hi Kurt,
Thank you for reporting the issue, we’ll try to reproduce it and get back to you ASAP!
Best,
Alaa
We are using WiseJ 3.1.10, however when we try to HttpClient in visual studio vb.net we get Type ‘Http.HttpClient’ is not defined (see screenshot).
Our production servers are Linux using the net7.0 framework.
As of right now when we can’t run our application in development mode and call an API.
We even tried switching between frameworks in the editor, see screenshot 2.
How can we make a web request in development mode?
Yes, you can use Microsoft.EntityFrameworkCore with Wisej. You just need to install the NuGet package in your project.
Create a Wisej project. In Solution Explorer, simply right-click on the project and choose “Manage NuGet Packages”.
Search for “Microsoft.EntityFrameworkCore” and install it.
Hi Julie,
The Application.OpenWindow works nicely. However, the windowFeatures string, in which I tried things like “left=1500, top=1300” or “screenX=1500, screenY=1300” does not seem to make any difference and, therefore, the window position cannot be set before opening. Is there a chance that this is fixed soon?
Best regards,
Alex
You can open a popup that’s not within the borders of the browser. The popup would be a new browser (like what you get if you open Chrome again). Wisej will treat it as a new session- so you will have to sync the data.
To do this, you can use Application.OpenWindow, see code snippet here: https://docs.wisej.com/docs/releases/whats-new-in-3.1#new-openwindow-callback
This allows you to have a callback when the user closes the other window so you can “restore” the original window. To the user, it looks like the same session in two browser windows but that is not how it works behind the scenes.
Note that you cannot have the same session in two browser windows or two browser tabs. Thus, the need to sync the data between the 2 sessions.
-Julie
Thank you, Julie.
If I understand correctly, a popup window is always within the borders of the browser. So, although I can position it as I like, it will always be within the browser. This means the browser will have to extend to both screens. And that won’t be nice. That’s why I originally asked for a second browser window.
And the question remains. How do I do it?
Best,
Alex