All Answers

0 votes

Hi Vincent,

Thanks for bringing up this issue. It does seem to be overly sensitive to scrolling. I’ll log it as a bug and let you know what we find!

Regards,

Levie

0 votes

WOW, Levie!

Your sample is great. It will help immensely.

Thank you so much.

0 votes
In reply to: ListView Binding event

You can’t add items to a data bound listview, the same way you cannot add rows to a data bound datagridview. Data bound controls have a data source and data should be added to the data source. You don’t get an exception using AddRange() because there is a missing check in Wisej which we’ll fix in the next build. If VWG allowed adding rows or items to a data bound control it was simply wrong.

In alternative use listView.Fill(data) to create the items (or rows) from a data source and don’t keep the data binding.

  • Luca answered Jun 17, 2021 - 10:02 pm
0 votes

Javascript cannot be unloaded unless the page is reloaded completely. Try to use dev tools (F12) and enabled the exceptions in the browser to break and then attach the stack trace you get in the console.

  • Luca answered Jun 17, 2021 - 9:53 pm
0 votes

Daniel

I confirm that its a issue present even in current version 2.2.52

I report this to the development team.

It is very probable that the fix will be available in next build

thanks again form your report

Regards and happy coding

  • Paul answered Jun 17, 2021 - 7:47 pm
0 votes

Never mind, got it working. It was just that the timing was wrong.
By the way, the coding I was using was right.

1 vote

You can’t disable the browser buttons but you can use use deep linking to handle the back/forward navigation.

https://github.com/iceteagroup/wisej-examples/tree/2.2/DeepLinking

Basically when you set the hash string in becomes a “page” in the navigation history without navigating and when the user presses the browser’s navigation buttons you get the  Application.HashChanged event. This is a common technique for SPA apps.

  • Luca answered Jun 17, 2021 - 6:00 pm
0 votes

Hi Cristian,

If you want to make UI changes in the RunWorkerCompleted handler, you can use Application.Update to run it within the session’s context:

Application.Update(this, () =>
 {
    AlertBox.Show("Completed!");
 });

If you can provide more details or a small sample of what you’re trying to accomplish, I can offer more insight!

Best Regards,

Levie

 

 

0 votes
In reply to: Set Tool Tip Font

The “font” property of the tooltip uses a font from the theme or in this case, a font loaded by the mixin. By default, the Blue-1 theme has four fonts: default, defaultBold, menu, and windowTitle. You can find these in the ThemeBuilder under Fonts.

0 votes
In reply to: Set Tool Tip Font

Hi Ewan,

You should be able to. Add the attached mixin file to /Themes.

Let me know if you have any questions!

Regards,

Levie

0 votes

Hi Levie.

I have a feeling you haven’t added dx.aspnet.data.js to the GitHub repository:

Getting the error in the Console:

qx.js?v=2.2.52.0:86735 GET http://localhost:64780/resource.wx/Wisej.Web.Ext.DevExtreme/Wisej.Web.Ext.DevExtreme.DevExtreme/js/dx.aspnet.data.js?v=637595201744946203 net::ERR_ABORTED 404 (Not Found)

0 votes

by the way
What version of Wisej are you using?
regards

  • Paul answered Jun 16, 2021 - 10:32 pm
0 votes

Here is the dxDataGrid sample demonstrating how to use the Master-Detail view. Please update the DevExpress extension library from GitHub.

The detail grid’s structure is defined in the template within the WidgetFunction.

The detail and master grids are both populated using service URLs (uses widget WebRequest handler) that feeds the data from two JSON files.

The detail grid’s cellClick is attached to the Wisej application and called “childCellClick”. See the format for attaching detail grid events in the WidgetFunction.

The detail grid is saved within the master widget’s context (client-side format: this.id_widgetId_detail_rowNumber, i.e. this.id_3_detail_1).

CustomSave and CustomLoad function initializers are now added too, used like this:

this.dxDataGrid1.Options.stateStoring = new
 {
 customLoad = "myWidgetFunctionName1",
 customSave = "myWidgetFunctionName2"
...
 };

If you have any questions or issues with the sample, please let me know!

 

Best regards,

Levie

0 votes

Hi Levie.

Thank you for the comprehensive answer!
It worked perfectly. Now I can find out whether it is running as PWA or not, and then hide the option to install the PWA when it is running under this mode.

Cheers.

Ivan

0 votes

Hi Hitesh,

can you please check

C:\users\<YourUser>\Documents\Visual Studio 2013\Templates\Project Templates

and see if you have the project templates installed there ?
If you don´t you can download them here (for Wisej 2.0 beta):

http://wisej.s3.amazonaws.com/downloads/Wisej-Templates.zip

If the templates are there, try running devenv /installvstemplates from an elevated VS command prompt.

Hope that helps.

Best regards
Frank

 

  • Frank (ITG) answered Dec 4, 2018 - 10:23 am
  • last active Jun 16, 2021 - 7:03 pm
0 votes
In reply to: WiseJ Templates

Hi Carlos,

You can find the updated link here:

http://wisej.s3.amazonaws.com/downloads/Wisej-Templates.zip

 

Regards,

Levie

0 votes

Hi Levie, thanks for your answer.

It might well be my device, Xiaomi Redmi Note 4, (2017), Android 6.

But let me stress once more: while browsing to the url, it looks correct. (browsing.png)

before using the PWA template, but just a “normal” web application, the Chrome menu gave me the choice to “Add to Home screen” (addToHomeScreen.png), it detected correctly the manifest and added the icon on the home screen and everything was fine, it looked like the browsing.png

After using the PWA template, Chrome shows the “install application” panel at the bottom, and the prompt in the Chrome menu has changed to “Install the Application”. When I do either of the two (install panel or chrome menu), it runs some kind of “installation”, as if this was an apk downloaded from the Google Play Store. It adds the icon on the screen and then, when I open it is all small. (afterInstallationResult.png). The Chrome menu has changed to “Open application” (afterInstallationMenu.png) and when I select that, it goes and “runs” the “installed” application, which has the same (small) result as if I tapped on the application icon.

In fact, I do not need the PWA features, but the prompt to the user to install is much better experience than telling them to open the Chrome menu and select “add to the home screen”.

Hope it’s clear. As I sait it can well be my old device. But the same device respects the viewport setting when an “added to homescreen”, while it does not for an “installed” app. Strange!
Now I’m thinking about it, could it be that the “installed” application is not opened by Chrome but by the default Xiaomi Mi browser?

All the best,

Alex

0 votes

Hi Levie.

Thanks for the explanation.

Cheers.

Ivan

0 votes

Hi Ivan,

 

Your observation is correct, you can’t use the member accessor to create and assign a value to an anonymously-created property.

The reason it works for the dxCircularGauge is because the value and existing member hierarchy has been defined in the “Options” property.

 

Either way is fine to create and assign the values to the dx widget configuration, just depends on your application needs!

 

Also note, if you change a multi-level value, you need to call widget.Update() to push the updated configuration changes to the client.

 

HTH,

Levie

0 votes

Hi Daniel

Thanks a lot for  your detail explanation and the sample code 🙂

We will check this and comment you in short

Regards

  • Paul answered Jun 16, 2021 - 4:57 pm
Showing 3601 - 3620 of 11k results