All Answers

0 votes

Hi, the code works, thanks, but i have anothers questions.
To test the geolocation i must use a https server only? Or i can test it in localhost on my machine?
And how i put the timeout on the function to make it quicker?

Thanks

0 votes

Hi Takao,

I have tried to reproduce the problem but I get no error.
Can you please tell a few more details ?
In which browser and on which action does the error occur ?

Thanks in advance.

Best regards
Frank

0 votes

Try creating an instance and calling async on it:

Dim g As Wisej.Ext.Geolocation.Geolocation
 Dim Position = Await g.GetCurrentPositionAsync()

Hope that helps.

Best regards
Frank

 

0 votes
In reply to: Html Svg Map

Hi,

it should read

var form = App.Desktop;

(not MyDesktop).

And you need to declare the WebMethod in Desktop.cs like you did in Window.cs

Then your sample works fine for me.

Best regards
Frank

0 votes

Hi Eric,

Thanks for reporting!

This issue is fixed and logged as #1881 (https://www.wisej.com/issues/).  The fix will be available in the next release!

Best regards,

Levie

0 votes

Luca,

The Closed event is too late. The user popup is already closed.

Furthermore Userpopup.Closed parameter e is of simple type EventArgs, so there is no chance to set e.Cancel = true, like usualy done when using closing.

What I would like to achieve is to prohibit closing/hiding of the userpopup if a save button inside the popup has not been executed when changes are pending.

Otherwise, if you accidentaly click away and have the popup to hide, you loose the changes.

If I set autohide to false, I loose the possibility for the user to (most of the time) click away of the popup (because of no changes), which would be annoying.

I checked and tried other events, but it seems to me that the feature is missing.

Best regards.

0 votes

Did you try the UserPopup.Closed event?

You can also do popup.ShowPopup(…, (p) => {  // closed code… });

or (not sure if already released)

await popup.ShowPopupAsync();

// code runs after the popup is closed.

 

  • Luca answered May 20, 2019 - 3:58 pm
  • last active May 20, 2019 - 3:58 pm
0 votes

Hi all,

For those in need for vertical writing, I’m sharing here how I implemented it :

Add a StyleSheet component to the form.

In the StyleSheet “styles” property add this code :

.rotated270 { writing-mode: tb-rl; transform: rotate(-180deg); }

Add i.e a Label, set it’s “AutoSize” property to “false

Due to the Stylesheet component, now you have a property attached to the label “CssClass”, let’s type the name of the style we defined “rotated270“.

For some controls, as soon as you start resizing it in the designer, the designer will show you the control with the vertical text.

For others like a textbox, it isn’t the case, but at least you can visually place your component.

Sometimes you have to play with the property “TextAlign” to get the wanted result.

Some other components like Listview and combobox need the addition of a”rotation” component instead of the “stylesheet” component.

In that case you define the angle into : rotation -> RotateZ=-90

I prefer to use as much as possible the stylesheet, because when you start using the rotate component, exact positioning becomes really tricky. At time of writing, it doesn’t support docking, and you have to try and fail the transform using the “origin” property, i.e “0% 100%” …

So, the bottom line is : not the perfect world, but at least you can achieve decent designs.

Regards.

  • Eric Mathay answered May 16, 2019 - 8:14 am
  • last active May 20, 2019 - 7:06 am
0 votes

Hi,

Have you tried adding a reference to Wise.Framework.Design in your project? If this doesn’t solve your issue could you please attach a sample?

Best,

Levie

0 votes
In reply to: Bug in Scroll Bar from

Hi Angelo,

Thanks for reporting!

This issue has been logged as #1880 (https://wisej.com/issues/). A fix will be available in the next release!

Best regards,

Levie

0 votes
In reply to: View design err

The app you linked was designed by a professional graphic designer and implemented in Wisej in a very large application (more than 120 applications merged into one solution with hundreds of screens – something usually impossible with HTML systems). We also offer graphic design services.

  • Luca answered May 19, 2019 - 8:38 pm
0 votes

Thank you,

Is there a way that i receive a notification when something is made on the issue?

0 votes

Oh i see,

It’s fine for me, but the old paging was some how handy, if you see it’s something interesting to add to the control, make it a feature request 🙂

Jorge

0 votes

Hi Luca,

Thank you, I’d like to define this by me and not use the default server locale.

Meanwhile, how could I define my own regional settings?

0 votes

We don’t need the old paging. The datagrid control in Wisej uses virtual scrolling and an advanced cache system to render only the visible rows.

  • Luca answered May 19, 2019 - 8:08 pm
0 votes

It’s set automatically by the locale like in WinForms. I’ll add a feature request issue.

  • Luca answered May 19, 2019 - 8:07 pm
0 votes

The iFramePanel control (and widget on the client) is a DIV element that contains an <iframe> element. It’s not the content of the iframe element, which is another document and window domain. Wisej exposes the getWindow() and getDocument() client side methods to retrieve the iframe’s window and document.

You’d have to call the javascript functions using this.getWindow() as the target.

Also, if you use iFramePanel1.Eval) the target is already iFramePanel1. It should be iFramePanel1.Eval(“this.getWindow().multiply(2, 3)”); Assuming that the iframe loads a document with a javascript function “multiply”.

If you want to use Call() instead on the iFramePanel1 control, you need to assign wrapper javascript functions to iFramePanel1. See the JavaScript component. Then you can do this in js (where “this” is iFramePanel1):

this.multiply = function(x, y) {

return this.getWindow().multiply(x,y);

}

And in C#

iFramePanel1.Call (“multiply”, 2, 3, (result) => { … });

or

int result = await iFramePanel1.CallAsync(“multiply”, 2, 3);

 

 

 

 

  • Luca answered May 19, 2019 - 7:31 pm
0 votes
In reply to: View design err

Hi Levie

I just use Wisej framework.

How to design app like that?

0 votes

Hi,

Any update on this? I have already attached a video showing the issue.

 

Thanks.

0 votes
In reply to: View design err

Hi,

This is a known issue with Wisej 2.0.24 when creating new projects.

Please try this solution:

  1. Remove and readd references to Wisej.Framework and Wisej.Framework.Design (add it if it’s not there from “C:\Program Files\IceTeaGroup\Wisej 2\bin”)
  2. Rebuild your solution
  3. Completely close and reopen Visual Studio

Let me know if this works for you.

Sorry for the inconvenience.

Best regards,

Levie

Showing 5941 - 5960 of 11k results