All Answers

0 votes
In reply to: Webconfig access

So -question – if running under .Net Core – WiseJ does not need any of the settings from the Webconfig at all ?

0 votes
In reply to: Webconfig access

Ahh I see. I was going by the WiseJ docs. Figured you guys were reading from Web config behind the scenes no matter what.

0 votes
In reply to: Webconfig access

Net core doesn’t support web.config – web.config won’t be read if you target only net core.

You can either  use app.config or set up environment variables in launchSettings.json

If you’re just trying to do something like reading a connection string from the web.config file, you can just copy and paste the things you want in app.config.

Finally you can use  https://learn.microsoft.com/en-us/dotnet/api/system.configuration.configurationmanager.openmappedexeconfiguration and read web.config.

  • Julie(ITG) answered Apr 11, 2025 - 4:26 pm
  • last active Apr 11, 2025 - 4:33 pm
0 votes

For editing the css, you can click on “editor” in the themebuilder to see the JSON text of the theme. You can then add your css like so:

"states": {
 "default": {
 "styles": {
 "css": "your css here"
 },
0 votes

Gracias por la respuesta! . Saludos

  • Guest answered Apr 10, 2025 - 5:45 pm
0 votes

Hello Edmond,

To use the Microsoft Service container, you’ll have to register it like the following example:

// Register Microsoft's IServiceProvider with Wisej.NET.
Application.Services.AddService<IServiceProvider>(app.Services);

For the complete sample, please refer to our documentation covering Dependency Injection.

Let me know in case you need additional help!

Best Regards,

Alaa

0 votes

AADSTS9002325: Proof Key for Code Exchange is required for cross-origin authorization code redemption.

0 votes

Ciao Gabriele,

Can you give this sample a try? It uses OAuth2.0 / Microsoft EntraID. Make sure to update the TenantID, ClientID, and Client Secret in the Secrets.json file.

Best,
Levie

0 votes

As DevExpress is a third party software not created by Wisej, you’ll need to refer to their documentation on this:

https://js.devexpress.com/jQuery/Documentation/ApiReference/Data_Layer/PivotGridDataSource/Configuration/fields/#calculateCustomSummary

 

If you need help in how to add custom javascript to the dxPivotGrid extension you should contact support directly with a test case and a valid premium license.

0 votes

Hi Adrian,

your code is wrong. Change line 36 to this and it should work as intended:

dg.Height = f.ClientSize.Height - b.Height - 10;

Best regards
Frank

0 votes
In reply to: Html2Canvas ext wisej3

Hi Cristian,

please attach a complete runnable test case. From the code snippet you sent I cannot fully understand what you are trying to achieve.

Best regards
Frank

0 votes

Hi Adrian,

please attach a complete runnable test case for us to take a look at.

Best regards
Frank

0 votes

We would need a reproducible test case and detailed steps to reproduce in order to look into this.

 

Julie

0 votes

Got it – thanks Frank!

  • Rocco answered Apr 2, 2025 - 6:42 pm
0 votes

Hi Dino,

in order to help you and investigate this we need a reproducible test case.

Best regards
Frank

1 vote

Hi Rocco,

that’s the intented behavior. TextBoxes and ComboBoxes AutoSize effects their height, not their width.

Best regards
Frank

0 votes

In same project no, you can’t mix VB.NET and C#. In same solution yes, you can use C# and VB.NET Projects.

0 votes

It’s added by the proxy or load balancer. All server variables depends on the web server. REMOTE_ADDR and REMOTE_HOST return the client IP address. If you see the IP address of the server there is probably a redirection or proxy on your server. I just tested and it all works fine. If your server changes the headers it may be a configuration issue. Either way, Wisej.NET doesn’t change the headers.

If you still have an issue, send a link to a sample hosted application that shows all the server variables:

 private void button1_Click(object sender, System.EventArgs e)
 {
 this.dataGridView1.RowCount = 0;
 var vars = Application.ServerVariables;
 
 foreach (var name in vars.AllKeys)
 {
 this.dataGridView1.Rows.Add(name, vars[name]);
 }
 }

 

 

  • Luca answered Mar 31, 2025 - 7:14 pm
0 votes

Hi Julie,

there’s no HTTP_FORWARDED in IIS server variables, is it something created by wisej?

0 votes
Showing 201 - 220 of 11k results