Hi, you can differentiate the referenced component using
<ItemGroup Condition=”‘$(TargetFramework)’ == ‘net48′”>
The same can be done using #if pragma inside your code
#if NET
#endif
Then you can choose what version of your application lanch in debug..The start menu offer the .NET48 or the .NET8 version to start.
Hi Robert,
actually my last comment was not entirely correct as there is a way using the KeyPreview property.
See attached sample.
Best regards
Frank
I just encountered exactly the same issue; my question too is how to capture Keypress events in a form regardless of which control is focused. In a simple test application, the KeyDown event works as expected when no controls are placed on the form, but as soon as a single button is placed, the event is not fired any more. Sorry when I don’t understand the concept here – thanks for a quick hint! Best regards, Robert
Thank you Julie, that worked!! 🙂
This can happen if nuget packages and vsix versions don’t match or the vsix is not properly installed.
1. Install the most recent VSIX from https://wisej.com/builds/
2. Right click on the solution -> Manage Nuget Packages Check that the nuget package you are using is the most recent one (currently 3.5.17)
3. Do a clean and rebuild of the project. Manually delete the obj and bin folders.
4. Restart Visual Studio
5. Restart your computer
So -question – if running under .Net Core – WiseJ does not need any of the settings from the Webconfig at all ?
Ahh I see. I was going by the WiseJ docs. Figured you guys were reading from Web config behind the scenes no matter what.
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.
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"
},
Gracias por la respuesta! . Saludos
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
AADSTS9002325: Proof Key for Code Exchange is required for cross-origin authorization code redemption.
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
As DevExpress is a third party software not created by Wisej, you’ll need to refer to their documentation on this:
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.
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
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
Hi Adrian,
please attach a complete runnable test case for us to take a look at.
Best regards
Frank
We would need a reproducible test case and detailed steps to reproduce in order to look into this.
Julie
Got it – thanks Frank!
Hi Dino,
in order to help you and investigate this we need a reproducible test case.
Best regards
Frank
