All Answers

0 votes

Has there been an update to this?

Wisej.Web.SaveFileDialog dialog = new Wisej.Web.SaveFileDialog();
dialog.Roots.Add(new FileSystemProvider(Application.Session[“GlobalProperties.DataFileLocation”] + “Project”, “Project”));
dialog.InitialDirectory = Application.Session[“GlobalProperties.DataFileLocation”] + “Project”;

DialogResult result = dialog.ShowDialog();

No existing files are displayed

__

If we do this:

Wisej.Web.SaveFileDialog dialog = new Wisej.Web.SaveFileDialog();
dialog.Roots.Add(new FileSystemProvider(“./”, “Main_Directory”));
DialogResult result = dialog.ShowDialog();

And the user navigates to the Project folder, then the files in the Project folder are displayed.

__

We do not want users to be able to navigate outside of the Project folder, but we want to display the contents of the Project folder when the dialog is displayed.

0 votes

I looked at your files- try “url”: “Admin.html” in Admin.json

That works for me.

 

0 votes

I figured it out. The forum post i was referencing said to change the Admin.json url to be “/admin” – when i changed it back to “Admin.html” it started working. Thanks !

0 votes

Here’s a sample that works, based on the instructions here:https://docs.wisej.com/docs/concepts/startup

 

Hope this helps,

Julie

0 votes

Attached are the new files added for Admin sub-application.

I even put a breakpoint in the Main method of the Admin.cs file and no matter what I do it never gets in there.

  • edmond girardi answered Jul 10, 2025 - 5:08 pm
  • last active Jul 10, 2025 - 5:09 pm
0 votes

 

localhost/admin:5000

gives me:

localhost refused to connect.”

  • edmond girardi answered Jul 10, 2025 - 5:02 pm
  • last active Jul 10, 2025 - 5:03 pm
0 votes

I get an error when I try localhost:5000/admin:

 

HTTP Error 404.0 – Not Found

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

Requested URL    http://localhost:5000/admin
Physical Path    C:\Client Projects\S-Logic\SWID Portal\Portal\SIWDRemoteApplication\SIWDRemoteApplication\admin
Logon Method    Anonymous
Logon User    Anonymous
0 votes

Try http://localhost:5000/admin

0 votes

Answering my own question in case someone else stumbles on this.

Changing the project file to specifically target net9.0-windows10.0.19041.0 fixed it. This was the version number targeted in the examples from github (albeit for net8.0), I didn’t try any other versions.

Problem solved!

0 votes

Hi Gabriele,

We have just updated the GitHub repo with the 4.0 branch, can you please give it a try?

Best Regards,
Alaa

0 votes

Instead of your eval call, do Application.Navigate("link","_blank");
_blank tells it to open the page in a new tab.
For example, create a Wisej project with Page1 and Page2. Create a button with a click event and call this code in the click event:

Application.Navigate(Application.StartupUrl + "#page2", "_blank");

In Program.cs, add this to the Main function:
static void Main()
{
if (Application.Hash == "page2")
new Page2().Show();
else
new Page1().Show();

}

See attached sample.

Note: Another approach would be to attach to the HashChanged event. However, that only works if you’re not opening the page in a new tab. Opening a page in a new tab creates a new session.

0 votes
In reply to: Wisej and FastReport

It depends on how you present the reports to the end user. If you export the report in PDF (or other format) you can also use the WinForm version, since you only have to use the rendering engine (and obviously the designer to draw the report). If instead you want to encapsulate the interactive Web viewer inside an html panel or asp panel you must use the Web edition even if according to the documentation the WindForms version also has a WebForms viewer (ASP.NET).
Consider that if you only need some image PDFs (not text) of a few pages you can also use the Community version of FastReport.
Alternatively, if you use PDF export and remain in .NET 4.8 you can use the CrystalReport engine without problems (and with a little work also use the ASP.NET viewers of Crystal Report, of which I think someone on the forum posted a wrapper for Wisej.NET)
Otherwise, if you want a complete engine with a complete designer at zero cost, there is always the local engine of SSRS (Reporting Services)
Frankly, I recommend in the order SSRS, CrystalReports. FastReports only if you need to be multiplatform (Windows Linux…)

0 votes

Go to https://github.com/iceteagroup/Wisej-AI (It’s a private repository, accessible only to Technology Partners)

Then look in the Packages folder: https://github.com/iceteagroup/Wisej-AI/tree/main/Packages

Hope this helps,

Julie

 

0 votes

Another way to do it would be to use pdf.js and to place a Wisej.NET button over the toolbar. You can place a button over (not as a child) the toolbar in the right position and anchor it correctly to make it look like it’s part of the toolbar.

Julie

0 votes

Hi Jean,

it depends on what PDF Viewer you will be using.
I think you can extend pdf.js when you select it as a custom type but this is beyond the scope of Wisej.NET support.
It also seems that DevExtreme (the web version of DevExpress) does not include a PDF viewer yet.

Best regards
Frank

0 votes

Sorry, I hadn’t noticed that there were two Crystal Reports installation files in the “Resources” folder; my apologies.

0 votes

Hello,
There are no plans to integrate Dockmanager, You should be able to replicate the functionality using docking, anchoring, and splitcontainer
See docs:
Anchoring and Docking: https://docs.wisej.com/docs/concepts/layouts
SplitContainer: https://docs.wisej.com/docs/controls/containers/splitcontainer

Hope this helps,
Julie

0 votes
In reply to: wisej.wx not loading

Hi Jean,

are your initial issues appearing when you run in Visual Studio or after you have deployed your application?
If it’s in the deployed application please check if web.config is correctly copied to the target folder.

If it’s happening inside Visual Studio try deleting obj and bin folder, restart Visual Studio and try again.

What happens if you remove the new button?

Best regards
Frank

0 votes
In reply to: wisej.wx not loading

Hi Jean,

did you reinstall the VSIX from here?

https://wisej.com/builds

There is also a section for missing templates in our documentation:

https://docs.wisej.com/docs/getting-started-1/troubleshooting#missing-templates

Best regards
Frank

0 votes
In reply to: wisej.wx not loading

Hi Jean,

did you create a new application using a Wisej project template or worked on an existing application?
From your description it’s hard to tell what went wrong. We’d need a test case to check it on our end.

Best regards
Frank

Showing 1 - 20 of 11k results