All Answers

0 votes
In reply to: Large pages

There is one small issue left: A large page seems to be automatically scrolled to the bottom of it at first load.
Can this be prevented or scrolled back to the top of the page by code ?

  • Tobias answered Aug 8, 2018 - 2:05 pm
0 votes

You are calling scrollTo on the wrong element. The window is the entire browser window. And document.body.scrollHeight is the height of the document body.

Please contact us directly at support@wisej.com.

 

  • Luca answered Aug 8, 2018 - 12:39 pm
0 votes
In reply to: Large pages

Scrollbars and the other properties work at design time too. You can place controls anywhere outside of the page and get the scrollbars.

  • Luca answered Aug 7, 2018 - 10:40 pm
0 votes
In reply to: DrawToBitmap

Wisej controls are HTML widgets. There is no drawing to bitmap supported by any browser.

You can try the Html2Canvas extension. It lets you “capture” an image rendering of a specific control or of the entire page. It also works with async code.

  • Luca answered Aug 7, 2018 - 10:38 pm
0 votes
In reply to: Large pages

Thank you very much for your answer Luca. Setting AutoScroll to True does what I need.
The only open question is how pages with a large height can be designed in the VisualStudio designer at best ?
I can find no possibility to get scrollbars displayed to scroll down or set the height for a page…

  • Tobias answered Aug 7, 2018 - 9:50 pm
0 votes
In reply to: Large pages

Wisej.Web.Page fills the browser. The content can be much larger. Set AutoScroll to true. You can also use AutoScrollMargin to create a blank bottom, right area when scrolling, it basically increases the “clearance”. And AutoScrollMinSize, which sets the minimum size of the content that triggers the scrollbars. There is also the ScrollBars property that lets you suppress either scrollbar.

The same properties are available for Panel, Forms, TabPage, UserControl, basically most containers can scroll or crop their internal content.

  • Luca answered Aug 7, 2018 - 6:30 pm
0 votes

Hi Andrew,

Please have a look at Wisej-Extensions repository at GitHub and check whether the updated source code for GoogleMaps extension solves the issue you reported.

0 votes

Hi Neil,

Feel free to fork Wisej-Extension repository at GitHub and submit a PR.

0 votes

Have you had much luck with your service worker? Tested it out much?

I tried using a service worker with my WiseJ progressive web app, but it resulted in all of the files being cached permanently. Even when I would rebuild and publish to server, clear browser cache, etc, it will still show up as old versions of the file.  When not configured fully and properly, SW can be very problematic if you end up caching a resource that you then update. And your clients will be stuck on the old version until they unregister the faulty SW.

regards,

Andrew

 

0 votes

Hi Mark,

Can you attach a sample?

0 votes
In reply to: Progressive Web App

Eccellent! I just do a test

0 votes
In reply to: DataSourceUpdateMode

Hi Alex,

In one case the data source property is updated when the bound property changes, in this case Text. Otherwise, it updates it when the control fires the Validated event. For the TextBox, the Text property changes when there is an event sent to the server (any event). The KeyPress, KeyDown, etc. events are not sent unless your code subscribes to one of the events. See lazy events: https://wisej.com/docs/html/Events.htm

HTH

  • Luca answered Aug 6, 2018 - 4:56 pm
1 vote
In reply to: Progressive Web App

No problem, but you will allow users to download your json config file. Which is generally completely harmless unless you used the settings property to store sensitive info.

  • Luca answered Aug 6, 2018 - 4:53 pm
0 votes

Hi wzhou,

I can not reproduce. The Text property always show dark. What shows in gray is the Watermark. That’s the usual way of showing watermarks.

0 votes

Hi Frank,

I tried disabling the “Edit and Continue” feature (on the debuggers tab of the main project properties) but this didn’t seem to do anything.

As a better work-around, I’ve taken and modified the code here:

https://stackoverflow.com/questions/4772092/starting-and-stopping-iis-express-programmatically

I’ve made a little .exe that closes the tray icon correctly by sending a WM_QUIT to that process and then kills the IISExpress worker process.

This works fine, and I no longer get an accumulation of ‘dead’ IIS tray icons either.

Probably do for now!

Regards,
Mark

  • Mark McCormack answered Jul 31, 2018 - 3:41 pm
  • last active Aug 6, 2018 - 2:37 pm
0 votes

I do a test with the responsive sample and PWA standard! Very good!!! Now don’t need to create native app 😀

Test pwa link https://www.eprime.it/pwa

Thanks

Regards

Cristian

0 votes
In reply to: Theme mixin

Hi Guadalupe,

In our Wisej-Examples GitHub repository there is an example ComponentMixin that intends to show how to use mixins with custom appearance names for Component. For now it covers just the TreeNode case.

HTH

0 votes

Hi Nic,

Thanks for your collaboration. I’ll have a look at the proposed changes.

0 votes
In reply to: Geo Location

Yes, the error message is in position.ErrorMessage and the status is in position.Status.

  • Luca answered Aug 3, 2018 - 3:34 pm
0 votes

Hi Tiago,

Wisej-1.5.4.exe Release Notes 1.5.4 18.4 MiB Jul 13, 2018

Regards,
Mark

  • Mark McCormack answered Aug 3, 2018 - 9:53 am
Showing 6961 - 6980 of 11k results