All Answers

0 votes

I found the solution. There was a repetition of some lines and I canceled it and it worked, but why does it not work outside the device? The application was called through the phone’s browser and it did not work.

0 votes

I found the solution. There was a repetition of some lines and I canceled it and it worked, but why does it not work outside the device? The application was called through the phone’s browser and it did not work.

0 votes

Hi ,

Enclosed is a small testproject.

Thanks,

/Per

0 votes

Hi Per,

Please wrap up a sample for us to check, ideally it should include all the WidgetEvents, WidgetFunctions and any JavaScript you have.

Best regards,
Alaa

0 votes

There is no depth for FindComponents(). The list is flat. Send a small runnable complete test project that shows your issue and we may be able to help you further.

 

0 votes

Hi Christian,

there should be no limit, you might want to check your search predicate.
Please note that it stops after finding the first match.
There is also a FindComponents method that finds all matches.

Best regards
Frank

0 votes

“See the attached picture what happened !!”

What happened is the wrong configuration in IIS. Follow the Microsoft documentation or contact professional services. This is not a Wisej issue.

0 votes

Marhaba Fahad,

There’s an issue with the deployed web.config file, as it appears you have a duplicate configuration for the aspNetCore handler.

Please comment out the first one, and keep the second one only.

Also, you have to double check whether you’re trying to deploy a .NET Framework 4.8 build, or a .NET Core build as that would be completely different, we have compiled the information in our documentation website that my colleague Frank posted!

Let me know if this fixes the issue.

Best regards,

Alaa

0 votes

Hello Frank, I hope you are doing well

I tried the method and added the port http://192.168.43.118:1010/pro

See the attached picture what happened !!

 

 

HTTP Error 500.19 – Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.

Detailed Error Information:

Module    IIS Web Core
Notification    Unknown
Handler    Not yet determined
Error Code    0x800700b7
Config Error    Config section ‘system.webServer/aspNetCore’ already defined. Sections must only appear once per config file. See the help topic <location> for exceptions
Config File    \\?\C:\inetpub\wwwroot\pro\web.config
Requested URL    http://192.168.43.118:1010/pro
Physical Path
Logon Method    Not yet determined
Logon User    Not yet determined

Config Source:

   41:     <aspNetCore stdoutLogEnabled="true" hostingModel="InProcess" processPath="WisejWebApplication1.exe" arguments="" />
   42:     <aspNetCore processPath="dotnet" arguments=".\WisejWebApplication1.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
   43:   </system.webServer>

More Information:

This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.View more information »

0 votes

Hi Fahad,

this link does not use port 1010 where it should

http://192.168.43.118/pro

But this is not a Wisej.NET issue. For IIS Deployment there are a lot of resources in MSDN.
If you need additional help, you can contact our professional services team at SalesATwisej.com

Best regards
Frank

0 votes

Great, thanks Frank and sorry for bothering you. I still have one question: is there any replacement for “HTTP_X_FORWARDED_FOR”?

  • Ezequiel answered Jul 15, 2024 - 5:12 pm
1 vote

Hi Ezequiel,

this can be found by a simple search for Server Variables at docs.wisej.com

Here you find this:
https://docs.wisej.com/docs/controls/general/application#server-variables

Best regards
Frank

  • Frank (ITG) answered Jul 15, 2024 - 4:48 pm
  • last active Jul 15, 2024 - 4:48 pm
0 votes

Hi Frank,
your solution works wonderfull!
Thanks For!

Best regards!
Luca

1 vote

Hi Luca,

please find attached modified test project that shows how to change the rounded edges in 3 ways:

  • by code (uncomment the line in program.cs)
  • by theme mixin for all panels
  • by theme mixin for all panels with AppearanceKey (myPanel) – need to be set in the designer or at runtime

rounded1

 

 

 

 

 

 

rounded2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Best regards
Frank

 

0 votes

Hi Frank,
I delete obj and bin Folder so i´m allowed to upload the hole Project.
Big Thanks!

  • Luca Windisch answered Jul 11, 2024 - 1:29 pm
  • last active Jul 11, 2024 - 1:30 pm
0 votes

Hi Luca,

please provide us with a full compilable test case (without OBJ/BIN and any license key), not just single files.
With the files you sent we don’t see which theme you’re using etc.

In general you could define a new AppearanceKey for Panels that should use non rounded edges or you could change it globally.
Both is possible through a Theme Mixin.

Best regards
Frank

0 votes

If I want to keep using old extensio where exactly this needs to be updated?

in the extension source code or it is possible to define it in the app using the extension?

I was searching throught app release and I cannot find startup.js.

Thanx,

D

0 votes

Hi Julie,

mh… I understand. As a workaround, I created a transparent panel that every 5 minutes pops up on top of everything. As soon as it receives a mouse event such as mousemove it becomes invisible and resets the counter

0 votes

Unfortunately, this is difficult to do due to CORS restrictions. The only way to do this is to have access to the iFrame code and implement a way to send and receive messages using the postMessage() APIs.

0 votes

You can simply set the Image and ImageSource to null.
this.pictureBox1.Image = null;
this.pictureBox1.ImageSource = null;

See sample.

 

Showing 1 - 20 of 11k results