All Answers

0 votes

Hello,
You’ll need to use a Widget Function, not a Widget Event.
See https://docs.wisej.com/extensions/premium-extensions/overview#methods for documentation on WidgetFunctions.

Your WidgetFunction should have the following javascript code:

widgetFunction.Source = @"
if(e.area === ""data"") {
// Drill-down: Fetch and show data related to the clicked cell
var drillDownDataSource = e.component.getDataSource().createDrillDownDataSource(e.cell);
$("".dx-datagrid"").dxDataGrid({
dataSource: drillDownDataSource,
columns: e.component.getDataSource().fields()
});
alert('hello');
}
";

See attached C# sample for the full implementation.

0 votes

Hey Carl,

Can you please attach a small runnable sample project that demonstrates what you’ve mentioned?

Thanks,
Levie

0 votes
In reply to: Icon Pack Images

This is possible and in fact you can see an example of this in the demobrowser here: https://wisej-demobrowser.azurewebsites.net/#Icon%20Packs/Bootstrap/Features

The source code for the entire demobrowser is here: https://github.com/iceteagroup/wisej-demobrowser

The source code for displaying the icons in the demobrowser is here: https://github.com/iceteagroup/wisej-demobrowser/blob/main/Demos/IconPacks/Wisej.DemoBrowser.BootstrapIcons/Features.cs

0 votes

In addition to Julie’s answer, here’s a very simple example showing how to create a similar layout in Wisej.NET.

Best,
Levie

0 votes

It’s possible to integrate the controls you mentioned, using the Widget control. Here’s an example of integrating jQWidgets: https://wisej.com/blog/all-about-integration-part-4/
However, getting the controls to contain Wisej controls is difficult, as they were not designed to do that. It’s possible with a lot of work, and if you want use to look into it, contact sales@wisej.com and we can give you a quote.

A better alternative would be to use the built in anchoring and docking that exists in Wisej.
Anchoring and Docking: https://docs.wisej.com/docs/concepts/layouts
Drag and Drop: https://docs.wisej.com/docs/controls/general/drag-and-drop-1

0 votes
Thanks, with example I could understand how it works
0 votes

You can add an event handler via the designer- the code will be auto-generated. Simply look at the form in the properties window, click on the lightning bolt to see events, and double-click on the “KeyPress” event.

Your code AddHandler Me.KeyPress, AddressOf Me.FGEN_LOGIN_KeyPress also works to attach to the KeyPress event.

See attached sample.

  • Julie(ITG) answered Jul 24, 2024 - 3:19 pm
  • last active Jul 24, 2024 - 3:23 pm
0 votes

Thanks for providing a sample. I was able to reproduce the issue and we are looking into this.

-Julie

0 votes

A div is an html element. A Control or Panel is a Wisej.NET class- that always “resolves” to a div.

Resolving to a div doesn’t have anything to do with responsive layouts. With plain html it’s achieved through breaks in css (bootstrap).

With Wisej.NET we have responsive properties, flow layout, flex layout, table layout, anchoring, docking, client profiles, etc.

See documentation and samples and case studies to see what is possible. We also provide training, see services page.

 

  • Luca answered Jul 24, 2024 - 8:12 am
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.

 

  • Luca answered Jul 17, 2024 - 2:53 pm
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.

  • Luca answered Jul 16, 2024 - 1:27 pm
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
Showing 681 - 700 of 11k results